Get the characteristic or differential impedance of a PCB trace from your stack-up. Pick one of seven trace types — microstrip, embedded microstrip, stripline and their coupled variants — enter the trace and dielectric dimensions in your own units, and read off the impedance plus propagation delay, capacitance and inductance per inch. Uses the IPC-2141 closed-form approximations.
The IPC-2141 formulas are closed-form approximations: they ignore solder mask, copper roughness, glass-weave effects and the frequency dependence of the dielectric constant, and they lose accuracy outside 0.1 < w/h < 3. Treat the result as a starting point and confirm the final trace type and dimensions against your fab's controlled-impedance stack-up.
A calculator gives you one number for one trace type. Getting a real interface onto a board still means setting the impedance requirement on the right nets, keeping each differential pair matched, and re-checking the numbers whenever the layer or dielectric changes. In Flux you state the requirement — the impedance and the pair come out routed on the canvas.
With 1 oz copper over 0.2 mm of FR-4 (εr 4.3), 90 Ω on layer 1 works out to:
I've set the USB_DP/USB_DM pair to that width and gap, matched their lengths, and routed them over the ground plane on layer 1.
The IPC-2141 approximation for the selected trace type — microstrip — evaluated client-side as you type.
A single trace on an outer layer, over one reference plane, with air above it. Valid for 0.1 < w/h < 3.0 and 1 < εr < 15.
A microstrip buried under dielectric instead of air, so the effective dielectric constant εrp rises towards εr as the covering thickens.
Two coupled microstrips side by side. The bracket is the coupling term: as the gap s closes, the differential impedance drops.
A trace centred between two reference planes, h of dielectric above and below. Fully embedded copper sees εr in every direction.
A stripline that is not centred, with ha of dielectric above the trace and hb below it. h1 is the smaller of the two — the distance to the nearer plane — and h2 the larger, so the last factor corrects for the offset.
Two traces stacked one above the other between the planes, ht apart, each hp from its nearer plane.
Two coupled traces side by side between the planes: the single-ended stripline impedance first, then the coupling term for the pair.
Every dimension appears as a ratio, so the units cancel as long as they match — the calculator converts each field to millimetres first. w is the trace width, t its finished copper thickness, s the edge-to-edge gap in a pair, h the dielectric height to the reference plane and εr the dielectric constant of the laminate.
Delay is in ps/inch. A surface microstrip is partly in air, so εeff ≈ 0.475εr + 0.67; a fully embedded trace uses εr itself, which is why striplines are the slower of the two.