AmpHourMath
  1. Home
  2. How We Calculate

How We Calculate

Formulas

Wh = Ah × V
Ah needed = W × hours ÷ (V × depth of discharge × inverter efficiency)
Runtime (lithium) = Ah × V × depth × efficiency ÷ W
Runtime (lead-acid) = 20 × (Ah ÷ (I × 20))k × depth
Generator peak = Σ running watts + largest single starting surge
Generator size ≥ max(peak × (1 + headroom), Σ running ÷ 0.8)

Defaults and why

Appliance data

Running and starting watts come from three published references compared line by line: the generator wattage chart of Champion Power Equipment, the portable generator wattage worksheet distributed by Lowe's, and the appliance power ratings table in Penn State's EGEE 102 course. Where the sources give a range we use the upper end, because undersizing a generator is the costlier mistake. Lowe's lists starting watts as an amount added to running watts; we convert it to a total so the rows compare.

Tests

The calculation code runs against hand-worked cases on every build, for example: 12 V × 100 Ah = 1,200 Wh; a 100 Ah 12 V LiFePO4 battery at 100 W through a 90% inverter lasts 10.8 hours; the Lowe's worked example of four tools adds up to 6,350 starting watts. A build with a failing test is not published.

Limits

Results are estimates. Real batteries age, cold weather cuts capacity, and appliance nameplates beat any table. Figures last reviewed November 2026.