Circuit fundamentals
Battery capacity and runtime
Also called: mAh · watt-hours · battery life · energy budget
Definition
A battery's capacity in ampere-hours says how long it can supply a current; multiplied by its voltage it gives stored energy in watt-hours.
Picture it
Capacity is the size of the tank and current is the size of the tap. Average current, not peak, sets runtime. Real batteries deliver less than the label at high currents and in the cold, so engineers keep a margin of 20 % or more.
The maths
runtime (h) = capacity (A·h) / average current (A) energy (W·h) = capacity (A·h) × voltage (V)
| Quantity | Unit | Symbol |
|---|---|---|
| charge (battery capacity) | ampere-hour | A·h |
| energy (battery) | watt-hour | W·h |
| current | ampere | A |
| voltage | volt | V |
| time | second | s |
Worked example
A sensor node draws 40 mA on average from a 2000 mAh, 3.7 V battery. Estimate the runtime and the stored energy.
- Runtime = 2000 mAh / 40 mA = 50 h
- Energy = 2.0 A·h × 3.7 V = 7.4 W·h
- With a 20 % margin, plan for about 40 h
AnswerAbout 50 h ideal (plan for 40 h); 7.4 W·h stored.
✓ The 3 numbers in this answer are recomputed from scratch by an automated test.
Common misconceptions
- Misconception: mAh is charge, not energy; comparing batteries of different voltages needs W·h.
- Misconception: Peak current matters for whether the battery can deliver, but average current sets runtime.