NewAI Part GeneratorFree to get started
FREE TOOL

PCB impedance calculator

Find the trace width for 50 Ω, or the width and gap of a 90 or 100 Ω differential pair, from your stackup. It covers microstrip and stripline, single-ended and differential, in mm or mil, and also gives effective εr and propagation delay.

Calculate
Units
Signal
Layer
Ω
mm

Prepreg or core between this copper layer and its reference plane.

εr

Your fab’s value at your signal frequency. If the layers above and below differ, use a thickness-weighted average.

Trace width for 50 Ω

0.372 mm

14.7 mil · Hammerstad-Jensen microstrip

Impedance at this width
50 Ω
Effective εr
3.19
Propagation delay
5.96 ps/mm (151 ps/in)

Closed-form estimate without solder mask, which lowers microstrip impedance a little. Check the final width against your fab's stackup and impedance calculator before ordering.

What trace width gives 50 Ω?

It depends on the dielectric under the trace. On JLCPCB's 4-layer 1.6 mm stackup (0.2104 mm 7628 prepreg, εr 4.4, 1 oz copper) a 50 Ω microstrip is about 0.372 mm (14.7 mil) wide. On a 2-layer 1.6 mm FR-4 board, with the plane about 1.53 mm away, it is about 2.79 mm (110 mil). A 90 Ω USB pair on the 4-layer stackup with a 0.127 mm gap needs traces of about 0.278 mm (11 mil).

How to use the PCB impedance calculator

  1. Pick single-ended or differential, and microstrip (outer layer) or stripline (inner layer).
  2. Choose a stackup preset, or enter your dielectric thickness, copper and εr from the fab's stackup.
  3. To size a trace, enter the target (50 Ω, or 85, 90 or 100 Ω for a pair) and, for a pair, the gap. To check an existing trace, switch to impedance from width.
  4. Read the width, the delay per mm, and any notes about the inputs being outside a method's range.

For a stripline, enter the dielectric above and below the trace separately. Most inner layers sit closer to one plane than the other, and treating them as centred overestimates the spacing on one side.

How PCB trace impedance is calculated

A trace and its reference plane form a transmission line with inductance L and capacitance C per unit length. Its characteristic impedance is Z0 = √(L/C) and its delay per unit length is √(LC). A wider trace or a thinner dielectric adds capacitance and lowers Z0; a higher εr adds capacitance too and also slows the signal. Copper thickness matters because the trace's side walls add a little capacitance.

There is no exact formula for a microstrip, because the field is partly in the laminate and partly in air. This calculator uses the most widely validated closed-form fits: Hammerstad and Jensen (1980) for a single microstrip, Kirschning and Jansen (1984) for an edge-coupled pair with Jansen's copper-thickness correction, Wheeler (1978) for stripline, and Cohn's conformal-mapping solution (1955) for stripline pairs. For an offset stripline, the trace's capacitance is split between two virtual centred striplines, one for each plane, and combined in parallel. Differential impedance is twice the odd-mode impedance, and delay is √εeff divided by the speed of light, about 3.34 ps/mm in air.

Worked example 1: 50 Ω on a JLCPCB 4-layer board

The 7628 prepreg is h = 0.2104 mm with εr 4.4, under 0.035 mm of copper. Solving Hammerstad-Jensen for 50 Ω gives w = 0.372 mm (14.7 mil), a width-to-height ratio of 1.77. Part of the field is in air, so the effective εr is 3.19, not 4.4, and the delay is 5.96 ps/mm (151 ps/inch).

Worked example 2: a 90 Ω USB pair on the same stackup

With a 0.127 mm (5 mil) gap, Kirschning-Jansen gives 90 Ω differential at w = 0.278 mm (11 mil). Each trace on its own would be 58.3 Ω, so coupling pulls the pair below 2 × Z0: the odd-mode impedance is 45 Ω and the even-mode impedance 69.4 Ω. The odd mode has more field in the air across the gap, so its effective εr drops to 2.69.

