Differential Pair Impedance Calculator
Calculate Zdiff and Zcommon for edge-coupled microstrip pairs. Design USB, HDMI, and Ethernet differential pairs with odd/even mode impedance. Free, instant results.
Hammerstad–Jensen line · mode coupling fitted to 2-D MoM solverAPI slug differential-pair
Formula
E. Hammerstad and Ø. Jensen, “Accurate Models for Microstrip Computer-Aided Design”, IEEE MTT-S International Microwave Symposium Digest, 1980 (single line); coupling fitted to rftools.io’s 2-D method-of-moments solver (src/lib/pcb/__tests__/solver), within 2% on a mode impedance over W/H 0.2–4 and S/H 0.1–3.
| Symbol | Quantity | Your value |
|---|---|---|
| Z₀ | Single-ended microstrip impedance (Hammerstad-Jensen) (Ω) | 55.6 Ω |
| εeff | Single-line effective permittivity (Hammerstad–Jensen) | — |
| u | W_eff/H, where W_eff = W + (T/π)(1 + ln(2H/T)) widens the trace for its copper thickness | — |
| F(u) | 6 + (2π − 6)·exp[−(30.666/u)^0.7528] | — |
| ρodd, ρ_even | Each mode’s air-filled impedance as a ratio to the single line, 1 ∓ a·exp[−b·(S/H)^p], with a, b and p fitted to a 2-D method-of-moments solver as functions of W/H; both tend to 1 as the traces separate | — |
| fodd, f_even | Change in each mode’s share of field in the substrate relative to the single line, fitted to the same solver as a function of W/H and S/H; both tend to 0 as the traces separate | — |
Assumptions
6 items
- 01Quasi-static: the mode impedances and permittivities are low-frequency values with no dispersion; the frequency sets only the odd mode’s λg = c/(f·√εeff,odd).
- 02Bare surface pair: air above the traces and no soldermask, on one homogeneous substrate over a solid ground plane, lossless.
- 03The single line is Hammerstad–Jensen with the trace widened for copper thickness by (T/π)(1 + ln(2H/T)); thickness does not enter the gap, so the extra sidewall coupling between the traces is not modelled.
- 04Coupling is fitted, as each mode’s air-impedance ratio and change in substrate filling relative to the single line, to a 2-D method-of-moments solver over W 0.2–4× and S 0.1–3× H (published bound 2 % on a mode impedance); outside it the result is extrapolated and Within Validated Range reads 0.
- 05Two identical traces: Zdiff = 2·Zodd and Zcom = Zeven/2. Copper thickness must be less than H, and an input that is not positive, or εr below 1, is refused.
- 06Synthesis solves the trace width, the spacing or the substrate height numerically within its range for the target Zdiff; the material picker sets εr to the laminate’s design Dk.
Worked example
90 Ω USB pair on 0.1 mm FR-4
A USB 2.0 pair runs on an outer layer over 0.1 mm FR-4 (εr 4.4) with 17.5 µm copper and a 0.15 mm gap. Solve the trace width for Zdiff = 90 Ω, then read the modes behind it.
| Step | Expression | Result |
|---|---|---|
| Trace width for 90 Ω (solved) | Zdiff(W; S = 0.15 mm, H = 0.1 mm) = 90 Ω | 0.175 mm |
| Trace widened for its copper thickness | (0.0175 / π) × (1 + ln(2 × 0.1 / 0.0175)) | 0.01914 mm |
| One trace on its own | Hammerstad–Jensen Z₀(u, εr), u = (0.175 + 0.01914) / 0.1, εr = 4.4 | 50.2 Ω |
| Odd mode | ρ_odd × 50.2 × √(εeff / 2.897) | 45 Ω |
| Differential impedance | 2 × 45 | 90 Ω |
| Common mode | 55 / 2 | 27.5 Ω |
How it works
The Differential Pair Impedance Calculator computes odd-mode and differential impedance for edge-coupled microstrip traces — essential for USB, HDMI, PCIe, DDR, and Ethernet interfaces. Signal integrity engineers use this to achieve 100-ohm differential impedance (USB/HDMI) or 85-ohm (PCIe Gen3+) with the +/-10% tolerance required by interface specifications.
Differential impedance is twice the odd-mode impedance, , and common-mode impedance is half the even-mode impedance, . The calculator starts from the Hammerstad–Jensen impedance of one trace on its own, , and scales it for each mode by ratios fitted to a two-dimensional method-of-moments field solver. Over trace widths of 0.2 to 4 times the substrate height and spacings of 0.1 to 3 times it, the fit stays within 2% of the solver on a mode impedance. Coupling depends on spacing relative to height, , not only on spacing relative to width. Each mode also has its own effective permittivity: the odd mode drives its field through the air gap between the traces, so it sees less of the substrate than the even mode does. At on FR4, is 14% below at and 23% below at .
Johnson/Graham's 'High-Speed Digital Design' shows that maintaining constant Zdiff throughout the route is critical: a 15% impedance discontinuity at a via transition causes 7% signal reflection, degrading USB 3.0 eye height by 15-20%. The 3H rule (spacing >= 3x dielectric height) provides -40 dB isolation between differential pairs per IPC-2141A.
For high-speed interfaces, length matching within the pair must be within +/-5 mils (0.127mm) to maintain skew below 1 ps — USB 3.2 Gen 2 (10 Gbps) allows maximum 10 ps intra-pair skew. Propagation delay difference of 6.1 ps/mm on FR4 microstrip means 1.6mm length mismatch violates this spec.
Practical tips
- Maintain constant trace spacing through entire route including at connectors — even 2mm of wider spacing increases Zdiff by 5-8% and degrades return loss by 3-4 dB.
- Use ground stitching vias every lambda/10 (15mm at 1 GHz) along differential pairs to maintain reference plane continuity per Johnson/Graham Chapter 6.
- For USB 3.0/PCIe: specify +/-7% Zdiff tolerance to fab (tighter than standard +/-10%) to ensure interface compliance with margin.
Common mistakes
- Neglecting Er variation with frequency — FR4 Er drops from 4.5 to 4.2 between 100 MHz and 5 GHz, shifting Zdiff by 5-7%. Use frequency-corrected values for USB 3.0+ designs.
- Assuming a linear spacing-impedance relationship. Coupling falls off roughly exponentially with spacing: at , doubling the spacing from to raises by only 12%, not 100%.
- Ignoring via transition discontinuity — standard PTH vias add 0.3-0.5 nH inductance, causing 5-10 ohm impedance spike. Use via-in-pad or back-drilling for >5 Gbps interfaces per IPC-2221B.
Frequently asked questions
5 questions
Why is differential pair impedance important?
Differential signaling provides 6 dB better noise immunity than single-ended (common-mode rejection). Per USB-IF compliance spec, 90-ohm +/-10% Zdiff is mandatory — non-compliant impedance causes >15% eye closure at 5 Gbps and fails USB certification. HDMI 2.1 (48 Gbps) requires +/-7.5% tolerance for reliable 12 Gbps per lane operation.
How does trace spacing affect impedance?
Spacing counts relative to the substrate height, and its effect is far from linear. On this calculator's default geometry (W/H = 1.5, εr = 4.2), Zdiff is 23% below 2·Z₀ at S/H = 0.5, 14% below at S/H = 1, 6% below at S/H = 2 and 3% below at S/H = 3. Wider traces couple slightly less at the same S/H. Beyond S/H = 3 the pair is only loosely coupled, and the geometry is outside the range the model was fitted over, so the calculator flags the result as extrapolated.
Can I use this calculator for all PCB materials?
Yes, for any single homogeneous substrate, within the geometry the model was fitted over. The coupling was fitted to a two-dimensional field solver for trace widths of 0.2 to 4 times the substrate height and spacings of 0.1 to 3 times it, and stays within 2% of the solver on a mode impedance there; outside that range the result is extrapolated and the calculator flags it. The mode permittivities are fitted as ratios to the single line's at εr = 4.3, and those ratios change by under 1.2% across εr from 2.2 to 9.8, inside the same bound. The model is quasi-static and takes one εr, so enter your laminate's value at the frequency you care about. It models neither dispersion nor a soldermask cover.
What impacts differential pair impedance?
Five inputs, with very different weight. Raising each by 10% from this calculator's default geometry moves Zdiff as follows: a wider trace lowers it by 4.7%, a thicker dielectric raises it by 4.0%, a higher dielectric constant lowers it by 4.0%, wider spacing raises it by 1.1% and thicker copper lowers it by 0.5%. A ±10% tolerance on the dielectric height alone therefore moves Zdiff by about 4 to 5% either way, which is why controlled-impedance fabricators measure the pressed stack-up rather than trusting the nominal.
How precise do impedance calculations need to be?
Interface-dependent: USB 2.0 tolerates +/-15% Zdiff; USB 3.0/PCIe Gen3 require +/-10%; PCIe Gen4/5 and USB4 require +/-7%. Per IBIS-AMI simulation data, each 5% impedance error adds 2-3% to bit error rate at 10+ Gbps. For production, add 3% design margin to account for calculation uncertainty plus fab variation.
Shop Components
As an Amazon Associate we earn from qualifying purchases.