NEARFIELD·TOOLS

PCB impedance calculator

The trace width for 50 Ω, or a 90 or 100 Ω pair, from a real field solution of your cross-section run in this page, with the copper thickness and the solder mask in the model. It also gives the worst case your fabricator's tolerances allow and shows how far the usual IPC-2141 formula would have put you off.

Trace

Stack-up

Tolerances

—
impedance
—
trace width
—
worst-case range
—
effective dielectric constant
—
delay
—
capacitance, inductance
equal potential, every 10 % copper mask
If this changesImpedanceShift

How this is calculated

A signal on a PCB trace travels as a wave whose electric and magnetic fields lie almost entirely across the line, so in the cross-section the field has the same shape as a static one. That means the potential obeys Laplace's equation, and the page solves it directly over your cross-section: the trace held at 1 V, the planes at 0, each region of copper, laminate, mask and air where you put it. The energy stored in the field gives the capacitance per metre. Solving a second time with every dielectric removed gives C0, and those two numbers give everything else:

Z0 = 1 / (c·√(C·C0)),   εeff = C / C0,   delay = √εeff / c,   L = 1 / (c²·C0)

The solve uses finite elements on a grid that is very fine at every copper edge, where the field is concentrated, and coarse far away. It runs on two grids and extrapolates, in your browser, in under half a second for a single trace and about a second for a pair; nothing is sent anywhere. This is the same kind of calculation as the commercial field solvers fabricators use, in a simpler geometry. Against the exact conformal-mapping results for thin stripline and stripline pairs, and the Hammerstad-Jensen microstrip equations, it agrees to better than 0.25 %, about 0.1 Ω at 50 Ω.

A differential pair has two modes. Drive the traces in opposite directions and the field between them gives the odd-mode impedance; drive them together and you get the even mode. The page solves half the pair with the plane of symmetry held at 0 V for the odd mode and left free for the even one. Differential impedance is 2·Zodd, and common-mode impedance is Zeven/2.

Why not the IPC-2141 formula?

Most online impedance calculators use the same curve fit:

Z0 = 87 / √(εr + 1.41) · ln(5.98·h / (0.8·w + t))

It is decent where it was fitted and poor elsewhere. For a bare 1 oz microstrip over 0.2 mm of εr 4.3 it reads 1.3 % low when the trace is as wide as the dielectric is thick, 6.0 % low at twice that, and 16.3 % low at three times, reading 30.7 Ω for a trace that is really 36.6 Ω. The stripline version does the same: 3.1 % low when the width is half the dielectric between the planes, and 16.2 % low when they are equal.

The usual factor for a pair, 2·Z0·(1 − 0.48·e−0.96·s/h), adds its own error on top. It happens to land within 0.1 % for 0.2 mm traces with a 0.1 mm gap on this stack-up and is 5.8 % low for 0.3 mm traces with a 0.15 mm gap. None of these formulas knows about solder mask.

What the solder mask does

Solder mask puts dielectric where the field is strongest, right at the edges of the trace, so it lowers the impedance more than its thickness suggests. With the defaults, 20 µm of mask takes a 0.34 mm microstrip from 51.6 to 50.0 Ω. A pair loses much more, because the odd-mode field crowds into the gap: 0.22 mm traces with a 0.2 mm gap fall from 105.7 to 100.1 Ω, and 0.15 mm traces with a 0.1 mm gap from 102.3 to 93.4 Ω. Design a pair without the mask and it comes back low.

The default mask, 20 µm with εr 3.5, is an assumption. Rogers quotes roughly 3.3 to 3.8 for typical liquid photoimageable masks, and the thickness varies by process, so use your fabricator's figures if they give them. The model wraps the mask evenly around the copper. On a real board it runs thinner over the trace's corners and pools deeper in narrow gaps, which is one more reason a pair's result is less certain than a single trace's.

Which tolerance matters?

The width you draw is not the width you get. Etching changes it, the pressed dielectric thickness moves, and the dielectric constant varies with the glass weave and resin content. The worst-case range takes all three at their limits together, and the table shows each one alone. The defaults are ±0.025 mm (1 mil), ±10 % and ±5 %: starting points, not a fabricator's numbers. With them, the default 50 Ω microstrip can land anywhere from 44.3 to 56.1 Ω, and the dielectric height matters most. Use a narrower trace on a thinner dielectric and the width takes over: on a pair it usually does.

