Battery Size Calculator
Find the battery capacity needed for a given load and runtime.
Size a battery so it lasts the runtime you need, with margin.
The math behind it
capacity = current x runtime / usable fraction. Don't fully discharge - 80% usable is common.
Worked example
2 A for 5 hours at 80% usable needs a 12.5 Ah battery.
FAQ
Why not use 100%?
Deep discharge shortens battery life, so leave headroom.