4-Layer PCB Stackup Impedance Calculator
Calculate trace widths for a target impedance on a 4-layer PCB stackup: microstrip on L1 over the L2 plane, stripline on L3 between the L2 and L4 planes. Enter the dielectric heights, dielectric constant and copper weight for 50 ohm or a custom Z0. Free, instant results.
Hammerstad–Jensen L1, solved with t · asymmetric stripline L3 between L2 and L4API slug stackup-builder
Formula
Hammerstad & Jensen (1980); Cohn (1954), offset stripline; IPC-2141A
| Symbol | Quantity | Your value |
|---|---|---|
| Z₀ | Target characteristic impedance (Ω) | 50 Ω |
| εᵣ | Dielectric constant | 4.2 |
| ZHJ | Surface microstrip impedance, Hammerstad-Jensen with thickness widening (Ω) | — |
| ZSL | Stripline impedance between two planes, asymmetric-stripline model (Ω) | — |
| W | Trace width, solved for Z₀ (mm) | — |
| H | Dielectric thickness: H1 between L1 and L2, H2 between L2 and L3, H3 between L3 and L4 (mm) | — |
| t | Copper thickness (1 oz = 35 μm) (mm) | — |
Assumptions
5 items
- 01The L1 width is solved on Hammerstad–Jensen (1980) for a surface microstrip over L2 at height H1, by bisection until the line meets the target impedance, with the copper thickness, 35 µm per oz, widening the strip by (t/π)·(1 + ln(2H/t)).
- 02Each achieved impedance re-checks its width in the model that solved it, so it reads the target whenever the stack can reach it; the models are quasi-static, and solder mask, dispersion and loss are not modelled.
- 03L3 is a stripline between the L2 and L4 planes, H2 and H3 away, sized on the asymmetric-stripline model the site's stripline calculators use, with the same copper thickness and one εr throughout.
- 04The stack is always four layers, and the board thickness is H1 + H2 + H3 plus the four copper layers, 4·t; εr below 2 is refused.
- 05Synthesis solves H1 numerically for a target L1 width, or a dielectric height for a total thickness, within that input's range; the material picker sets εr to the laminate's design Dk.
Worked example
50 Ω trace as wide as an 0402 pad
On a 4-layer FR-4 board (εr 4.4, 1 oz copper), the 50 Ω trace on L1 should be 0.5 mm wide to match the 0402 pads it feeds. Solve the L1–L2 prepreg that gives that width.
| Step | Expression | Result |
|---|---|---|
| Prepreg H1 (solved) | Hammerstad–Jensen Z₀(W = 0.5 mm, H1, t = 1 × 0.035 mm, εr = 4.4) = 50 Ω | 0.27827 mm |
| Strip widened for the copper | 0.5 + (1 × 0.035 / π) × (1 + ln(2 × 0.27827 / (1 × 0.035))) | 0.542 mm |
| L1 trace width | Z₀(W; H1 = 0.27827 mm) = 50 Ω | 500 µm |
| Achieved Z₀ with 1 oz copper | Hammerstad–Jensen Z₀(u = 0.542 / 0.27827, εr = 4.4) | 50 Ω |
| L3 stripline width | Z₀(W; H2 = 1.2 mm, H3 = 0.2 mm, εr = 4.4) = 50 Ω | 240.1 µm |
| Board thickness | 0.27827 + 1.2 + 0.2 + 4 × 1 × 0.035 | 1.818 mm |
How it works
The PCB Stackup Builder designs layer configurations for controlled impedance and signal integrity — essential for RF front-ends, high-speed digital interfaces (DDR4/5, PCIe Gen4/5), and EMC compliance. Hardware engineers use this to achieve 50-ohm (+/-10%) impedance while maintaining 6-10 dB crosstalk isolation between signal layers. This calculator models one 4-layer stack: L1 is a signal layer over the L2 plane (surface microstrip at height H1), and L3 is a signal layer between the L2 and L4 planes (stripline, H2 from L2 and H3 from L4); it solves each trace width for the target impedance.
Per IPC-2141A and Johnson/Graham's 'High-Speed Digital Design,' stackup determines three critical parameters: (1) characteristic impedance via dielectric height H and trace width W; (2) crosstalk via signal-to-signal layer spacing; (3) EMC performance via ground/power plane placement. The Hammerstad-Jensen equations achieve +/-1% impedance accuracy for W/H ratios between 0.1 and 10.
FR4's dielectric constant varies 4.6 (1 MHz) to 4.2 (5 GHz) per Djordjevic-Sarkar model — a 9% shift that changes calculated impedance by 4-5%. Rogers RO4350B maintains Er = 3.48 +/-1.5% to 10 GHz, which is why RF designs above 2 GHz specify controlled-Er materials per IPC-4101. Standard fab tolerance is +/-10% impedance; advanced RF fabs achieve +/-5%.
Propagation delay differs between microstrip (6.1 ps/mm on FR4) and stripline (7.1 ps/mm) due to different effective Er. For DDR4 at 3200 MT/s (312 ps UI), a 10mm length mismatch between outer and inner layer traces causes 10 ps skew — 3% of the timing budget. Length matching must account for layer-specific propagation velocity.
Practical tips
- Request actual stackup from fab before design — JLC, PCBWay publish exact Er and layer thicknesses. Generic assumptions cause 5-10% impedance error that may fail controlled impedance spec.
- Use symmetric stackup (S-G-G-S or S-G-V-G-S) for 4/6-layer boards — balanced copper distribution prevents warpage per IPC-6012D and ensures consistent impedance on both outer layers.
- Place ground plane adjacent to all signal layers — per Johnson/Graham, this minimizes loop inductance (0.4 nH/mm versus 1.5 nH/mm) and provides 20 dB better EMC performance.
Common mistakes
- Using generic FR4 Er=4.5 for all frequencies — Er varies 9% from 1 MHz to 5 GHz. Use frequency-corrected values: Er=4.4 at 1 GHz, 4.2 at 5 GHz per Djordjevic-Sarkar, or specify controlled-Er material for >2 GHz.
- Placing high-speed signals on layers without adjacent ground reference — signals on L2 with L1 as reference and L3 as power have split return path, increasing EMI by 10-20 dB per Henry Ott.
- Ignoring copper thickness in impedance calculation — 2oz copper (70um) versus 1oz (35um) shifts impedance by 3-5 ohm due to effective width increase per IPC-2141A.
Frequently asked questions
5 questions
What is the ideal dielectric constant for RF PCB materials?
For RF above 2 GHz: Rogers RO4350B (Er=3.48, tan_delta=0.004) or Isola I-Tera (Er=3.45). Lower Er allows wider traces for same impedance, improving manufacturing yield. Low loss tangent reduces attenuation: FR4 loses 0.4-0.6 dB/cm at 5 GHz; Rogers loses 0.1-0.15 dB/cm. Cost premium is 3-5x FR4.
How critical is trace width in impedance control?
Very — per IPC-2141A, impedance varies as 1/W^0.5 approximately. A 10um width variation on 0.2mm trace shifts impedance by 2.5 ohm (5%). Standard etching tolerance is +/-20um; controlled impedance fabs achieve +/-10um. Always specify width with tolerance: 'W = 0.19 +/-0.01mm'.
Can I use standard FR4 for RF circuits?
Up to 2 GHz with care. FR4 limitations: (1) Er variation +/-8% lot-to-lot; (2) loss tangent 0.02 causes 0.5-1 dB/cm loss at 5 GHz; (3) moisture absorption shifts Er by 2-3%. For >2 GHz or loss-sensitive applications, use Rogers/Isola. FR4 is acceptable for 2.4 GHz WiFi with 10-15mm traces.
How do I verify PCB stackup impedance?
Three methods per IPC-TM-650: (1) TDR (time-domain reflectometry) on impedance coupons — most accurate, +/-2%; (2) VNA S-parameter measurement — requires calibration fixtures; (3) Fabrication cross-section measurement of actual geometry. Request TDR report from fab for all controlled impedance boards.
What's the impact of layer thickness on impedance?
Per Hammerstad-Jensen: Z0 varies approximately as sqrt(H) for microstrip. Doubling dielectric height H increases impedance by 40%. For same 50-ohm target, H=0.2mm needs W=0.36mm; H=0.1mm needs W=0.17mm. Thinner dielectric allows narrower traces (higher density) but requires tighter manufacturing tolerance.
Shop Components
As an Amazon Associate we earn from qualifying purchases.