PCB trace width calculator: current, via, impedance and the LDO heat check
A PCB trace needs area A = (I / (k ΔT⁰·⁴⁴))^(1/0.725) mil² in the IPC-2221 fit, then width = A ÷ copper thickness. For 5 A on external 1 oz copper with a 10 °C rise that is 2.765 mm (108.9 mil); the same current on an internal layer needs 7.194 mm. Type your current, rise, copper and layer, or enter a width to get the current it carries. Free, runs in your browser.
Other tabs size a via barrel (current, resistance, how many vias, thermal resistance), find the width and spacing for a target microstrip or differential impedance with two models side by side, check the heat in an LDO, and compare a report's numbers with the formulas. The last tab was built after reading 62 public Skill-Lync reports: the TI LIDAR boost and SiC/IGBT gate driver reference designs, the Saturn PCB toolkit week and the PCB thermal simulation weeks of the PCB design courses. For the converter itself, use the buck and boost converter calculator and the converter loss calculator.
IPC-2221 (as Advanced Circuits and DigiKey print it) · Hammerstad and Jensen 1980 (Steer, Qucs) · IPC-2141 · TI SLVA773, TIDUEV9, LM1117 · Altium · checked against a separate solution (1,233 checks at build) · Updated 23 Nov 2026
Constants as Advanced Circuits prints IPC-2221: k 0.048 external, 0.024 internal, b 0.44, c 0.725, 1.378 mil per oz. The graphs behind the fit cover up to 35 A, 400 mil, 10 to 100 °C and 0.5 to 3 oz; outside that the result is an extrapolation and the lines below turn red. Resistance uses ρ 1.72 µΩ·cm at 25 °C and 0.00385 per °C, at ambient plus the rise.
IPC-2221 has no via table: this puts the barrel's copper ring, π t (d + t), through the trace curve, as other via calculators do. The thermal resistance L/(kA) uses 385 W/m·K and ignores package, solder, spreading, fill and convection. The finished hole, not the pad, sets the area.
Defaults are the Saturn PCB toolkit challenge: 0.2362 mm conductor height, 35 µm copper, 100 Ω differential. Saturn's own εr is not stated in the reports; 4.17 is the Isola 370HR value at 1 GHz. Both models assume bare copper in air. For a differential target, "spacing" is edge to edge.
Ground current is the quiescent current of the regulator: read it from your part's data sheet. 125 °C is the LM1117 junction limit. The stack-up list holds only what Altium and TI state.
Defaults are one report's external 0.555 mil width, checked for 100 mA, 1 oz and 10 °C. The second default set is the Saturn week via: 2 mm hole, 0.15223 mm plating, 1.4210 A as the report typed it.
| Quantity | Value |
|---|---|
| Copper thickness | 1.378 mil (35 µm) |
| Cross-section | 150 mil² (0.09679 mm²) |
| Resistance at 35 °C, 100 mm | 18.45 mΩ |
| Voltage drop | 92.27 mV |
| Power in the trace | 461.3 mW |
- 5 A is inside the 35 A of the IPC-2221 graphs.
- 108.9 mil is inside the 400 mil (0.4 inch) of the graphs.
- A 10 °C rise is inside the 10 to 100 °C range of the graphs.
- 1 oz/ft² is inside the 0.5 to 3 oz of the graphs.
| Quantity | Value |
|---|---|
| Barrel copper area | 0.02553 mm² (39.56 mil²) |
| Vias for the current (barrel formula) | 1 |
| Vias at one per amp (TI) | 2 |
| Resistance, one via | 1.161 mΩ |
| Resistance, all vias | 1.161 mΩ |
| Voltage drop | 2.322 mV |
| Thermal resistance, one via | 162.8 °C/W |
| Thermal resistance, all vias | 162.8 °C/W |
| Plating that carries it with one via | 17.98 µm |
- IPC-2221 has no via table. This applies its trace curve to the barrel's copper ring, an approximation.
- Paralleled vias do not always share current evenly: add margin.
- TI's boost layout note suggests one via per amp: 2 for 2 A. The barrel formula says 1.
| Model | Z0 (Ω) | Zdiff (Ω) |
|---|---|---|
| Hammerstad-Jensen | 66.67 | 114.4 |
| IPC-2141 | 66.06 | 113.4 |
| To reach the target | Hammerstad-Jensen | IPC-2141 |
|---|---|---|
| Width for 100 Ω differential (s 0.3 mm) | 0.3305 mm | 0.3192 mm |
- w/h and εr are inside the 0.01 to 100 and up to 128 where Hammerstad-Jensen is quoted at better than 0.2%.
- IPC-2141 is used inside the range where it behaves; Altium quotes up to 7% error.
- Both models assume bare copper in air. Solder mask lowers the impedance a little.
- Differential: the IPC-2141 coupling factor 1 − 0.48 exp(−0.96 s/h) is applied to both models. No Hammerstad-based coupled model was read.
| Quantity | Value |
|---|---|
| Dissipation | 0.875 W |
- Junction 78.9 °C is under the 125 °C of the LM1117 data sheet.
| Layer | Role |
|---|---|
| L1 top | Signal and parts |
| L2 | Ground plane next to the top signal layer: lets traces be designed to an impedance (Altium) |
| L3 | Power layer: often not needed, Altium says |
| L4 bottom | Signal |
- IPC-2221 gives 0.4938 mil (0.01254 mm) for these inputs.
- No mil and mm mix-up: the ratio is not 25.4.
- Not the other layer's constant.
Examples: a report with 1.44 mil internal and 0.555 mil external, one with 0.642 and 0.247 mil, the Saturn via and differential pair report.
How do you calculate PCB trace width?
The IPC-2221 trace width is a curve fit to the standard's graphs of rise against current. Advanced Circuits and DigiKey print it as an area, then a width:
Here I is the current in A, ΔT the rise above ambient in °C, A the copper cross-section in mil² and t the copper thickness in mil. The thickness is oz/ft² × 1.378 mil, so 1 oz is 1.378 mil or 35 µm. k is 0.048 for an external layer and 0.024 for an internal one: in air the outer layers shed heat by convection, while the dielectric blankets the inner ones, so they get hotter at the same width. That is why the internal width is 2.601 times the external one at every current.
| Current | External 1 oz | External 2 oz | Internal 1 oz | Internal 2 oz |
|---|---|---|---|---|
| 1 A | 0.3004 mm (11.83 mil) | 0.1502 mm (5.913 mil) | 0.7814 mm (30.76 mil) | 0.3907 mm (15.38 mil) |
| 2 A | 0.7814 mm (30.76 mil) | 0.3907 mm (15.38 mil) | 2.033 mm (80.03 mil) | 1.016 mm (40.02 mil) |
| 3 A | 1.367 mm (53.82 mil) | 0.6835 mm (26.91 mil) | 3.556 mm (140 mil) | 1.778 mm (70 mil) |
| 5 A | 2.765 mm (108.9 mil) | 1.383 mm (54.44 mil) | 7.194 mm (283.2 mil) | 3.597 mm (141.6 mil) |
| 10 A | 7.194 mm (283.2 mil) | 3.597 mm (141.6 mil) | 18.71 mm (736.8 mil) | 9.357 mm (368.4 mil) |
| 20 A | 18.71 mm (736.8 mil) | 9.357 mm (368.4 mil) | 48.69 mm (1917 mil) | 24.34 mm (958.4 mil) |
All at a 10 °C rise, computed by the calculator above. A larger rise allows a narrower trace: at 20 °C, 5 A on external 1 oz needs 1.816 mm.
Resistance follows from the width: R = ρ(T) L / (W t). It is what turns current into the voltage drop and the I²R heat, and it is why the rise matters at the end of a long trace, not only at the copper limit.
Should I use IPC-2221 or IPC-2152?
IPC-2221 is the standard the Skill-Lync reports and most online calculators quote. Cadence notes it "was developed only for a single type of board with a single copper weight", and Altium and Cadence both say it tends to overestimate the rise, so its widths are on the safe side. The graphs cover up to 35 A, 400 mil (0.4 inch), 10 to 100 °C and 0.5 to 3 oz, as Advanced Circuits states.
IPC-2152 varies copper weight, internal against external traces and the environment, but, as Cadence writes, its results "were not summarized into a simple formula". Because no free source gives its charts as a formula, this calculator does not invent one. For a design near the limit, read your result against the IPC-2152 charts or simulate the board; the Skill-Lync PCB thermal simulation week does that in Ansys Icepak.
How many amps can a PCB via carry?
IPC-2221 defines its formula for flat, straight traces, not barrels. The usual workaround treats the plated barrel as a copper ring and puts its area through the same curve:
d is the finished hole and tp the plating. A 0.3 mm hole with 25 µm plating has 0.02553 mm² of copper, which carries about 2.581 A at a 20 °C rise and is 1.161 mΩ long on a 1.6 mm board. Barrel copper is small next to a trace, so several vias are used in parallel, and parallel vias do not always share the current evenly. TI's boost layout note suggests one via per amp.
For heat, the same ring conducts along the barrel: Rθ = L / (k A) with copper at 385 W/m·K gives 162.8 °C/W per via here. A worked example elsewhere, with the area written as π d t, reaches 176 °C/W for the same hole, and says what it leaves out: package, solder, spreading, fill and convection. Use it to compare via counts, not to predict a junction temperature.
How do you calculate microstrip and differential pair impedance?
A microstrip trace over a ground plane has an impedance set by w/h and εr. The most quoted closed form in PCB tools is IPC-2141:
Altium says it "is known to have up to 7% error", and one published comparison finds it gives a negative impedance for w/h above 7.5. Hammerstad and Jensen's model, in the form Steer and the Qucs documentation print, is quoted at better than 0.2% for 0.01 ≤ w/h ≤ 100 and εr up to 128 in the effective permittivity. It takes two steps: a homogeneous-medium impedance, then a division by the effective permittivity.
The calculator adds the strip-thickness correction that Hammerstad and Jensen give (widening the strip by a thickness term). The Qucs page prints the square root of 6.517 with W inside it: the calculator uses w/h there, as the root needs a number without units, and it is the one step we could not check against a second printed source. For 0.2362 mm of dielectric, 35 µm of copper and εr 4.17, a 0.25 mm trace is 66.67 Ω by Hammerstad-Jensen and 66.06 Ω by IPC-2141, and a 50 Ω line needs 0.4391 mm.
For an edge-coupled pair, IPC-2141's factor 1 − 0.48 e−0.96 s/h multiplies 2Z0. No free Hammerstad-based coupled model was read, so the calculator applies this one factor to both models and says so. A 100 Ω differential at s = 0.3 mm needs w = 0.3305 mm (Hammerstad-Jensen) or 0.3192 mm (IPC-2141); at w = 0.2 mm the spacing is 0.1002 mm. A centred stripline uses the IPC-2141 form below, with b the spacing between the two planes; no differential stripline formula was read, so none is given.
The default εr 4.17 is Isola 370HR at 1 GHz; its sheet lists 4.24 at 100 MHz, 4.04 at 2 GHz and 3.92 at 5 and 10 GHz, so εr changes with frequency and resin content. Solder mask lowers the real impedance a little.
How hot does an LDO get, and what do TI and Altium say about the stack-up?
A linear regulator burns the whole drop. The LM1117 data sheet gives the power and the junction temperature:
5 V to 3.3 V at 0.5 A with 5 mA of ground current is 0.875 W, so a SOT-223 (61.6 °C/W in that data sheet) reaches 78.9 °C at 25 °C ambient and the efficiency is 65.35%. The data sheet limits the junction to 125 °C. TI's boost layout note adds what helps a regulator on a board: a large copper area on the ground layer, vias between the top and bottom layer, thick copper and a thin dielectric.
On stack-up, Altium describes the common four-layer order, signal, ground, power, signal, and says a ground plane next to a signal layer lets you design traces to an impedance and that a power layer is "often used in situations where it is not needed". For fast-switching, high-current circuits it describes a power layer between grounds, which it says "helps to suppress noise". TI's SiC/IGBT gate driver reference design (TIDA-020030, TIDUEV9) is a 4-layer board; the TI LIDAR boost reference design (PMP21629) pages do not state a layer count, so none is given. Two-layer and six-layer pickers are not offered: no free source read here states their layer roles.
What did 62 reports do?
Skill-Lync read every public report of these projects on 23 Nov 2026. As of that date n = 62: 22 are Project 1, the 40 V to 80 V boost reference design for LIDAR, 20 are Project 2, the SiC/IGBT isolated gate driver, 19 are PCB thermal simulation and trace heating reports, and 1 is the Saturn PCB toolkit challenge. The median report has 1,168 words of text and 3 images; none is mostly images. Counts below are of the report text only, over the 42 Project 1 and 2 reports.
| In the report text | Reports | Examples |
|---|---|---|
| Types the IPC-2221 area and width formulas (1.378 mil per oz) | 23 | 1, 2 |
| Gives both k values, 0.048 and 0.024 | 8 | 1, 2 |
| Names IPC-2221 / names IPC-2152 | 28 / 4 | 1, 2 |
| Types the 35 A, 400 mil, 10 to 100 °C limits | 3 | 1, 2 |
| Types the formula but no width computed from it | 7 | 1, 2 |
| Types a width under 1 mil (0.247 / 0.555 mil external) | 5 | 1, 2 |
| Says the formula allows 100 °C to 1000 °C | 1 | 1 |
| Names a calculator: Bittele / Saturn | 4 / 7 | 1, 2 |
| Names a 2 / 4 / 6 / 8-layer board | 34 / 30 / 5 / 6 | 1, 2 |
| Thermal vias / ground plane named | 10 / 26 | 1, 2 |
| Gives no number or calculator for the trace width | 4 | 1, 2 |
- The formula is copied, the width is not always worked out. 23 of 42 type the area and width formulas, but 7 of them do not turn it into a width, and 7 share the identical sentence "The best way of finding the PCB trace width is by applying the trace width equation".
- Sub-mil widths. 5 reports compute 0.247 to 1.44 mil, the same internal-to-external ratio of 2.6 that the formula gives for k 0.048 against 0.024. The ratio is right; a width of 0.555 mil (14 µm) is an electrical minimum for about 0.1 A, not a width a fab can etch, and two reports from the same calculator page show a 4 mil minimum for 1 oz outer layers.
- One slip I can count. 1 report writes that the formula allows a temperature change "from 100C to 1000C"; the graphs cover 10 to 100 °C.
- The Saturn week. The report's via has a 2 mm hole and a plating of 0.15223 mm (152 µm); this calculator's barrel formula gives 37.65 A at a 20 °C rise for that, not the 1 A the report tunes to. Saturn's via method was not read, so the gap is not blamed on either tool: check the unit, as a typical plating is tens of µm. Its first result, 1.421 A, cannot be reproduced without Saturn's own pad and board inputs.
| Thermal simulation reports (19) | Reports | Examples |
|---|---|---|
| PCB thermal simulation: layer thickness table typed | 8 | 1, 2 |
| Joule heating of the traces named | 18 | 1, 2 |
| Ansys Icepak named | 14 | 1, 2 |
| Conduction-only maximum of 64.7 °C typed | 4 | 1, 2 |
The Icepak week models the trace layers and their Joule heating. The I²R of a trace from the first tab is the hand check for it.
What this calculator does not cover
- IPC-2152: a chart standard; no formula is implemented. The result here is the conservative IPC-2221 one.
- Pulses, skin effect and AC: all currents are DC or RMS in steady state.
- Via current with a real current path: the ring model does not know where the current enters; a field simulation does.
- Field-solver accuracy: solder mask, etch trapezoid, glass weave and the εr at your frequency move impedance by more than the formula differences. Ask your fab for the stack-up it will build.
- Differential stripline, coplanar waveguide and 2-layer or 6-layer stack-ups: no formula or layer rule from a source we read.
Sizing traces and vias for the current, building a 100 Ω pair and laying out a power stage are what PCB interviews test. The Saturn PCB toolkit week and the thermal simulation week are part of Skill-Lync's PCB design and power electronics courses.
Frequently asked questions
How wide should a PCB trace be for 1 A, 5 A and 10 A?
IPC-2221 for a 10 °C rise on external 1 oz copper: 0.3004 mm (11.83 mil) for 1 A, 2.765 mm for 5 A and 7.194 mm for 10 A. On 2 oz copper the widths halve. Internal layers need about 2.6 times more. Skill-Lync's calculator gives other currents, rises and copper weights.
What is the IPC-2221 trace width formula?
Area in mil² = (I / (k ΔT^0.44))^(1/0.725), where k is 0.048 for external and 0.024 for internal layers and ΔT is the rise in °C. Width in mil = area / (oz × 1.378). The constants fit the IPC-2221 graphs, which stop at 35 A, 400 mil and 100 °C.
What is the difference between IPC-2221 and IPC-2152?
IPC-2221 is a single curve fit, from boards of one type and one copper weight, and sources call it conservative. IPC-2152 is newer: it varies copper weight, internal against external traces and the environment, but its results are charts, not one formula. This calculator uses IPC-2221 only and says so.
How many amps can a via carry?
IPC-2221 has no via table. The usual method applies its trace curve to the barrel's copper ring, area π t (d + t). A 0.3 mm hole with 25 µm plating carries about 2.581 A at a 20 °C rise by that estimate. TI's boost layout note suggests one via per amp, and paralleled vias share unevenly.
What is 1 oz copper in mm?
1 oz/ft² is the thickness you get by spreading 1 oz of copper over one square foot: 1.378 mil in the IPC-2221 formula, which is 0.035 mm or 35 µm. Some sources round it to 34.8 µm. 0.5 oz is about 17.5 µm and 2 oz about 70 µm. Outer layers gain a little from plating.
How do I calculate microstrip impedance?
Use Hammerstad-Jensen: Z0 = Z01/√εe, with the strip thickness correction. For a 0.2362 mm dielectric, 35 µm copper and εr 4.17, a 0.25 mm trace gives 66.67 Ω. The older IPC-2141 formula gives 66.06 Ω here but is quoted at up to 7% error.
What is the layer order of a 4-layer PCB?
The common order is signal, ground, power, signal. Altium notes a ground plane next to a signal layer lets you design traces to an impedance, and that a power layer is often used where it is not needed. TI's gate driver reference design TIDA-020030 is a 4-layer board.
Related on Skill-Lync
- Converter loss calculator: the losses of the converter these boards carry
- Buck and boost converter calculator: the inductor and capacitor sizing before the layout
- Automotive fuse and wire size calculator: the same current-to-copper question for wire
- Control panel heat calculator: busbar I²R, breaker losses and how hot the enclosure around them gets (the Icepak panel project)
- Wiring harness calculator: voltage drop in a harness
- PCB design courses (Altium) compared
- All free engineering tools
Sources
- Advanced Circuits, Trace Width Calculator: the IPC-2221 area and width formulas, k 0.048 and 0.024, b 0.44, c 0.725, 1.378 mil per oz, and the 35 A, 0.4 inch, 10 to 100 °C and 0.5 to 3 oz limits of the graphs; DigiKey, PCB Trace Width (same constants, "constants resulting from curve fitting to the IPC-2221 curves"). IPC-2221, IPC-2152 and IPC-2141 are paywalled: only what these free pages state is used.
- Cadence System Analysis, IPC-2152 vs. IPC-2221; Altium, IPC-2221 Calculator for PCB Trace Current and Heating: the conservatism of IPC-2221, one board type and one copper weight, air at STP.
- NextPCB, PCB Via Current Calculator: barrel area π × wall × (hole + wall), k 0.048 or 0.024, "IPC-2221 does not publish a dedicated via current-capacity table", ρ and α; bestpcbs, Thermal Vias: R = L/(kA), 385 W/m·K, 176 °C/W for a 1.6 mm, 0.30 mm, 25 µm via. TI SLVA773, Five Steps to a Good PCB Layout of a Boost Converter (May 2016): one via per amp, ground copper and vias for heat.
- DigiKey Forum, Resistance Values of PCBs: ρ 1.72 µΩ·cm at 25 °C, temperature factor 0.00385, 35 µm copper.
- E. Hammerstad and Ø. Jensen, Accurate Models for Microstrip Computer-Aided Design, IEEE MTT-S 1980, as reproduced in M. Steer, Fundamentals of Microwave and RF Design (LibreTexts) and the Qucs technical documentation (effective permittivity, Z01, F1, thickness correction, accuracy). NextPCB IPC-2141 pages (microstrip, differential microstrip, stripline); Altium, Determining Impedance of PCB Microstrip Traces (up to 7% error); f4inx, Microstrip formulas comparison (IPC-2141 negative above w/h 7.5). Isola 370HR data sheet (Dk by frequency).
- TI LM1117 data sheet SNOS412Q (PD, θJA by package, 125 °C); TI TIDUEV9 (TIDA-020030, 4-layer); TI TIDT153 (PMP21629 test report); Altium, 4-layer PCB stackup.
- Skill-Lync, the 62 public reports above, read 23 Nov 2026. scripts/verify/pcb_trace.py recomputes every case another way, with the Hammerstad-Jensen model written separately, the width and spacing solves by bisection on a different bracket and each root checked in the forward formula. 130 cases; the page checks itself against it at build time (1,233 checks).