Worked example 3: a 100 Ω pair on an inner layer

On layer 3 of JLCPCB's 6-layer JLC06161H-7628 stackup, the trace has 0.2028 mm of prepreg below it and a 0.4 mm core above, with 0.0152 mm copper. Using the thickness-weighted εr of 4.53 and a 0.15 mm gap, Cohn's offset stripline model gives 100 Ω at w = 0.122 mm (4.81 mil). Stripline is fully embedded, so its delay is 7.1 ps/mm, slower than either microstrip above.

50 ohm trace width for common stackups

Single-ended microstrip on the outer layer, 1 oz copper, no solder mask. JLCPCB prepreg thickness and Dk are from its published stackups; Rogers values are the data-sheet design Dk.

StackupDielectric hεr50 Ω widthDelay
JLCPCB 4-layer 1.6 mm, 7628 prepreg0.2104 mm (8.283 mil)4.40.372 mm (14.7 mil)5.96 ps/mm
JLCPCB 4-layer, 2116 prepreg0.1164 mm (4.583 mil)4.160.206 mm (8.09 mil)5.76 ps/mm
JLCPCB 4-layer, 3313 prepreg0.0994 mm (3.913 mil)4.10.175 mm (6.88 mil)5.71 ps/mm
JLCPCB 4-layer, 1080 prepreg0.0764 mm (3.008 mil)3.910.135 mm (5.33 mil)5.57 ps/mm
2-layer 1.6 mm FR-41.53 mm (60.24 mil)4.62.79 mm (110 mil)6.17 ps/mm
2-layer 0.8 mm FR-40.73 mm (28.74 mil)4.61.31 mm (51.7 mil)6.15 ps/mm
Rogers RO4350B 0.254 mm / 10 mil0.254 mm (10 mil)3.660.523 mm (20.6 mil)5.55 ps/mm
Rogers RO4350B 0.508 mm / 20 mil0.508 mm (20 mil)3.661.07 mm (42.3 mil)5.59 ps/mm
Rogers RO4003C 0.203 mm / 8 mil0.203 mm (7.992 mil)3.550.422 mm (16.6 mil)5.47 ps/mm

Differential pair width for 85, 90 and 100 Ω

Edge-coupled microstrip on JLCPCB 4-layer prepregs, 1 oz copper, at a 0.127 mm (5 mil) and a 0.2 mm (7.9 mil) gap. A wider gap needs a wider trace for the same impedance.

PrepregGap85 Ω width90 Ω width100 Ω width
7628 (0.2104 mm, εr 4.4)0.127 mm (5 mil)0.318 mm (12.5 mil)0.278 mm (11 mil)0.213 mm (8.38 mil)
7628 (0.2104 mm, εr 4.4)0.2 mm (7.87 mil)0.374 mm (14.7 mil)0.333 mm (13.1 mil)0.265 mm (10.4 mil)
2116 (0.1164 mm, εr 4.16)0.127 mm (5 mil)0.21 mm (8.27 mil)0.187 mm (7.34 mil)0.147 mm (5.8 mil)
2116 (0.1164 mm, εr 4.16)0.2 mm (7.87 mil)0.234 mm (9.21 mil)0.21 mm (8.26 mil)0.17 mm (6.67 mil)
3313 (0.0994 mm, εr 4.1)0.127 mm (5 mil)0.185 mm (7.29 mil)0.165 mm (6.49 mil)0.131 mm (5.14 mil)
3313 (0.0994 mm, εr 4.1)0.2 mm (7.87 mil)0.204 mm (8.02 mil)0.183 mm (7.2 mil)0.148 mm (5.83 mil)
1080 (0.0764 mm, εr 3.91)0.127 mm (5 mil)0.151 mm (5.94 mil)0.135 mm (5.3 mil)0.107 mm (4.22 mil)
1080 (0.0764 mm, εr 3.91)0.2 mm (7.87 mil)0.163 mm (6.42 mil)0.147 mm (5.77 mil)0.119 mm (4.67 mil)

