Skip to content

Edge-Coupled Embedded Microstrip Calculator

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.

Hammerstad–Jensen line · per-mode filling factors fitted to 2-D MoMAPI slug edge-coupled-embedded

Sign in to saveSave
Example
air · εr 1.00cover 25 µm · εr 3.5εr 4.2ground planeW 200 µms 200 µmt 35 µmh 200 µm

20 µm to 10 mm

20 µm to 10 mm

Dielectric between the traces and the reference plane below

20 µm or more

Soldermask, coating or prepreg, measured over the copper’s top; any cover fills the gap between the traces. Zero gives a bare surface pair.

0 mm or more

1 or more

1 oz · 5 µm or more

1 or more

Used only for the guided wavelength of the differential (odd) mode; the impedances do not depend on it in this model

1 MHz to 300 GHz

Formula

Filling factors fitted to the layered method-of-moments solver committed in src/lib/pcb/__tests__/solver, which reproduces Hammerstad–Jensen to 0.1% and the fully-embedded limit to 0.005%.
Zmode=Zmodeairεeff,mode,εeff,mode=1+qmode(εr−1)+(1−qmode) qc,mode(εrc−1)Z_{mode} = \frac{Z_{mode}^{air}}{\sqrt{\varepsilon_{eff,mode}}},\qquad \varepsilon_{eff,mode} = 1 + q_{mode}(\varepsilon_r - 1) + (1-q_{mode})\,q_{c,mode}(\varepsilon_{rc} - 1)
SymbolQuantityYour value
ZdiffDifferential impedance, 2·Z_odd (Ω)99.9 Ω
WTrace width (mm)200 µm
SEdge-to-edge spacing (mm)200 µm
hSubstrate height (mm)200 µm
hcCover thickness over the copper’s top (mm)25 µm
qmodeShare of that mode’s energy in the substrate—
qc,modeShare of the remaining energy the cover captures—

Assumptions

6 items
  1. 01Quasi-static and lossless; each mode has its own effective permittivity, so the odd and even modes travel at different speeds, and λg = c/(f·√εeff,odd) is the differential mode’s.
  2. 02The air-filled mode impedances are fitted as ratios to the Hammerstad–Jensen single line over W/h 0.2–4 and S/h 0.1–3 (published bound 2 % on a mode impedance), so an uncoupled pair returns the single line exactly.
  3. 03Each mode’s εeff = 1 + q(εr − 1) + (1 − q)·q_c(εrc − 1): its share q of energy in the substrate plus the share q_c of the rest that the cover captures, fitted to a layered solver; it cannot exceed the largest permittivity present.
  4. 04The cover is one planar dielectric layer of permittivity εrc whose top is h_c over the copper’s top, filling the gap between the traces, with air above it, and h_c = 0 gives the bare pair. Copper under the cover is fitted to rftools.io’s field solver, within 2 % on a mode impedance; the validated-range flag checks W/h and S/h only, not the cover.
  5. 05Copper thickness enters only through the single line’s widening, (t/π)(1 + ln(2h/t)), and must be less than h.
  6. 06Synthesis solves the trace width or the spacing numerically for the target Zdiff; the material picker sets the substrate’s εr to its design Dk, and the cover’s εrc is entered by hand.

Worked example

100 Ω pair under soldermask on 0.2 mm FR-4

An Ethernet pair runs on an outer layer over 0.2 mm FR-4 (εr 4.4) with 35 µm copper, a 0.2 mm gap and 25 µm of soldermask (εr 3.5). Solve the trace width for Zdiff = 100 Ω with the mask on, then read the skew between the two modes.

StepExpressionResult
Trace width for 100 Ω (solved)Zdiff(W) = 100 Ω; S = 0.2 mm, h = 0.2 mm, h_c = 0.025 mm0.1913 mm
Odd-mode permittivity1 + q_f,odd × (4.4 − 1) + (1 − q_f,odd) × q_c,odd × (3.5 − 1)3.242
Differential impedance2 × Z_odd,air / √3.242100 Ω
Even-mode permittivity1 + q_f,even × (4.4 − 1) + (1 − q_f,even) × q_c,even × (3.5 − 1)3.574
Skew between the modes(√3.574 − √3.242) / 0.2997924580.3 ps/mm
Skew over 100 mm0.3 × 10030 ps

How it works

A differential pair on an outer layer is rarely bare. Soldermask, conformal coating or a laminated prepreg sits over it, and that cover changes the impedance by more than its thickness suggests, because the field between two closely spaced traces is concentrated exactly where the cover sits.

