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.
Formula
Reference: 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.
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.
Worked Example
Design a 90 Ω differential pair for USB 3.0 SuperSpeed on a 4-layer FR4 board: 0.2 mm prepreg down to the L2 ground, εr = 4.3, 1 oz copper.
Work in the order the two knobs actually respond. Width sets the single-ended impedance; spacing then trades against it.
Step 1 — width. Solving the surface-microstrip geometry for 50 Ω single-ended gives W = 0.3516 mm, which lands at 49.996 Ω once rounded to four decimals. If the two traces were far apart, the differential impedance would be exactly twice that, 100 Ω.
Step 2 — spacing. Bringing them together lowers the odd-mode impedance. Closing to S = 0.2653 mm gives:
Z_odd = 45.00 Ω, Z_even = 54.63 Ω Z_diff = 2 × 45.00 = 89.99 Ω Z_common = 54.63 / 2 = 27.32 Ω
Step 3 — check the skew. The two modes see different effective permittivities, 3.011 for the odd mode and 3.485 for the even mode, because the odd mode drives its field through the air gap between the traces. That is 0.474 of εeff between them, and it is why a surface pair converts differential energy into common mode over length while a stripline pair does not.
USB 3.0 allows under 5 ps of intra-pair skew. At roughly 5.8 ps/mm for the odd mode, that is about 0.9 mm of permitted length mismatch — match with serpentines and keep the correction close to where the mismatch occurred.
A note on why this example changed. It previously used a coupling term of the form exp(−0.347 · 2S/W), which scales with the spacing-to-width ratio and never references the substrate height at all. Microstrip coupling is governed by spacing relative to height, and on this calculator's own default geometry the old expression reported 55.0 Ω where the correct differential impedance is 100.0 Ω. The model now used is fitted to a committed two-dimensional field solver and collapses onto the single-line result exactly as the pair separates.
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
Related Articles
Signal Integrity
Eye Diagram Analysis: Validating 10 Gbps SerDes
How much insertion loss a 10 Gbps SerDes lane can take: a Touchstone S21 through the Eye Diagram tool, with eye height, width and jitter against data rate.
PCB Design
Microstrip Impedance: Theory to PCB Layout
A practical guide to designing controlled-impedance microstrip traces on PCBs: the Hammerstad-Jensen equations, material selection, and manufacturing.
General Electronics
Op-Amp Gain Calculations: Avoid the Hidden Gotchas
Master op-amp gain and bandwidth calculations with practical insights, real-world examples, and common design pitfalls to watch out for.
Advanced Simulation Tools
Eye Diagram from S-Parameters
Upload a Touchstone (.s2p) file and generate a PRBS eye diagram. Shows the channel insertion loss and impulse response, then renders the eye with its height, width and jitter measured over the whole bit sequence.
FDTD Transmission Line Simulator
Solve microstrip stubs, coupled-line filters, via transitions, and step discontinuities across a ladder of named solve modes — from a 2D cross-section in seconds to a fine 3D openEMS field solve. S-parameters, Smith chart, and impedance analysis.
Shop Components
As an Amazon Associate we earn from qualifying purchases.
Related Calculators
PCB
Edge-Coupled Stripline
Calculate differential, common-mode, odd- and even-mode impedance for an edge-coupled differential pair centred between two reference planes. Exact conformal-mapping solution, not an empirical fit.
PCB
Coupled Embedded Microstrip
Calculate differential and common-mode impedance for an edge-coupled pair under soldermask, coating or prepreg — with a separate effective permittivity per mode, so the skew the cover introduces is visible.
RF
Microstrip Impedance
Calculate microstrip impedance using Hammerstad-Jensen equations. Get Z0, effective dielectric constant, and propagation delay for PCB trace design. Free, instant results.
PCB
Trace Width
Calculate minimum PCB trace width for current capacity per IPC-2221 and IPC-2152. Get resistance, voltage drop, and power dissipation. Free, instant results.