Microstrip impedance vs trace width

Single-ended impedance of 1 oz outer-layer traces over three JLCPCB prepregs. Useful for checking an existing layout or picking a width that lands near a target.

Trace width7628 (0.2104 mm)2116 (0.1164 mm)3313 (0.0994 mm)
0.1 mm (3.94 mil)88 Ω69.9 Ω65.2 Ω
0.15 mm (5.91 mil)76.4 Ω58.6 Ω54.1 Ω
0.2 mm (7.87 mil)67.9 Ω50.7 Ω46.5 Ω
0.25 mm (9.84 mil)61.4 Ω44.8 Ω40.8 Ω
0.3 mm (11.8 mil)56.1 Ω40.2 Ω36.4 Ω
0.4 mm (15.7 mil)48 Ω33.4 Ω30.1 Ω
0.5 mm (19.7 mil)42.1 Ω28.7 Ω25.6 Ω
0.6 mm (23.6 mil)37.5 Ω25.1 Ω22.4 Ω
0.8 mm (31.5 mil)30.9 Ω20.2 Ω17.8 Ω
1 mm (39.4 mil)26.3 Ω16.9 Ω14.9 Ω
Microstrip impedance versus trace width on three JLCPCB prepregsSingle-ended impedance in ohms for 1 oz outer-layer traces from 0.05 to 1 mm wide over 7628, 2116 and 3313 prepreg. Thinner prepreg gives lower impedance for the same width. The dotted line marks 50 ohms.204060801000 mm0.2 mm0.4 mm0.6 mm0.8 mm1 mmImpedance (Ω)762821163313
Hammerstad-Jensen microstrip, 1 oz copper, JLCPCB prepreg thickness and Dk. Exact values are in the table above.

Stripline impedance on inner layers

A trace centred between two planes in FR-4 (εr 4.4), 0.5 oz copper. Pairs use a 0.15 mm gap.

Dielectric each side50 Ω width90 Ω pair width100 Ω pair width
0.15 mm (5.91 mil)0.113 mm (4.47 mil)0.115 mm (4.53 mil)0.0875 mm (3.44 mil) *
0.2 mm (7.87 mil)0.158 mm (6.22 mil)0.142 mm (5.58 mil)0.106 mm (4.18 mil)
0.25 mm (9.84 mil)0.203 mm (7.98 mil)0.163 mm (6.41 mil)0.12 mm (4.74 mil)
0.3 mm (11.8 mil)0.248 mm (9.76 mil)0.18 mm (7.08 mil)0.131 mm (5.16 mil)

* Finer than JLCPCB's 3.5 mil (0.089 mm) minimum, or the calculator shows a note. Use thicker dielectric.

Copper weight, thickness and the 50 Ω width

Copper weightThickness50 Ω on 7628 (0.2104 mm)50 Ω on 2116 (0.1164 mm)
0.5 oz/ft²17.5 µm (0.689 mil)0.385 mm (15.2 mil)0.216 mm (8.52 mil)
1 oz/ft²35 µm (1.38 mil)0.372 mm (14.7 mil)0.206 mm (8.09 mil)
2 oz/ft²70 µm (2.76 mil)0.351 mm (13.8 mil)0.189 mm (7.43 mil)

Thicker copper narrows the trace a little for the same impedance. The effect is small next to the dielectric height, but it is why fabs ask for finished copper, plating included.

Common scenarios

Interface targets are from TI's layout guides listed in the sources; always use the value in your own chip's layout guide. Widths are uncoated microstrip or stripline from the stated stackup.

