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.

ƒx
capacity = 100 A*h= 100 A·h
ƒx
V_bat = 12 V= 12 V
ƒx
E_bat = (capacity*V_bat).to(W*h)= 1200 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.

ƒx
DoD = 0.8= 0.8
ƒx
eff = 0.9= 0.9
ƒx
load = 60 W= 60 W
ƒx
runtime = (E_bat*DoD*eff/load).to(hr)= 14.4 h
ƒx
I_draw = (load/(V_bat*eff)).to(A)= 5.55556 A

3. Runtime across loads

The same sum as a function of the load, evaluated from 20 W to 300 W for the plot.

ƒx
loads = (20, 40 .. 300) * W= [20 W, 40 W, 60 W, 80 W, 100 W, 120 W, 140 W, 160 W, …]
ƒx
hours(P) = (E_bat*DoD*eff/P).to(hr)= hours(P)
📈 Runtime against load
01020304050100150200250300loads (W)h
hours(loads) — Runtime (h) against load power (W).

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

Start your first worksheet

Free during early access, no credit card. Open a canvas and watch your math add up in the right units.