Wire Gauge Calculator: AWG by Amps & Length (12V / 24V)
Pick the right AWG for your train horn compressor or solenoid. 12V/24V voltage drop, ABYC-compliant ampacity, fuse sizing — all in one calculator. Free, embeddable.
Quick pick — common train horn loads
Continuous amp draw of the device
Battery to device (not including return)
3% is industry standard; 5% is OK for low-priority
Max allowed drop: 0.36 V at 3% of 12V.
Minimum wire gauge
6AWG
At this gauge, 30A over a 10 ft run drops 0.24V (2.0%) — within your 3% limit.
Recommended fuse: 40A (at 125% of continuous load).
All gauges compared
| AWG | V drop | % of 12V | Ampacity | Verdict |
|---|---|---|---|---|
| 20 | 6.09V | 50.7% | 7.5A | Drop high |
| 18 | 3.83V | 31.9% | 10A | Drop high |
| 16 | 2.41V | 20.1% | 15A | Drop high |
| 14 | 1.51V | 12.6% | 20A | Drop high |
| 12 | 0.95V | 7.9% | 25A | Drop high |
| 10 | 0.60V | 5.0% | 35A | Drop high |
| 8 | 0.38V | 3.1% | 50A | Drop high |
| 6 | 0.24V | 2.0% | 70A | Recommended |
| 4 | 0.15V | 1.2% | 95A | OK |
| 2 | 0.09V | 0.8% | 130A | OK |
| 1/0 | 0.06V | 0.5% | 170A | OK |
| 2/0 | 0.05V | 0.4% | 195A | OK |
| 4/0 | 0.03V | 0.2% | 260A | OK |
Ampacity values from ABYC E-11, bundled engine-bay wire @ 30 °C ambient, 105 °C insulation. Single-run chassis wire can safely carry more (up to 30% higher).
The math
- Voltage drop formula
- V = 2 × I × L × R / 1000
- Round-trip conductor length
- 20 ft
- Copper resistance @ recommended gauge
- 0.395 Ω / 1000 ft
- Recommended fuse (1.25× load)
- 40 A
The formula doubles the one-way run length because current flows through both the supply and ground conductors. For chassis-ground installs, the return path is still steel with non-trivial resistance — running a dedicated ground wire the same gauge as the supply cures most mystery voltage-drop complaints on a compressor install. Resistance rises roughly 0.4% per °C above 20 °C, so in a 140 °F engine bay add another ~15% on the drop number.
Embed & share
Current values are preserved in the link and embed code.
How to calculate wire gauge for a 12V train horn install
Correct wire gauge for a 12V DC install is set by two constraints: ampacity (the wire's ability to carry current without overheating) and voltage drop (how much voltage the wire wastes as heat between battery and load). In a train horn compressor circuit, voltage drop is almost always the tighter constraint because 12V has no headroom to give up — a Viair 480C at 11V runs noticeably slower than at 12.6V.
The industry standard is 3% maximum voltage drop on critical circuits. ABYC E-11 and SAE J-1127 codify this; the same rule applies to onboard air compressor feeders, horn solenoids, and accessory pumps. A 5% drop is tolerable for non-critical accessories (interior lights, cargo chargers) but never for motorized equipment.
The voltage drop formula
V_drop = 2 × I × L × R / 1000 where I is current in amps, L is the one-way wire length in feet, and R is copper resistance in ohms per 1000 feet. The factor of 2 accounts for current flowing through both the positive and ground conductors — a round trip. This is the same formula used by every professional AWG calculator; the difference is whether the tool applies proper automotive ampacity ratings on top, which is why we've baked ABYC E-11 numbers directly into the output table.
Copper resistance by AWG
Standard 20 °C copper resistance, in ohms per 1000 ft, for common automotive sizes:
- 14 AWG — 2.525 Ω/kft · 20 A bundled ampacity
- 12 AWG — 1.588 Ω/kft · 25 A
- 10 AWG — 0.999 Ω/kft · 35 A
- 8 AWG — 0.628 Ω/kft · 50 A
- 6 AWG — 0.395 Ω/kft · 70 A
- 4 AWG — 0.249 Ω/kft · 95 A
- 2 AWG — 0.156 Ω/kft · 130 A
Common train horn wire sizes
- Horn solenoid (5 A, 3 ft) — 16 AWG minimum
- Budget compressor (15 A, 8 ft) — 12 AWG
- Viair 480C (23 A, 10 ft) — 10 AWG
- Viair 400C (30 A, 10 ft) — 10 AWG
- Viair 444C (46 A, 10 ft) — 8 AWG
- Dual compressor setup (56 A, 12 ft) — 6 AWG
Always add 10–15% to the calculated drop for engine-bay ambient temps (140 °F is normal under the hood). For marine or frequently-wet installs, use tinned wire and bump up one gauge. For terminal connections, crimp-and-solder double-walled heat-shrink lugs — bare crimps on a high-current compressor feeder will corrode and add 0.2 V of drop within a year.
Frequently asked
- What gauge wire do I need for a train horn compressor?
- For a typical Viair 400C (30 A draw) over a 10 ft run from the battery, 10 AWG copper is the minimum for a 3% voltage drop. A Viair 480C at 23 A needs 10 AWG at 10 ft or 8 AWG at 15 ft. The dual-compressor ARB at 56 A needs 6 AWG for short runs, 4 AWG for anything over 12 ft. The calculator above gives you the exact answer for your run length.
- What is voltage drop and why does it matter?
- Voltage drop is the voltage lost to wire resistance before it reaches your compressor. At 3% drop, a 12V system delivers 11.6V instead of 12V — which slows the compressor and lengthens fill time. At 10% drop, voltage sags to 10.8V and the compressor motor runs hot and weak. Industry standards (ABYC, SAE) call for 3% max on critical circuits.
- Do I double the run length for voltage drop?
- Yes — DC current flows out through the positive wire and back through the ground, so the round-trip length drives the drop. This calculator uses 2× your one-way distance in the formula automatically. If you run a dedicated ground wire, size it the same as the supply. Chassis grounds have unpredictable resistance and are a top cause of "mystery" voltage drop complaints.
- What size fuse do I need?
- Rate the fuse at 125% of the continuous current, rounded up to the nearest standard size. A 30A compressor wants a 40A fuse; a 23A unit wants a 30A fuse; a 46A Viair 444C wants a 60A fuse. The fuse protects the wire, not the compressor — size it so the wire is never the weakest link.
- Can I use stranded vs solid wire?
- For automotive train horn installs, always use stranded copper. Vehicle vibration work-hardens solid copper and causes it to crack at the terminal. 12V marine wire (tinned, 105 °C insulation) is the gold standard, followed by SAE GPT and TXL. The ampacity tables in the calculator already assume stranded automotive-grade wire — solid copper carries a touch more.
- Does wire length affect compressor performance?
- Yes, substantially. A Viair 480C fed through undersized 14 AWG over 15 ft sees ~2V of drop, which cuts motor speed by 10–15% and adds 20–30% to fill time. Bumping up two gauge sizes cures it. Always favor shorter runs over thinner wire — mount the compressor near the battery or use a relay/solenoid close to the battery to keep the long run at low current.
- Are the ampacity ratings here for bundled or single-run wire?
- Bundled, engine-bay ratings per ABYC E-11 (30 °C ambient, 105 °C insulation). Single-conductor wire run through cool open air can safely carry about 30% more than the bundled number. The calculator plays it safe by using the lower bundled numbers — if your install genuinely has the wire in free air, you have headroom.
Related