ScenarioStackupTargetWidth
USB 2.0 High Speed (D+/D−)
TI’s layout guide gives 90 Ω differential, 81 to 99 Ω. Outer layer of a 4-layer board.
JLCPCB 4-layer 1.6 mm, 7628 prepreg90 Ω differential0.278 mm (11 mil), 0.127 mm gap
USB 3.x SuperSpeed pair
Also 90 Ω, but the window TI lists is tighter: 83.7 to 96.3 Ω.
JLCPCB 4-layer, 3313 prepreg90 Ω differential0.165 mm (6.49 mil), 0.127 mm gap
PCIe add-in card lane
TI notes the PCIe spec allows 70 to 100 Ω, and add-in cards use 85 Ω to work with any host.
JLCPCB 4-layer, 3313 prepreg85 Ω differential0.185 mm (7.29 mil), 0.127 mm gap
HDMI TMDS pair
100 Ω differential, 90 to 110 Ω.
JLCPCB 4-layer 1.6 mm, 7628 prepreg100 Ω differential0.213 mm (8.38 mil), 0.127 mm gap
Ethernet PHY to magnetics (MDI)
100 Ω ±10 %. TI also asks for same-layer ground at least 3 trace widths away, 5 preferred.
JLCPCB 4-layer 1.6 mm, 7628 prepreg100 Ω differential0.265 mm (10.4 mil), 0.2 mm gap
MIPI CSI-2 camera lane
100 Ω differential, 85 to 115 Ω in TI’s table.
JLCPCB 4-layer, 2116 prepreg100 Ω differential0.147 mm (5.8 mil), 0.127 mm gap
2.4 GHz antenna feed on a 2-layer 1.6 mm board
Nearly 3 mm wide because the plane is on the far side of the board. Many 2-layer RF designs use coplanar waveguide with ground instead, which this calculator does not model.
2-layer 1.6 mm FR-450 Ω single-ended2.79 mm (110 mil)
50 Ω RF line on Rogers RO4350B
A 0.254 mm (10 mil) RF laminate, using Rogers’ design Dk of 3.66 rather than the 3.48 process value.
Rogers RO4350B 0.254 mm / 10 mil50 Ω single-ended0.523 mm (20.6 mil)
100 Ω LVDS pair on an inner layer
JLCPCB 6-layer, layer 3: 0.2028 mm prepreg to layer 4, 0.4 mm core to layer 2, so the trace sits off-centre.
JLCPCB 6-layer 1.6 mm (JLC06161H-7628), L3 between L4 and L2100 Ω differential0.122 mm (4.81 mil), 0.15 mm gap
50 Ω single-ended on the same inner layer
Clocks and single-ended RF that need shielding go on stripline.
JLCPCB 6-layer 1.6 mm (JLC06161H-7628), L3 between L4 and L250 Ω single-ended0.218 mm (8.57 mil)

Choosing a PCB stackup for controlled impedance

The dielectric height decides almost everything. On a 2-layer 1.6 mm board the plane is so far away that 50 Ω needs a trace about 2.79 mm (110 mil) wide, wider than most chip pads, and a 100 Ω pair only works closely coupled (0.554 mm (21.8 mil) traces with a 0.2 mm gap), which makes it sensitive to the gap. A 4-layer board with a ground plane on layer 2 puts thin prepreg under the top layer, so controlled-impedance traces come out a few tenths of a millimetre wide. JLCPCB's 7628 stackup gives about 0.372 mm (14.7 mil) for 50 Ω and 0.213 mm (8.38 mil) for a 100 Ω pair at a 0.127 mm gap; the thinner 3313 and 1080 prepregs suit fine BGA breakouts.

On six layers and up, put high-speed pairs on stripline between solid planes for shielding, and keep every controlled net referenced to an unbroken plane from end to end. If the dielectric above and below an inner trace differ in Dk, enter a thickness-weighted average, as the 6-layer preset does.

