Documentation sections
Wire Gauge Calculator (AWG)
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug wire-gauge. Convert between AWG and mm², calculate wire current capacity, resistance, and voltage drop
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 |
|---|---|---|---|---|
| awgnumber | AWG | 0 … 40 | 22 | Wire Gauge |
| currentnumber | A | at least 0 | 1 | Current |
| lengthnumber | m | at least 0 | 1 | Wire Length |
| resistivitynumber | Ω·mm²/m | any | 0.01724 | Copper = 0.01724, Aluminum = 0.0282 |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| diameter | mm | Wire Diameter |
| crossSectionheadline | mm² | Cross-Section Area |
| resistance | Ω | Wire Resistance |
| voltageDrop | V | Voltage Drop |
| currentCapacity | A | Current Capacity |
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.