Tools

PCB impedance calculator

A trace’s impedance is set by its width, the thickness of the dielectric between it and its reference plane, and that dielectric’s constant (εr). On a typical four-layer board, with 0.2 mm of FR-4 (εr 4.3) under 1 oz copper, a 50 Ω microstrip is about 0.36 mm (14 mil) wide.

Find the impedance of a microstrip, stripline, grounded coplanar line or differential pair, or the width or pair spacing for a target impedance, with the propagation delay and the range the board house’s tolerances give. Every model here is checked against a 2D field solver: the notes below say how closely, and over what range.

The cross-section

Cross-section of the selected transmission lineA trace of width w and copper thickness t on a dielectric of thickness h and dielectric constant εr, over a ground plane.whtεrGround planewh₁h₂tεrGround planes above and belowwghtεrGround beside the trace, stitched to the plane below with viaswsthεrGround planewsth₁h₂εrGround planes above and below

The impedance depends on ratios: the width and the copper thickness to the dielectric thickness and, for pairs and coplanar lines, the gap to the dielectric thickness too. Scale every dimension of a cross-section by the same factor and its impedance does not change. The dielectric constant εr then sets how much lower than in air the impedance is, and how slowly the signal travels.

Calculate

Trace

Ω
mm
mm
mm

Dielectric

mm
mm

µm
GHz

Tolerances

mm
%

Over-etching narrows a trace and widens the gaps beside it by the same amount, so the calculator moves both together. Ask the board house for its own figures; ±0.025 mm (1 mil) on the width, ±10% on the dielectric thickness and ±0.2 on εr are reasonable starting points.

Result

Width

–

Delay

–

With the tolerances

The impedance at the ends of each tolerance
ToleranceImpedance

A worked example

A 50 Ω microstrip on the outer layer of a four-layer board, over 0.2 mm of FR-4 with εr 4.3, in 1 oz copper: the calculator gives a width of 0.36 mm, 1.8 times the dielectric thickness. Part of its field is in the air above, so the signal sees an effective εr of 3.12 and travels at 5.9 ps per mm (150 ps per inch), about 57% of the speed of light. With the starting tolerances, ±0.025 mm (1 mil) on the width moves it between 48.1 and 52.1 Ω, ±10% on the dielectric between 46.9 and 52.9 Ω, and ±0.2 on εr between 49.0 and 51.0 Ω; all at their limits, 44.2 to 56.1 Ω. The dielectric thickness matters most, so a width worked out from a stackup the board house has not confirmed is a first estimate.

The same 50 Ω on an inner layer, a stripline with 0.2 mm above and below, needs only 0.14 mm: with planes on both sides, the trace couples to ground more strongly. A 100 Ω differential pair on the outer layer, 0.2 mm apart, takes two 0.25 mm traces.

How the calculator works

Each line is worked out with published closed-form models, the quasi-static kind the common PCB calculators use: Hammerstad and Jensen for microstrip, Wheeler for stripline, conformal mapping for grounded coplanar lines, Kirschning and Jansen for differential microstrip pairs, and Cohn for differential stripline pairs, each with a correction for the copper thickness. An offset stripline, with more dielectric on one side than the other, is treated as the two symmetric striplines its two layers would make.

Every model was checked against a two-dimensional field solver written for this page, which solves the electrostatic field around the conductors directly and shares no formulas with the calculator, on about 280 board geometries. The calculator is within 1% of it for microstrip and stripline, and within 3% for grounded coplanar lines and the differential impedance of pairs (the common-mode impedance within 4%, and the delay of a pair within 3%). On their own, the offset-stripline and grounded-coplanar models drift from the solver by up to about 5%, so each carries a small correction, its constants chosen on half of an earlier run of the solver and checked against the rest. The solver, its results and the checks are published with the calculator code on GitHub.

How far to trust the result

The models give copper with straight sides, at frequencies where the line behaves as a simple transmission line. Real boards differ in a few ways:

For a controlled-impedance board, send the board house the target impedance for each layer and let it adjust the widths to its stackup; it checks the result on test coupons. Use the calculator to plan the stackup and the widths, and to see how much room the tolerances leave.

The range checked

The field-solver check covered dielectric constants from 2.2 to 10.2 and copper up to half the dielectric thickness, with widths from 0.2 to 8 times the dielectric thickness for microstrip (0.2 to 4 for a pair, spaced 0.2 to 5 times apart), and for grounded coplanar lines widths of 0.3 to 5 times the dielectric thickness with gaps of 0.05 to 2 times and copper up to three quarters as thick as the gap is wide. For stripline, widths ran from 0.1 to 3 times the plane-to-plane spacing (0.1 to 1.5 for a pair, spaced 0.1 to 3 times apart), with up to 5 times as much dielectric on one side as on the other (4 for a pair). Outside that range the calculator still answers but flags the result.

Common questions

How wide is a 50 Ω trace?

It depends most on the dielectric under it. On a four-layer board with 0.2 mm of FR-4 (εr 4.3) between the outer layer and the plane below, a 50 Ω microstrip in 1 oz copper is about 0.36 mm (14 mil). On a 1.6 mm two-layer board it is about 3.1 mm, wider than most RF parts’ pads, which is why two-layer RF boards often use grounded coplanar lines instead: with 0.2 mm gaps to the ground beside it, about 1.1 mm gives 50 Ω.

What is the difference between differential and odd-mode impedance?

A pair driven differentially, one trace rising as the other falls, runs in its odd mode. The odd-mode impedance is what each trace sees; the differential impedance, the figure USB or Ethernet specifies, is twice it, so 100 Ω differential means 50 Ω odd mode. Coupling between the traces lowers each one’s impedance below what it would be alone, so the traces of a 100 Ω pair are usually narrower than a single 50 Ω trace on the same layer.

Does solder mask change the impedance?

Yes, it lowers it, because it puts more dielectric in the field above the traces. In the field solver used to check this calculator, 10 to 20 µm of mask (εr 3.5) took about 1 to 1.5 Ω off a 50 Ω microstrip, and about 3.5 to 6 Ω off a closely spaced pair near 100 Ω, where it also lines the gap between the traces; mask that fills the gap completely took about 9 Ω off. Turn on solder mask in the calculator to include it, as an estimate; stripline, buried in the board, is not affected.

Why did my board house change my trace widths?

To hit the impedance on its own materials. The width that gives 50 Ω depends on the board house’s prepreg and core thicknesses, resin content and etching, so a board house offering impedance control adjusts the widths, usually slightly, and checks the result on test coupons. Give it the target impedance and the layers, not only a width.

Want a second look at your stackup and layout?

If you have a stackup or a layout heading toward a board order and want a second set of eyes, get in touch.

Based in southern Indiana. Working with clients anywhere, including companies across the Midwest.