How it works
Every wire is a small resistor, and current through resistance is lost voltage at the far end: lights dimming when the pump starts. The drop grows with current and with twice the run length, out and back. Above about 3 percent drop on a branch circuit, or 5 percent total, the usual advice is to go up a wire size and check again.
Formula
Copper resistance: 14 AWG 2.525, 12 AWG 1.588, 10 AWG 0.9989, 8 AWG 0.6282, 6 AWG 0.3951, 4 AWG 0.2485 ohms per 1000 ft.
Example
Example in plain words. 20 amps over a 100 foot run of 12 AWG copper on a 120 V circuit.
Drop: 6.352 V, which is 5.293333 percent, too much.
With 10 AWG the drop falls to 3.9956 V, 3.329667 percent, borderline; 8 AWG clears it comfortably.
Frequently asked questions
Why does length count twice?
The current makes a round trip, out on the hot wire and back on the neutral. Both legs drop voltage, so the formula doubles the one-way distance.
Does aluminum wire differ?
Yes, its resistance runs about 60 percent higher per size, which is why aluminum runs are sized thicker. This page uses copper values, the common case for branch circuits.