Differential pair routing guidelines and common mistakes

  • Pick the gap first, from your fab's minimum and your breakout, then solve for the width.
  • Keep width and gap constant along the pair. Every neck-down at a pad or via changes the impedance.
  • Match the two traces' lengths at the end where they diverge, and keep the pair coupled elsewhere.
  • Never route a controlled trace across a split or gap in its reference plane; the return current detours.
  • Keep same-layer ground pour well back from microstrip, or design it as coplanar on purpose. TI's Ethernet checklist asks for at least 3 trace widths, 5 preferred.
  • Use the fab's Dk for the exact prepreg, not a generic 4.5, and the finished copper thickness.
  • Stay above the fab's minimum trace and space. JLCPCB lists 3.5 mil (0.089 mm) for impedance-controlled multilayer boards; see the PCB design rules guide for the rest.
  • Don't size power traces here. Current sets their width; use the trace width calculator.

How accurate is this impedance calculator?

Closed-form models are fits to field-solver results, accurate inside the ranges they were fitted for. Against the 100 Ω geometries Howard Johnson published from the HyperLynx 2-D field solver, this calculator is within 3.1 % on all 38 stripline pairs, centred and offset (mean 0.85 %), and within 3.7 % on his 4 microstrip pairs with thick 1.5 oz copper. The weak spots are flagged in the result: microstrip pairs whose gap is under about three copper thicknesses read high, and offset striplines read high when one plane is more than twice as far as the other.

The shorter IPC-2141 formula, Z0 = 87/√(εr + 1.41) · ln(5.98h / (0.8w + t)), is fine near w/h = 1 but drifts once traces get wide, as the table shows for the JLCPCB 7628 stackup.

w/hWidthHammerstad-JensenIPC-2141Difference
0.250.0526 mm (2.07 mil)105 Ω101 Ω-3.9 %
0.50.105 mm (4.14 mil)86.5 Ω85.1 Ω-1.7 %
10.21 mm (8.28 mil)66.4 Ω65.8 Ω-1 %
1.50.316 mm (12.4 mil)54.6 Ω53.3 Ω-2.5 %
20.421 mm (16.6 mil)46.6 Ω44 Ω-5.6 %
30.631 mm (24.9 mil)36.3 Ω30.5 Ω-16 %

The bigger uncertainty is usually the board, not the formula. Real prepreg thickness and Dk vary from lot to lot and with glass weave, etched traces are trapezoids, and solder mask lowers microstrip impedance. Interface specs allow for this with windows such as 81 to 99 Ω for USB 2.0. Use this calculator to plan and route, then order controlled impedance on the fab's stackup and ask for test coupons.

Do this automatically in ProtoFlow

In the ProtoFlow desktop app the numbers from this page become board rules rather than notes. Open Board Setup, choose the layer count, copper weight and dielectric thickness for your fab's stackup, and the editor draws it to scale. Board Setup recognises pairs named like USB_D+ and USB_D- or TX_P and TX_N; put them in a net class and enter the width and gap you worked out here. The Diff Pair tool then routes both traces together at that width and gap, and the status readout shows the width, gap and length skew in millimetres while you route. If you start from KiCad, importing the board brings its stackup across, including each dielectric's Dk. When you are done, run DRC and export Gerbers, drill files and a JLCPCB BOM and CPL. Download ProtoFlow free for macOS, Windows or Linux.

Glossary

Characteristic impedance (Z0)
The ratio of voltage to current of a wave travelling along a trace, set by its geometry and dielectric, not its length.
Differential impedance (Zdiff)
The impedance between the two traces of a pair for a differential signal. Equal to twice the odd-mode impedance.
Odd-mode impedance
The impedance of one trace of a pair when the two carry equal and opposite signals.
Common-mode impedance
Half the even-mode impedance: what a signal common to both traces of a pair sees.
Microstrip
A trace on an outer layer over a reference plane, with air (or solder mask) above it.
Stripline
A trace on an inner layer between two reference planes, surrounded by dielectric.
Offset stripline
A stripline closer to one plane than the other, which is how most real inner layers are built.
Dielectric constant (Dk, εr)
How strongly the laminate stores electric field relative to vacuum. JLCPCB’s FR-4 prepregs and core range from 3.91 to 4.6.
Effective dielectric constant (εeff)
The single εr that would give the same speed if the trace were fully embedded. Between 1 and εr for microstrip, equal to εr for stripline.
Propagation delay
Time per unit length for a signal to travel along the trace: √εeff divided by the speed of light.
Prepreg
Glass cloth impregnated with resin that bonds the layers of a multilayer board; types such as 7628 and 3313 differ in thickness and Dk.
Core
A cured laminate sheet with copper on both sides, the rigid backbone of the stackup.
Controlled impedance
Building chosen nets to a target impedance within a tolerance, using a specified stackup and checked on test coupons.
Field solver
Software that solves the electromagnetic field around the actual cross-section instead of using a closed-form formula.

