Skip to content
Simurq Labs

Learn

PCB impedance calculator

By Semih Özbir, Electrical and Electronics Engineer

Published · Last reviewed

In this guide · 9

A trace's impedance follows from its width, its height over the plane, εr and its copper: a 0.35 mm trace 0.2 mm over its plane on FR-4, εr 4.3, with 1 oz copper comes to about 50.7 Ω by Hammerstad and Jensen's microstrip formulas. A fab's field solver, with its own materials, has the final word.

Find
Structure
Traces
Lengths in
mm
mm
Characteristic impedance50.7 Ω
Effective permittivity3.116Delay5.89 ps/mm (149.6 ps/in)

Hammerstad and Jensen's formulas with their thickness correction, as the Qucs manual gives them: εeff within 0.2 % for W/h from 0.01 to 100 and εr below 128.

Characteristic impedance: 50.7 Ω

This PCB impedance calculator takes a trace's width W, its copper's thickness t, the dielectric's height h above the plane or a stripline's plane spacing b, the dielectric's relative permittivity εr and, for a pair, the spacing s between the traces: the lengths in millimetres or mils, the copper in ounces, µm or mils. It returns a single trace's characteristic impedance Z0 and effective permittivity εeff, or a pair's odd-mode, even-mode and differential impedances, and the time a signal takes to travel a millimetre and an inch. Give it a target impedance in place of the width, and it finds the width.

Microstrip, stripline and pairs

A microstrip is a trace on an outer layer, with a plane under it and air above it. A stripline is buried halfway between two planes. Two traces side by side make an edge-coupled pair of either kind.

Four cross-sections: a microstrip, a trace of width W and thickness t on a dielectric of height h and permittivity εr over a plane; a stripline, the trace centred between two planes b apart; and each as an edge-coupled pair, two traces a spacing s apart.

A microstrip, a stripline and their edge-coupled pairs in cross-section, their dimensions named as in Texas Instruments' AN-905 and the Qucs technical manual.

Part of a microstrip's field runs through the air, so its εeff lies between 1 and εr, and a signal on it travels faster than one inside the board, as TI's TUSB73x0 layout guide notes of outer layers. A stripline's field is all in the dielectric, so its εeff is εr.

Hammerstad and Jensen's formulas for microstrip

The Qucs technical manual gives the formulas E. Hammerstad and Ø. Jensen published in 1980. With u = W/h, the strip's impedance in air and its effective permittivity are:

Z_L1 = (Z_F0 / 2π) × ln(f / u + √(1 + (2 / u)²)), where f = 6 + (2π − 6) × e^(−(30.666 / u)^0.7528)

