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.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| currentnumber | A | 0.01 … 100 | 1 | RMS current through the trace |
| copperWeightnumber | oz | 0.5 … 4 | 1 | Copper thickness (1 oz = 35 μm = 1.378 mil) |
| tempRisenumber | °C | 1 … 100 | 10 | Allowed temperature rise above ambient |
| traceLengthnumber | mm | 1 … 10000 | 100 | Length of the trace (for resistance/voltage drop) |
| isExternalnumber | none | 0 … 1 | 1 | Internal layers carry less current than external ones for the same width and temperature rise |
| traceWidthnumber | mm | 0.01 … 100 | 0.5 | The 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 |
| boardThicknessnumber | mm | 0.2 … 6 | 1.6 | The 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 |
| planeDistancenumber | mm | 0 … 6 | 0 | The dielectric between the trace and the nearest solid copper plane under it; 0 means no plane. Only the board-specific width reads it |
| planeCopperWeightnumber | oz | 0.5 … 2 | 0.5 | The copper weight of that plane (35 µm per ounce). Only the board-specific width reads it, and only when there is a plane |
| standardnumber | none | 0 … 1 | 0 | The chart the current is checked against: IPC-2221A’s external or internal curve, or IPC-2152’s conservative chart for every conductor |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| width2221mm | mm | IPC-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 |
| width2152mmheadline | mm | IPC-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 |
| voltageDrop | V | Current × the DC resistance of the drawn trace width |
| powerDiss | W | Current² × the DC resistance of the drawn trace width |
| inChartRange | none | 1 when the rise is between 10 and 45 °C and the cross-section at most 700 sq mil, the range Figure 5-1 draws |
| widthBoardMm | mm | rftools 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 |
| inModelRange | none | 1 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 |
| limitCurrent | A | The 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 |
| minTraceWidth | mm | The 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.