What makes a covered surface pair different from a stripline pair is that the dielectric is not homogeneous. Part of the field is in the substrate, part in the cover, and part still in the air above. The two modes divide that field differently: the odd mode drives its field through the gap between the traces, while the even mode spreads laterally. So the two modes see different effective permittivities and travel at different speeds.

That speed difference is real and it matters. A pair whose modes travel at different speeds converts differential signal into common mode as it propagates — mode-conversion skew — and a long covered pair accumulates it. A stripline pair does not, because its medium is uniform.

This calculator separates geometry from dielectric. The air-mode impedances depend only on the width and spacing relative to the substrate height, and are fitted as ratios to the single line, so an uncoupled pair recovers the single-line result exactly. Each mode then receives its own effective permittivity, built from the share of its energy already in the substrate plus the share of the remainder that the cover captures.

That construction has a property worth stating: because the cover can only capture energy that is not already in the substrate, the effective permittivity can never exceed the largest permittivity present. That bound is not a check bolted on afterwards — it holds by construction. A covered-microstrip model that violates it, as a previous model in this codebase did, is not merely inaccurate; it is describing something that cannot exist.

On a bare pair the even mode carries the higher permittivity, because the odd mode drives its field through an air gap. Put a thick cover over a tight gap and that ordering can invert, since the region the odd mode works hardest in is now dielectric rather than air. The model reproduces the inversion because it was fitted to a layered field solve rather than assumed.

Practical tips

  • Run the geometry twice, once with the cover dielectric at 1.0 and once at its real value. The difference is what the cover is doing, isolated from everything else.
  • For a long pair, look at the two propagation delays before the impedances. If the skew is significant over your route length, that is a stronger argument for moving to an inner layer than the impedance is.
  • A thicker cover is more predictable than a thin one, because once the cover contains the field, further thickness stops mattering. Thin mask is the sensitive region.
  • If the design is impedance-critical and the pair must stay on the surface, ask the fabricator to hold and report mask thickness rather than assuming a nominal figure.
  • Check the validated-range flag when using unusually wide or unusually tightly spaced traces.
  • Compare against the internal symmetric calculator for the same electrical target — if both are viable, the buried pair removes the skew question entirely.

Common mistakes

  • Ignoring soldermask because it is thin. Twenty-five micrometres of mask sits precisely where the odd-mode field is strongest, and it moves the differential impedance by several ohms.
  • Using one effective permittivity for both modes. That erases the skew, which is the main reason a covered surface pair behaves differently from a buried one.
  • Assuming the even mode always has the higher permittivity. It does on a bare pair, but a thick cover over a tight gap can invert the ordering.
  • Taking the mask thickness as the value in the fabricator's datasheet. Mask over a trace is thinner than mask over bare laminate, and it is the thickness over the copper that matters here.
  • Treating a covered pair and a stripline pair as interchangeable for long routes. Only one of them accumulates mode-conversion skew.

Frequently asked questions

5 questions
Does soldermask really change differential impedance?

Yes, and by more than most people expect for something 25 µm thick. The field between two closely spaced traces is concentrated exactly where the mask sits, so the odd mode feels it strongly. Set the cover thickness to zero to see the bare-pair value and compare.

Why are there two propagation delays?

Because the dielectric is not homogeneous. The odd and even modes put different fractions of their field in the air above the board, so they travel at different speeds. That difference is real skew: a long covered pair converts part of its differential signal into common mode.

Is a thicker cover better for impedance control?

It is more predictable, because once the cover is thick enough to contain the field, further thickness stops mattering. The awkward region is a thin mask, where impedance is most sensitive to a thickness the fabricator does not control tightly.

Why can the effective permittivity never exceed the substrate value?

Because the cover can only affect energy that is not already in the substrate. The model is built from that split, so the bound holds structurally. A model that returns an effective permittivity above the largest permittivity present is describing something physically impossible.

How accurate is this?

The geometry half is fitted to a field solver to within 1.3% on a mode impedance, and the dielectric half to a layered solve that reproduces Hammerstad–Jensen to 0.1%. The validated range is a trace width of 0.2 to 4 times the substrate height and a spacing of 0.1 to 3 times it.

Shop Components

As an Amazon Associate we earn from qualifying purchases.

  • PCB Manufacturing (JLCPCB)Affordable PCB fabrication with controlled impedance optionsJLCPCB →
  • FR4 Copper Clad LaminateFR4 laminate sheets for custom PCB prototypingAmazon →
  • Thermal PasteThermal interface material for component heat managementAmazon →