εeff = (εr + 1) / 2 + (εr − 1) / 2 × (1 + 10 / u)^(−a × b), and then Z0 = Z_L1 / √εeff

  • Z_F0 is the impedance of free space, 376.73 Ω.
  • a is a fitted function of u, and b of εr (the manual's equations 11.16 and 11.17).
  • The copper's thickness makes the strip act wider: by ΔW1 in air and by a smaller ΔWr in the dielectric (equations 11.22 to 11.25).

The manual states the impedance as better than 0.01 % for W/h up to 1 and 0.03 % up to 1,000, and εeff as better than 0.2 % for εr below 128 and W/h from 0.01 to 100. Michael Steer's open textbook works them through for a 600 µm strip of no thickness on 635 µm of εr 4.1: εeff 2.967 and 75.3 Ω, and the calculator's formulas give the same.

A worked example: 50 Ω on 0.2 mm of FR-4

Take a 0.35 mm trace of 1 oz copper, 0.035 mm thick, 0.2 mm above its plane, on εr 4.3, the figure TI's AN-905 lists for generic FR-4:

  1. Normalise: u = 0.35 / 0.2 = 1.75 and t / h = 0.175.
  2. In the dielectric the thickness widens the strip by ΔWr = 0.0304 mm, so ur = 0.3804 / 0.2 = 1.902.
  3. In air: Z_L1 = 59.96 × ln(6.000 / 1.902 + √(1 + (2 / 1.902)²)) = 91.58 Ω.
  4. With a = 0.9994 and b = 0.5416: εeff = 2.65 + 1.65 × 6.258^(−0.5413) = 3.261.
  5. Z0 = 91.58 / √3.261 = 50.7 Ω.
  6. The thickness's correction to εeff, through ΔW1, brings it to 3.116, so a signal takes √3.116 / 0.2998 = 5.89 ps a millimetre.

A 0.3 mm trace comes to 55.1 Ω and a 0.4 mm one to 47.0 Ω. On a two-layer board 1.6 mm thick, a trace 3.0 mm wide gives 50.7 Ω: four layers bring the plane closer.

Stripline: Cohn's results

Steer's textbook gives a stripline's impedance after S. B. Cohn, and I. Bahl and R. Garg, for a strip centred between planes b apart:

Z0 = (30π / √εr) × (1 − t / b) / (Weff / b + Cf)

  • Weff is W, less b × (0.35 − W / b)² / (1 + 12 t / b) for a trace narrower than 0.35b.
  • Cf counts the field at the strip's edges: 0.441 for a strip of no thickness, more as t/b grows.

Steer gives them as better than 1 % for W/(b − t) above 0.05 and t/b below 0.025. With 1 oz copper that asks for planes at least 1.4 mm apart; nearer planes fall outside the stated range, and the calculator says so. A 0.2 mm trace of 1 oz copper between planes 0.5 mm apart comes to 46.6 Ω. Its εeff is εr, so in εr 4.3 a signal takes √4.3 / 0.2998 = 6.92 ps a millimetre.

What is differential impedance?

Drive a pair with opposite voltages and each trace sees its odd-mode impedance, Zodd. Drive both alike and each sees its even-mode impedance, Zeven. A differential signal, between the traces, sees twice the odd mode: Zdiff = 2 × Zodd, as Polar Instruments' paper and Steer give it. Far apart, both modes approach a single trace's Z0; brought closer, they split. On the example board a 0.25 mm trace alone is 60.4 Ω; two of them 0.2 mm apart make 100.4 Ω, not 120.7, though their copper lies outside the coupled model's stated range (below).

  • Edge-coupled microstrip. The calculator uses M. Kirschning and R. H. Jansen's model as the Qucs manual gives it, its static impedances better than 0.6 % for W/h and s/h from 0.1 to 10 and εr from 1 to 18, for strips of no thickness. Jansen's correction for real copper widens each mode's strip, and the manual states it for copper thinner than W/2 and h/4π, with a gap much wider than 2t. The example pair comes to Zodd 50.2 Ω, Zeven 67.5 Ω and Zdiff 100.4 Ω, but 1 oz is more than h/4π, 0.016 mm, so the calculator marks it out of range.
  • Edge-coupled stripline. For strips of no thickness Cohn's formulas are exact, and Rogers' design note gives them. The copper's thickness lowers the impedance, Polar notes, and these open sources give no correction for a pair. So the calculator uses AN-905's approximation, Zdiff ≈ 2 × Z0 × (1 − 0.374 × e^(−2.9 s / b)), with AN-905's stripline Z0, which counts the thickness. AN-905 cites possible errors of up to ±10 %, and the form gives no even mode. Two 0.15 mm traces 0.15 mm apart between planes 0.5 mm apart come to 104.0 Ω by Cohn with no thickness, and 88.5 Ω by AN-905 with 1 oz.

Why do impedance calculators disagree?

  • Quick formulas. Polar compares IPC-2141's microstrip formula, Z0 = 87 / √(εr + 1.41) × ln(5.98 h / (0.8 W + t)), with its field solution for 1 oz copper on 0.794 mm of εr 4.2: 2.3 % low for a 1.5 mm trace and 30 % low for a 3.3 mm one, where Wadell's longer equation stays within 0.7 %. AN-905's microstrip form gives the worked example 48.5 Ω, 4 % under Hammerstad and Jensen, and the pair 96.7 Ω. AN-905 says its forms come from empirical data.
  • Frequency. These are static values. The Qucs manual notes that a microstrip's εeff rises with frequency, and that dispersion changes its impedance in a similar way. KiCad's TransLine tool uses frequency-dependent models, so it disagrees with static ones at high enough frequencies.
  • Field solvers. Polar had over 1,500 test tracks made at three UK fabs and measured them by TDR. For its stripline and embedded microstrip samples, a field solver given each track's measured cross-section and the laminate's εr came within 0.5 % on average, with a standard deviation under 2 %.

Choosing values

  • The target. 50 Ω for an RF line, as the RF article explains. TI's layout guide for its TUSB73x0, a USB 3.0 host controller, asks 90 Ω ± 15 % for the controller's high-speed and SuperSpeed USB pairs, and 100 Ω ± 10 % for its PCI Express pairs, each PCI Express line 50 to 55 Ω to ground. When a USB 2.0 full-speed pair is short enough to need no impedance, the high-speed article works out.
  • The width. h and εr come with the stack-up, so the width is what is left to set, and for a pair the spacing. Whether a trace needs an impedance at all is a question of its edges and its length.
  • Room between pairs. AN-905 keeps pairs more than 2s apart, so that a neighbour does not change a pair's impedance.

What changes on a real board?

  • εr has a tolerance. TI's nominal stack-up, Figure 4-1 of its TUSB73x0 guide, gives its prepreg as εr 4.1 ± 0.3. On the worked example's trace, 3.8 gives 53.5 Ω and 4.4 gives 50.2 Ω. Rogers' data sheet for RT/duroid 5870 and 5880 warns that a laminate's tested εr may be wrong for design, especially for microstrip, and gives a design εr apart.
  • Outer copper is thicker. TI's stack-up has 1.9 mil, about 0.048 mm, on its outer layers against 1.4 mil inside. At 0.048 mm the worked example comes to 50.1 Ω.
  • Solder mask. TI's stack-up lays 1.2 mil of it over the outer traces, while Hammerstad and Jensen's formulas take air above the strip.
  • Etching. Polar notes that thick tracks come out trapezoidal; these formulas take a rectangle.

Limits

These formulas give static values for a rectangular trace over whole, uniform planes. They leave out solder mask, the etched trapezoid and dispersion, the change of εeff with frequency, and their sources state their accuracy only within the ranges above. For a line that must hold an impedance, give the fab your target and let its stack-up calculator, with its own materials, set the width. The PCB trace width calculator sizes a trace for its current instead.

Sources

Have a board in mind?

PCB Agent is not open to the public yet. Leave your email, and we'll write when early access starts.