Battery Capacity Calculator (mAh ↔ Wh)
The mAh figure printed on a battery does not tell you its energy on its own; multiply it by the voltage and you get Wh. This calculator converts between the two and estimates how many hours a device will run from the battery.
Result
Enter your values; the result appears here.
Formula
mAh (milliamp-hours) is the amount of charge a battery can deliver; Wh (watt-hours) is the energy it stores. Energy is charge multiplied by voltage, so two batteries with the same mAh at 3.7 V and 7.4 V differ in energy by a factor of two. When you calculate runtime from current, the current must be measured at the battery's own voltage.
Worked example
- Phone battery: 5000 mAh, nominal voltage 3.85 V.
- Energy: 5000 × 3.85 ÷ 1000 = 19.25 Wh.
- At 85% efficiency the usable energy is 19.25 × 0.85 = 16.36 Wh.
- If the device draws 2 W on average: 16.36 ÷ 2 = 8.18 hours (about 8 h 11 min).
Common mistakes
- Comparing batteries of different voltages by mAh alone. A 20,000 mAh power bank and a 20,000 mAh laptop battery do not hold the same energy.
- Using the charging voltage (4.2 V or 4.35 V) instead of the nominal voltage on the label.
- Treating a device's peak power as its average. Screen brightness, processor load and wireless radios change consumption all the time.
- Ignoring efficiency. Voltage converters and heat mean not all stored energy reaches the device.
- Using the label capacity for an old battery. Capacity drops with charge cycles.
Reference table
| Battery type | Nominal voltage | Wh per 1000 mAh |
|---|---|---|
| Single lithium-ion cell | 3.6 – 3.7 V | 3.6 – 3.7 Wh |
| High-voltage lithium polymer (phone) | 3.85 V | 3.85 Wh |
| 2 cells in series (2S) | 7.2 – 7.4 V | 7.2 – 7.4 Wh |
| 3 cells in series (3S) | 10.8 – 11.1 V | 10.8 – 11.1 Wh |
| NiMH AA cell | 1.2 V | 1.2 Wh |
| 12 V battery | 12 V | 12 Wh |