Skip to content
UseCalcNow
DIY & Home

Wire Gauge & Length Calculator

Calculate the correct wire gauge for your circuit based on amperage, voltage, and distance. Prevent voltage drop and ensure safe electrical wiring.

About This Calculator

Using the wrong wire gauge for an electrical circuit causes voltage drop, overheating at connections, and potential fire hazards that can destroy property and endanger lives. Voltage drop increases with both distance and amperage — a 20-amp circuit running 100 feet needs significantly heavier wire than the same circuit at 25 feet because resistance accumulates over distance. The National Electrical Code requires keeping voltage drop under 3% for branch circuits. Our wire gauge calculator determines the minimum AWG wire size based on your circuit amperage, one-way distance, and maximum acceptable voltage drop.

How to Use

  1. 1Enter the circuit amperage (breaker rating or expected load).
  2. 2Set the circuit voltage (120V standard, 240V for heavy appliances).
  3. 3Enter the one-way wire length from panel to load.
  4. 4Set the maximum acceptable voltage drop (3% is the NEC recommendation).

When to Use

  • Running a new circuit to a shed, garage, or outbuilding.
  • Checking if existing wiring is adequate for a new appliance.
  • Planning a solar panel or battery bank wiring run.

Tips

  • NEC recommends maximum 3% voltage drop for branch circuits and 5% for feeders.
  • When in doubt, go one size larger — slightly thicker wire runs cooler and more efficiently.
  • For 240V circuits (dryers, ranges, EV chargers), always use dedicated circuits with proper gauge wire.

Understanding AWG and Ampacity

The American Wire Gauge (AWG) system is counterintuitive: a smaller gauge number means a thicker wire. 14 AWG is rated for 15 amps, 12 AWG for 20 amps, and 10 AWG for 30 amps on standard copper conductors. These ampacity ratings assume normal operating temperatures and a single conductor in free air or conduit. When multiple current-carrying conductors share a conduit, NEC Table 310.15(C)(1) requires derating — four to six conductors drop to 80% capacity, and seven to nine drop to 70%.

Ampacity also depends on insulation temperature rating. THHN wire rated at 90°C has a higher base ampacity than THWN rated at 75°C, but you must use the 75°C column when terminating on standard circuit breakers and equipment rated for 75°C. This distinction catches many DIYers off guard. For help estimating the physical dimensions of your project enclosure or conduit path, see our Pipe Calculator.

Voltage Drop on Long Runs

Voltage drop occurs because every foot of wire has measurable resistance, and that resistance steals voltage from your load. On a 120V circuit with 3% allowable drop, you have only 3.6V to lose. At 20 amps on 12 AWG copper (1.98 Ω/kft), a 100-foot one-way run drops 7.92V — well over the limit — forcing an upgrade to 10 AWG. This is why long runs to outbuildings, workshops, and landscape lighting almost always require heavier wire than the ampacity table alone would suggest.

The formula is straightforward: Voltage Drop = 2 × Length (ft) × Current (A) × Resistance (Ω/kft) ÷ 1000. The factor of 2 accounts for the hot and neutral conductors. For 240V single-phase circuits, the same formula applies but the higher voltage means a given drop represents a smaller percentage. When planning outdoor circuits that share a trench with water lines, our Concrete Slab Calculator helps estimate pad dimensions for junction boxes and equipment pads.

Wire Types and Insulation Ratings

NM-B (Romex) is the most common residential wiring — it's affordable, easy to work with, and rated for dry indoor locations. UF-B cable looks similar but has solid plastic sheathing for direct burial underground without conduit. THHN/THWN individual conductors are pulled through conduit and offer the highest durability and temperature ratings, making them the go-to choice for garages, workshops, and wet locations.

Never use NM-B in conduit outdoors, in wet areas, or exposed to sunlight — the paper filler inside absorbs moisture and degrades. For buried runs feeding a shed or gazebo, UF-B or THWN in PVC conduit is the correct choice. If your project involves building the structure itself, our Deck Calculator and Fence Calculator can help estimate lumber and fastener quantities for the framing.

Planning Workshop and Garage Circuits

A well-planned workshop needs dedicated circuits for heavy-draw tools. A table saw draws 15-18 amps at startup, a dust collector another 10-12 amps, and a compressor 15-20 amps — all potentially running simultaneously. Plan at least two 20-amp, 120V circuits for convenience outlets, a dedicated 240V circuit for large machines, and a separate circuit for lighting so a tool trip doesn't leave you in the dark. Run 12 AWG minimum for all 20-amp circuits even if code allows 14 AWG on shorter 15-amp runs.

Subpanels are often the most practical solution for detached garages and workshops. A 60-amp feeder from the main panel using 6 AWG copper or 4 AWG aluminum gives you room for multiple branch circuits. When sizing the overall workshop build, our Lumber Calculator helps estimate framing material, and the Shelf Calculator is useful for planning tool storage and workbench dimensions.

Safety and Electrical Code Compliance

The National Electrical Code (NEC) is updated every three years and most jurisdictions adopt the latest version within a year. Key rules for DIY wiring: all splices must be in accessible junction boxes (no buried wire nuts), ground wires must be continuous and bonded to metal boxes, GFCI protection is required in garages, outdoors, kitchens, bathrooms, and laundry areas, and AFCI protection is required for bedroom and living area circuits. A failed inspection means opening walls to fix problems — measure twice, wire once.

Permit requirements vary by municipality, but most areas require a permit for any new circuit, panel upgrade, or feeder to an outbuilding. The permit process includes a rough-in inspection before closing walls and a final inspection. Working without a permit can void your homeowner's insurance and complicate future home sales. For outdoor landscaping projects that accompany electrical work, our Mulch Calculator and Soil Calculator help plan the finishing touches.

Common Wiring Mistakes to Avoid

The most frequent DIY wiring mistake is using wire that's too thin for the run length — technically meeting ampacity but ignoring voltage drop. A 15-amp circuit on 14 AWG wire works fine at 25 feet, but at 100 feet the voltage drop exceeds 3% and your tools, lights, and appliances underperform. The second most common error is loose connections: a wire nut that isn't twisted tight creates high-resistance heat, which is a leading cause of electrical fires. Always tug-test every connection before closing the box.

Other pitfalls include backstabbing devices (pushing the wire into the quick-connect hole on the back of a receptacle instead of using the screw terminal), overfilling junction boxes beyond their fill capacity, and running NM-B cable in locations where it's not rated. For projects that combine electrical and mechanical work, our Rope Length Calculator helps with rigging and pull-line estimates, and the Paver Calculator is handy for laying a proper base under outdoor electrical equipment pads.

FAQ

What happens if I use wire that is too thin?

Undersized wire causes excessive voltage drop (appliances underperform), overheating (fire risk), and breaker tripping. The NEC specifies minimum wire sizes — these are code requirements, not suggestions.

What is voltage drop?

Voltage drop is the reduction in voltage as electricity travels through wire resistance. Longer runs and higher amperage cause more drop. At 3% drop on a 120V circuit, your device receives only 116.4V.

Does wire material matter?

Yes. Copper is the standard. Aluminum wire has about 1.6x more resistance than copper, requiring a larger gauge for the same application. Aluminum is used mainly for service entrance cables.

Related Calculators