Does wire gauge or length matter more for ampacity?
Gauge matters more than length for ampacity. Use 14-gauge for under 15 amps, 12-gauge for 20 amps, and 10-gauge for 30 amps. Length only affects voltage drop on long runs, so for typical garage use under 50 feet, just check the gauge.