Fabricators commonly offer impedance control to ±10 %. They reach it by adjusting your trace width to suit their own material and press-out, and by measuring test coupons on the panel. If the impedance matters, say so on the fabrication drawing: give the target, the layer and the reference planes, and let them make the final adjustment. This page gets the layout close enough that their change is small.

Copper thickness counts too. Outer layers are plated up during manufacture, so 1 oz foil often finishes thicker than 35 µm. With the defaults, 50 µm of copper instead of 35 µm takes the line from 50.0 to 49.3 Ω.

Getting the stack-up numbers

Use the stack-up from your fabricator. Dielectric to the plane is the pressed thickness between the trace and its reference plane, not the board thickness (unless it is a two-layer board). Prepreg thins when pressed, so its finished value is below its nominal one, and on inner layers the core and prepreg either side of a trace may differ. This page takes one dielectric constant; if they differ, use a figure between them.

A value of about 4.3 is a common working figure for FR-4 near 1 GHz, but the dielectric constant depends on the resin content and falls as the frequency rises, so laminate datasheets list it by frequency and by glass style. Take the figure for your frequency if you have one.

Microstrip, stripline or coplanar?

Microstrip runs on an outer layer over a plane. Part of its field is in air, so it is faster and wider: with the default 0.2 mm dielectric, 50 Ω is 0.340 mm and 6.06 ps/mm.

Stripline runs between two planes, so the field stays entirely in the dielectric and εeff equals εr. With 0.2 mm each side it needs only 0.143 mm for 50 Ω and takes 6.92 ps/mm. It is shielded, at the cost of narrow traces and vias to reach it.

Coplanar with ground adds ground copper on the same layer, with the plane still below. It is the usual answer on a two-layer board: over 1.5 mm of FR-4 a 50 Ω microstrip is 2.852 mm wide, wider than most component pads, while with 0.25 mm gaps to the side grounds it is 1.178 mm. The page assumes the side grounds are wide and at the same potential as the plane, so stitch them to it with plenty of vias.

What this page leaves out

It is a static solution, which holds well into the gigahertz on normal board thicknesses. Microstrip does become slightly slower as frequency rises, because more of its field moves into the dielectric: Getsinger's dispersion model puts the rise in εeff at about 0.3 % at 10 GHz for the default line. Above that, on thick boards, or for filters and antennas, use a full-wave tool.

Loss is not calculated: skin effect, copper roughness and the laminate's dissipation factor need separate treatment. The copper is a rectangle. A real etched trace is a trapezoid, narrower on top; the rectangle to enter is not its average, because the field gathers on the side facing the plane. A microstrip 0.38 mm wide at the laminate and 0.30 mm on top behaves like a 0.365 mm rectangle, so enter a width nearer the bottom face. The page also assumes a solid, unbroken reference plane. A split in the plane under a trace breaks the return path, and no impedance figure survives that.

FAQ

What trace width gives 50 Ω?

It depends on the dielectric far more than anything else. With εr 4.3, 1 oz copper and the default mask: 0.154 mm over 0.1 mm of dielectric, 0.340 mm over 0.2 mm, and 2.852 mm over 1.5 mm. As a rough guide, on FR-4 the trace comes out 1.5 to 2 times as wide as the dielectric is thick.

What width for a 90 Ω USB or 100 Ω Ethernet pair?

Over 0.2 mm of εr 4.3 with a 0.15 mm gap, 1 oz copper and mask: 0.242 mm for 90 Ω, as USB uses; 0.181 mm for 100 Ω, as Ethernet and most LVDS links use; and 0.280 mm for the 85 Ω used on many PCI Express designs. Pick a gap your fabricator holds comfortably, then let the page find the width.

When does a trace need controlled impedance?

When its delay is a significant part of the signal's rise time, because reflections then arrive while the edge is still changing. A common rule of thumb is a delay of more than about a sixth of the rise time. At 6 ps/mm, a 1 ns edge reaches that at about 27 mm and a 100 ps edge at under 3 mm. Rise time decides this, not the clock rate, and a slow clock from a fast driver still has fast edges.

Is impedance the same thing as trace width for current?

No, they are separate limits. Impedance is set by the shape of the cross-section; the width a trace needs to carry current without overheating depends on copper area and temperature rise. The PCB trace width calculator covers that. For a filter on the line itself, the LC resonance calculator and the RC filter calculator give the component values.