Wire & Watts

Size your generator, wire and battery backup — with the code tables shown.

Ten free calculators for US homes. Each one shows its formula, the NEC table behind it and a worked example, so you can check the answer instead of trusting it.

Updated by Biel Vazquez · NFPA 70 (National Electrical Code) 2023 · EIA prices for January–July 2026 · How we calculate

What do you need to figure out?

Backup power

Generators, portable power stations and home batteries: how big, how long, how much fuel.

Wiring

Wire gauge, voltage drop and breakers by the NEC tables, including the cable-type rules most charts skip.

Energy use and cost

Watts, amps and what an appliance costs to run at your state’s actual electricity price.

Electricity prices by state

Average residential price, January–July 2026, from the U.S. Energy Information Administration. The cost calculators use these figures.

Three cheapest and three most expensive of the 50 states and DC.
State¢/kWh
North Dakota12.36
Nebraska12.90
Idaho12.96
U.S. average18.19
Massachusetts30.14
California33.25
Hawaii46.28

All 50 states and DC, with year-over-year change

Guides

One question each, answered with numbers from the calculators.

All 17 guides

How this site works

Every calculation runs in your browser with the same code that renders the page, using tables copied from the NFPA 70 (National Electrical Code) 2023, the EIA and the Department of Energy. Each page names its sources and the date they were last checked. Read the methodology for every formula and assumption, and the safety notice before you pick up a screwdriver.