Work out how long a battery will last from its capacity and the device's draw, and convert between mAh and Wh.
Battery life formula
Battery life (hours) = capacity ÷ load × usable share
mAh ÷ mA, Ah ÷ A, or Wh ÷ W
Wh = Ah × volts = mAh ÷ 1,000 × volts · mAh = Wh ÷ volts × 1,000
Capacity and load must be in matching units. If one is in amps and the other in watts, the calculator uses the voltage to convert, since watts = volts × amps.
Worked example
A 3,000 mAh battery running a device that draws 150 mA lasts 3,000 ÷ 150 = 20 hours in theory. With a usable share of 85% it's 20 × 0.85 = 17 hours.
The same 3,000 mAh cell at 3.7 V holds 3 Ah × 3.7 V = 11.1 Wh. A 5,000 mAh, 18 V tool battery is 5 Ah × 18 V = 90 Wh, the FAA's own example.
Getting a realistic number
- Real batteries rarely deliver their full rated capacity. Heavy loads, cold temperatures, age and voltage converters all reduce it, which is what the usable share allows for.
- Many devices don't draw a steady current. Use an average draw, or measure it with a USB meter or multimeter.
- When comparing batteries with different voltages, compare watt-hours, not mAh.
Sources
How we checked this
Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:
- 3,000 mAh ÷ 150 mA = 20 hours ✓
- Same at 85% usable: 17 hours ✓
- 100 Ah at 12 V running 60 W: 1,200 Wh ÷ 60 = 20 hours ✓
- 3,000 mAh at 3.7 V = 11.1 Wh ✓
- FAA example: 5,000 mAh at 18 V = 90 Wh ✓
- Edge: Wh and mA without a voltage asks for the voltage ✓
Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.
Questions people ask
How do I calculate battery life?
Divide the capacity by the current the device draws. A 2,000 mAh battery and a 100 mA load gives 2,000 ÷ 100 = 20 hours, before losses.
How do I convert mAh to Wh?
Divide mAh by 1,000 and multiply by the voltage. 10,000 mAh at 3.7 V is 10 × 3.7 = 37 Wh.
How do I convert Wh to mAh?
Divide by the voltage and multiply by 1,000. 100 Wh at 12 V is 100 ÷ 12 × 1,000 = 8,333 mAh.
How long will a 100 Ah 12 V battery run a 60 W load?
100 Ah × 12 V = 1,200 Wh, and 1,200 ÷ 60 = 20 hours in theory. If you only plan to use half the capacity, it's 10 hours.
Why is my battery dying faster than the calculation?
Peaks in power draw, cold, battery age and conversion losses all cut runtime. Lower the usable share to match what you see.