The formula
Runtime (h) = (Capacity in mAh / Load in mA) × derating factor
- Capacity
- battery rating (milliamp-hours)
- Load
- average current drawn (milliamps)
- derating
- 0.7–0.85 typical; accounts for real discharge behaviour
Worked example
A 2000 mAh cell powering a 250 mA load, derated to 0.8.
- Ideal: 2000 / 250 = 8 hours
- Realistic: 8 × 0.8
About 6.4 hours of usable runtime.
Where you'll use it
Sizing a battery for a portable project. The average current is what matters, not the peak — a device that sleeps at 1 mA and wakes for 100 ms bursts lasts far longer than its peak draw suggests.