Tools
TR / EN

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.

A single lithium cell is usually 3.7 V or 3.85 V.

For runtime, enter either power or current.

Converter losses; leave at 85 if unsure.

You can use either a comma or a point for decimals.

Result

Enter your values; the result appears here.

Formula

Wh = mAh × V ÷ 1000
mAh = Wh × 1000 ÷ V
Runtime (h) = Wh × efficiency ÷ device power (W)
Runtime (h) = mAh × efficiency ÷ device current (mA)

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

  1. Phone battery: 5000 mAh, nominal voltage 3.85 V.
  2. Energy: 5000 × 3.85 ÷ 1000 = 19.25 Wh.
  3. At 85% efficiency the usable energy is 19.25 × 0.85 = 16.36 Wh.
  4. 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

Other calculators