Skip to content
Documentation sections

PCB Trace Width Calculator (IPC-2221 / IPC-2152)

POSThttps://rftools.io/api/py/v1/calculate

Slug trace-width-current. Calculate minimum PCB trace width for current capacity per IPC-2221 and IPC-2152’s conservative Figure 5-1. Get resistance, voltage drop, and power dissipation at the width you draw. Free, instant results.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of trace-width-current
NameUnitRangeDefaultDescription
currentnumberA0.01 … 1001RMS current through the trace
copperWeightnumberoz0.5 … 41Copper thickness (1 oz = 35 μm = 1.378 mil)
tempRisenumber°C1 … 10010Allowed temperature rise above ambient
traceLengthnumbermm1 … 10000100Length of the trace (for resistance/voltage drop)
isExternalnumbernone0 … 11Internal layers carry less current than external ones for the same width and temperature riseOne of: 1 External (outer) layer · 0 Internal layer
traceWidthnumbermm0.01 … 1000.5The width as drawn: the standards check judges it, and the DC resistance, voltage drop and power are computed for it; the minimum widths do not use it
boardThicknessnumbermm0.2 … 61.6The whole board’s thickness. Only the board-specific width (rftools thermal model) reads it; the model is validated from 1.4 to 3.2 mm
planeDistancenumbermm0 … 60The dielectric between the trace and the nearest solid copper plane under it; 0 means no plane. Only the board-specific width reads it
planeCopperWeightnumberoz0.5 … 20.5The copper weight of that plane (35 µm per ounce). Only the board-specific width reads it, and only when there is a plane
standardnumbernone0 … 10The chart the current is checked against: IPC-2221A’s external or internal curve, or IPC-2152’s conservative chart for every conductorOne of: 0 IPC-2221A Fig. 6-4 · 1 IPC-2152 Fig. 5-1

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of trace-width-current
FieldUnitDescription
width2221mmmmIPC-2221 Figure 6-4 through its published fit: chart A (k = 0.048) on an external layer, chart C (k = 0.024) on an internal one
width2152mmheadlinemmIPC-2152 Figure 5-1, the conservative chart IPC-2152 recommends for internal and external conductors: the same on either layer
resistanceΩAt the drawn trace width and a 25 °C ambient plus the allowed rise
voltageDropVCurrent × the DC resistance of the drawn trace width
powerDissWCurrent² × the DC resistance of the drawn trace width
inChartRangenone1 when the rise is between 10 and 45 °C and the cross-section at most 700 sq mil, the range Figure 5-1 draws
widthBoardMmmmrftools thermal model (board-specific): rftools’ own model of a long trace on this FR-4 board in still air, with the plane, if any, under it, and a 15 % margin on the rise. It is not IPC-2152; inside its validated range it is never wider than the Figure 5-1 width
inModelRangenone1 when the board-specific width lies inside the range the thermal model was validated over: Width 0.25–5.1 mm (internal from 1.27 mm), copper ½–3 oz, board 1.4–3.2 mm, a plane from 0.1 mm under the trace to where it fits, plane copper ½–2 oz, rise 5–100 °C, ambient 0–85 °C, the rise before the margin
limitCurrentAThe most current the drawn trace may carry at the allowed temperature rise, read on the chosen chart
limitPercent%The current as a percentage of the chart limit; above 100 % does not comply
minTraceWidthmmThe width at which the current equals the chart limit; at or above it the trace complies

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.