Battery runtime calculator
How long a 12 V, 100 Ah battery runs a 60 W load through an inverter, and how fast runtime drops as the load grows.
Free. You get your own copy of this worksheet to change and extend (sign-in required).
Short answer
How long will a 100Ah battery last?
Multiply amp-hours by voltage to get watt-hours, then divide the energy you can use by the load. A 12 V, 100 Ah battery holds 1,200 Wh. Using 80% of it through a 90% efficient inverter, a 60 W load runs for 14.4 hours and pulls about 5.6 A from the battery.
The worksheet
Every value below is the output of the Calcanvas compute engine for exactly these cells, evaluated top to bottom. Variables carry their units from one cell to the next.
1. Battery
Capacity in A·h times voltage is energy in W·h.
capacity = 100 A*hV_bat = 12 VE_bat = (capacity*V_bat).to(W*h)2. Runtime for one load
DoD is how much of the capacity you are willing to use: around 0.8 for lithium, 0.5 for lead-acid. eff is the inverter efficiency.
DoD = 0.8eff = 0.9load = 60 Wruntime = (E_bat*DoD*eff/load).to(hr)I_draw = (load/(V_bat*eff)).to(A)3. Runtime across loads
The same sum as a function of the load, evaluated from 20 W to 300 W for the plot.
loads = (20, 40 .. 300) * Whours(P) = (E_bat*DoD*eff/P).to(hr)Make it yours
Open this example as a board and try a few changes. Results update as you type:
- Set DoD = 0.5 for a lead-acid battery.
- Try capacity = 200 A*h on a 24 V bank (V_bat = 24 V).
- Set eff = 1 for a DC load with no inverter.
More examples
- Three-phase power calculator — Real, apparent and reactive power of a 400 V, 32 A three-phase load, and the current a 15 kW motor draws.
- Ohm's law and resistor circuit calculator — Series and parallel resistance, current, power and a voltage divider for two resistors on a 12 V supply.
- RC circuit time constant and charging curve — Time constant, initial current and capacitor voltage of a 10 kΩ / 100 µF circuit on 5 V, with the charging curve plotted.