PCB Trace Impedance Calculator
Operator: Abdulla Al Fahad. How tools are built and checked
A 50 ohm microstrip on 1.6 mm FR-4 with 1 oz copper and a dielectric constant of 4.3 needs a trace about 3.07 mm wide by the Hammerstad and Jensen model; IPC-2141's older formula puts it at 2.99 mm. That 0.08 mm gap is a fair picture of how much to trust any closed-form impedance calculator, and why a fabricator's field solver has the last word.
Key features
- Microstrip, embedded microstrip, centred and off-centre stripline, and coplanar waveguide with or without a ground plane
- Characteristic impedance, effective permittivity, delay per millimetre and per inch, and velocity as a share of c
- Edge-coupled differential microstrip and stripline from the IPC-2141 coupling terms
- Width solved for a target single-ended or differential impedance
- Hammerstad-Jensen and IPC-2141 side by side for microstrip, Cohn-Wheeler and IPC-2141 for stripline
- Trace width for a current and temperature rise from the IPC-2221 fit
- A summary table of up to 12 entries as CSV or PDF
Which closed-form formula is used for each structure, its stated accuracy, and what it ignores
Dimensions are entered in millimetres, mils or micrometres and converted internally; copper is entered in ounces per square foot (1 oz is 34.7 micrometres) or micrometres. Er is taken as uniform and frequency independent. Zero-thickness reference planes are assumed.
Microstrip uses the Hammerstad and Jensen (1980) expressions for impedance and effective permittivity, with the finite-thickness width correction. Stripline between two planes uses Cohn's exact elliptic-integral result with Wheeler's finite-thickness effective width. Off-centre stripline combines two centred striplines in parallel, one per plane spacing. Coplanar waveguide uses the conformal-mapping expressions found in Wadell's Transmission Line Design Handbook, with the strip widened for thickness. IPC-2141 supplies the second microstrip and stripline formulas, the embedded microstrip and the differential coupling terms.
Solder mask over the trace is not modelled. It lowers the impedance of outer-layer traces, so a masked board can read a few ohms below a bare-trace result.
How it works
The result is the formula's value for the dimensions entered. The page states which formula it used and shows a warning when an input leaves the range the formula was written for, such as w/h above 2 for IPC-2141 microstrip or w/b above 0.35 for its stripline.
Solving for width bisects between 2 % and 30 times the height (just under the plane spacing for stripline), and refuses with the range it searched if the target cannot be reached.
When to use it
- A designer picks a starting width for 50 ohm outer-layer traces before sending the stack-up to the fabricator.
- An engineer lays out a 100 ohm differential pair on 0.15 mm prepreg with 0.2 mm traces. A 0.15 mm gap gives 94.2 ohm, 0.25 mm gives 104.3 ohm, and a 0.20 mm gap gives 100.0 ohm, so that is the spacing she sends to the fabricator.
Inputs
- Pick the structure and the unit for dimensions.
- Enter the width, the heights, Er and the copper thickness.
- Read Z0, effective Er and delay, and compare the two formulas.
- Switch on the differential pair and enter the gap between the traces if you need Zdiff.
- Solve the width for your target impedance and copy it back to the inputs.
- Add the result to the summary and export it.
Worked example
Microstrip on FR-4: Er 4.3, dielectric height 1.6 mm, 1 oz copper, target 50 ohm
Structure: microstrip
Formula: Hammerstad and Jensen
Solve the width for 50 ohmSolved width and impedance at 3.0 mm
Width 3.070 mm (IPC-2141: 2.986 mm)
At 3.0 mm: Z0 50.69 ohm, effective Er 3.262, delay 153.0 ps per inch (6.02 ps/mm); IPC-2141 gives 49.83 ohm
With 1 A and a 10 C rise on 1 oz copper: 0.303 mm external, 0.788 mm internalTips for best results
- Enter the Er and the prepreg thickness from the fabricator's stack-up, not generic FR-4 values; resin content changes both.
- Compare the two formulas for your structure before trusting either; a gap of more than 3 ohm means the structure is outside what the closed forms handle well.
- Use the delay figure for length matching: about 6 ps per millimetre for outer-layer FR-4 and about 7 for inner layers.
Limits
Closed-form results are typically within a few percent of a field solver for ordinary geometries and can be much worse for embedded microstrip, very narrow gaps or traces that are thick compared with the dielectric.
Dispersion is ignored, so impedance and delay shown are low-frequency values.
An etched trace is trapezoidal, not rectangular; the width entered should be the average width the fabricator will deliver.
The IPC-2221 current fit is a conservative first estimate. IPC-2152 charts, based on later measurements, allow for the cooling effect of nearby planes and usually permit a narrower trace.
Differential impedance depends on the gap through an empirical correction valid for roughly 0.2 to 3 times the dielectric height. Below a gap of one dielectric height the pair is tightly coupled and the IPC-2141 fit can read several percent low, so the page warns there; confirm tight pairs with a field solver.
A solved width shorter than the fabricator's minimum is not a design; check the fabricator's rules.
Common errors and how to fix them
- These dimensions are outside what the formula can evaluate.
- The IPC-2141 stripline logarithm goes negative for very wide traces. Reduce the width, or switch to the Cohn-Wheeler formula.
- The copper must be thinner than the plane spacing.
- Check the stripline spacing: it is plane to plane, not the dielectric on one side.
- No width gives 50 ohm with these dimensions.
- The target may be unreachable with this dielectric height. Increase the height for a higher impedance or reduce it for a lower one.
Best practices
- Record which formula produced each number in the summary; the PDF lists them.
- Send the fabricator the target impedance and tolerance, and let their solver set the final width.
- Keep traces over an unbroken reference plane; no calculator accounts for a split.
What the formulas give in limiting cases
For an air-filled microstrip with width equal to height the model gives 126.42 ohm, the figure the Hammerstad-Jensen air formula yields for that ratio. A microstrip on alumina (Er 9.9) with w/h = 0.96 comes out at 50.04 ohm. The stripline expression reproduces Cohn's exact elliptic-integral result for zero thickness by construction (for example 100.5 ohm divided by the square root of Er at w/b = 0.5) and agrees with Wheeler's wide-strip approximation 94.15 / (w/b + 0.441) to 0.5 %.
Frequently asked questions
Why do two formulas give different widths?
They were fitted to different data over different ranges. Hammerstad and Jensen fitted a numerical solution of the microstrip problem; IPC-2141 is a simpler rule of thumb valid for a limited w/h range. The difference tells you the uncertainty of the method.
Can I trust a width for a differential pair?
As a starting point. The coupling term is an empirical fit around the single-ended value; for tight coupling, or when the pair goes through a different dielectric, use the fabricator's solver.
How is the current-carrying width calculated?
From I = k dT^0.44 A^0.725, with A the cross-section in square mils and k = 0.048 for outer layers and 0.024 for inner ones. It is the fit usually quoted from IPC-2221, not a reading of the IPC-2152 charts.
Does it include the solder mask?
No. A mask layer raises the effective permittivity and lowers the impedance of an outer trace by a few ohms; confirm with the fabricator's number.