Related guides

Frequently asked questions

How do I calculate PCB trace impedance?

Impedance depends on the trace width, the dielectric thickness to the reference plane, the copper thickness and the dielectric constant. For an outer-layer trace use a microstrip model such as Hammerstad-Jensen; for an inner layer use a stripline model such as Wheeler’s. Enter those four numbers above, or enter a target impedance and let the calculator find the width.

What trace width gives 50 Ω on a 1.6 mm two-layer board?

About 2.79 mm (110 mil) with 1 oz copper and εr 4.6, because the plane on the bottom layer is roughly 1.53 mm away. That is too wide to reach most RF chips, which is why 50 Ω lines usually go on a 4-layer board (about 0.372 mm (14.7 mil) on JLCPCB’s 7628 stackup) or use coplanar waveguide with ground on the top layer.

What trace width and spacing do I need for a 90 Ω USB differential pair?

On JLCPCB’s 4-layer 1.6 mm stackup (0.2104 mm 7628 prepreg, εr 4.4, 1 oz copper) a 0.127 mm (5 mil) gap needs traces about 0.278 mm (11 mil) wide. A wider gap needs wider traces for the same 90 Ω. USB 2.0 allows 81 to 99 Ω, so small errors are tolerated, but the pair must stay coupled and length-matched.

What is differential impedance?

It is the impedance a differential signal sees between the two traces of a pair, equal to twice the odd-mode impedance. Two isolated 50 Ω traces form a 100 Ω pair; bringing them closer couples them and lowers the differential impedance, so tightly coupled pairs need narrower traces.

What is the difference between microstrip and stripline?

A microstrip is an outer-layer trace with a reference plane on one side and air on the other. A stripline is buried between two planes. Stripline is fully surrounded by dielectric, so it is slower (higher effective εr), better shielded and needs a narrower trace for the same impedance.

Should I use JLCPCB’s or my fab’s impedance calculator instead?

For the order, yes. The fab’s calculator uses its real prepreg, finished copper and solder mask. Use this page to plan the stackup, size traces while you route and sanity-check the fab’s numbers, then confirm the widths with the fab before ordering controlled impedance.

What dielectric constant should I use for FR-4?

Use the value your fab publishes for the exact prepreg or core. JLCPCB lists 4.4 for 7628 prepreg, 4.16 for 2116, 4.1 for 3313, 3.91 for 1080 and 4.6 for core. Datasheet values also depend on frequency, so use the one quoted nearest your signal’s frequency content.

Does solder mask change the impedance?

Yes, on outer layers. Mask replaces some of the air above and between microstrip traces with dielectric, which lowers the impedance, and it affects pairs more than single traces because much of a pair’s field crosses the gap. This calculator leaves mask out; fab calculators include it, so expect them to suggest slightly narrower traces.

Does KiCad have an impedance calculator?

Yes. KiCad’s PCB Calculator has a TransLine tool, based on Transcalc, with microstrip, coupled microstrip (Kirschning-Jansen), stripline and coplanar models. This page uses the same family of published equations and explains where each one stops being accurate.

How do I measure PCB trace impedance?

With a time-domain reflectometer (TDR) on an impedance test coupon: a trace on the same panel built with the same geometry as your controlled nets. Howard Johnson’s advice is to insist that the fab puts coupons on every panel and tests each one.

More free PCB tools

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.