Skip to content
Battery Engineering Academy

Core quantities · Beginner · 300 min

Capacity and energy (Ah vs Wh)

Why a battery's ampere-hours and watt-hours answer different questions, how to convert between them, and why a "20,000 mAh" label tells you less than you think.

By the end of this lesson you can

  • Distinguish capacity (charge, Ah) from energy (Wh) and convert between mAh, Ah, coulombs, Wh, kJ and kWh
  • Calculate nominal energy from nominal voltage and rated capacity, for a cell and for a pack
  • Explain why comparing batteries by mAh or Ah alone misleads when their voltages differ
  • Explain why the energy a cell actually delivers is lower than its nominal value under real conditions

Before this: Power versus energy: W, Wh, kWh

Capacity and energy answer different questions about a battery. Capacity, in ampere-hours or milliampere-hours, is the charge it can deliver; energy, in watt-hours, is the work that charge can do, which depends also on the voltage. A power bank rated 20 000 mAh and a car rated 60 kWh are described in different units, and comparing batteries correctly, or checking airline limits, requires converting between them.

Study plan · two days

  1. Day 1 (about 2.5 h): Capacity and energy. Two different questions, the definitions, energy as the area under the voltage curve, and worked examples. Practice drills and the knowledge check.
  2. Day 2 (about 2.5 h): Conversions in practice. Power banks, airline limits and how many charges a power bank really gives. Homework and further reading.

Two different questions

Intuition

A battery's label usually answers one of two questions.

  • Capacity (ampere-hours, Ah, or milliampere-hours, mAh) answers how much charge can flow? It is like the amount of water in a tank.
  • Energy (watt-hours, Wh, or kilowatt-hours, kWh) answers how much work can that charge do? That depends on the charge and on how hard it is pushed: the voltage. In the water picture, it is the amount of water multiplied by the height it falls from.

Two batteries with the same Ah can store very different energy if their voltages differ. That is the whole lesson in two sentences. The rest is making it precise.

The definitions

Engineering

Capacity is charge. One ampere flowing for one hour moves one ampere-hour:

1 Ah=1 A×3600 s=3600 C1\ \text{Ah} = 1\ \text{A} \times 3600\ \text{s} = 3600\ \text{C}
  • C\text{C}: the coulomb, the SI unit of charge
  • 1 mAh=0.001 Ah1\ \text{mAh} = 0.001\ \text{Ah}, so 5,000 mAh is 5.0 Ah

Nominal energy multiplies the rated capacity by the nominal voltage:

Enom=Vnom×QratedE_\text{nom} = V_\text{nom} \times Q_\text{rated}
  • EnomE_\text{nom}: nominal energy, in watt-hours (Wh)
  • VnomV_\text{nom}: nominal voltage from the datasheet, in volts (V). It is a typical voltage during discharge, not the full-charge voltage
  • QratedQ_\text{rated}: rated capacity, in ampere-hours (Ah)

Useful conversions: 1 Wh=3600 J=3.6 kJ1\ \text{Wh} = 3600\ \text{J} = 3.6\ \text{kJ}, and 1 kWh=1000 Wh1\ \text{kWh} = 1000\ \text{Wh}.

For a pack of ss cells in series and pp in parallel (all identical), voltage adds in series and capacity adds in parallel, so the energy is simply the cell energy times the number of cells:

Epack=(s Vnom)×(p Qrated)=s p EcellE_\text{pack} = (s\,V_\text{nom}) \times (p\,Q_\text{rated}) = s\,p\,E_\text{cell}
Energy is the area under the voltage–charge curveTerminal voltage of an illustrative 5 Ah NMC cell falls from about 4.16 V to the 3.0 V cut-off while 4.98 Ah is delivered at C/5. The shaded area under the curve is the delivered energy, about 18.4 Wh. A dashed rectangle of the same area has a height equal to the average voltage, 3.70 V.average 3.70 VE = area ≈ 18.4 Wh0123453.03.54.0Charge delivered, Q (Ah)Terminal voltage (V)
Energy is the area under the voltage–charge curve. Illustrative 5 Ah NMC cell at C/5 from our simplified model (OCV minus I·R0); not a real cell.
Maths· Why energy is an area

Power is voltage times current, P=VIP = V I, and energy is power integrated over time:

E=∫0tV(t) I(t) dtE = \int_0^{t} V(t)\, I(t)\, dt

Charge delivered is dq=I dtdq = I\,dt, so the same integral can be written over charge:

E=∫0QV(q) dqE = \int_0^{Q} V(q)\, dq

That is the area under the curve of voltage against charge delivered, the shaded area in the figure. The voltage falls as the cell empties, so the area is not a rectangle. But there is always one constant voltage that gives the same area: the charge-weighted average voltage, Vˉ=E/Q\bar V = E/Q. In the figure, Vˉ≈3.70 V\bar V \approx 3.70\ \text{V} and Q≈4.98 AhQ \approx 4.98\ \text{Ah}, giving about 18.4 Wh18.4\ \text{Wh}.

A datasheet's nominal voltage plays the role of Vˉ\bar V under the manufacturer's reference conditions. That is why Vnom×QratedV_\text{nom} \times Q_\text{rated} is a sensible single-number estimate, and also why it is only an estimate.

Solved examples

Worked example

Example 1.1: a phone cell

A phone cell is rated Qrated=5,000 mAhQ_\text{rated} = 5{,}000\ \text{mAh} at Vnom=3.85 VV_\text{nom} = 3.85\ \text{V}.

  1. Capacity in Ah: 5,000 mAh/1000=5.0 Ah5{,}000\ \text{mAh} / 1000 = 5.0\ \text{Ah}
  2. Charge in coulombs: 5.0×3600=18,000 C5.0 \times 3600 = 18{,}000\ \text{C}
  3. Nominal energy: E=3.85 V×5.0 Ah=19.25 WhE = 3.85\ \text{V} \times 5.0\ \text{Ah} = 19.25\ \text{Wh}
  4. In kilojoules: 19.25×3.6=69.3 kJ19.25 \times 3.6 = 69.3\ \text{kJ}

Sanity check: a typical phone stores roughly 10–25 Wh. 19.25 Wh is in range.

Worked example

Example 1.2: why Ah alone misleads

Compare an e-scooter pack with a 12 V-class leisure battery.

  • Scooter pack: 13 cells in series, 4 in parallel (13s4p), each cell 3.6 V and 5.0 Ah. Pack voltage =13×3.6=46.8 V= 13 \times 3.6 = 46.8\ \text{V}, capacity =4×5.0=20 Ah= 4 \times 5.0 = 20\ \text{Ah}, energy =46.8×20=936 Wh= 46.8 \times 20 = 936\ \text{Wh}.
  • Leisure battery: 4 LFP cells in series (4s1p), each 3.2 V and 100 Ah. Pack voltage =12.8 V= 12.8\ \text{V}, capacity =100 Ah= 100\ \text{Ah}, energy =12.8×100=1,280 Wh= 12.8 \times 100 = 1{,}280\ \text{Wh}.

By ampere-hours, the leisure battery looks 5 times bigger (100 Ah vs 20 Ah). By energy, it is only about 1.4 times bigger (1,280 Wh vs 936 Wh). The scooter pack's higher voltage makes up most of the difference. Compare batteries in Wh, or compare Ah only at the same voltage.

Worked example

Example 1.3: sizing a grid battery

How many 3.2 V, 280 Ah LFP cells hold 1 MWh (1,000 kWh) of nominal energy?

  1. Energy per cell: 3.2×280=896 Wh=0.896 kWh3.2 \times 280 = 896\ \text{Wh} = 0.896\ \text{kWh}
  2. Cells needed: 1,000/0.896=1,116.071{,}000 / 0.896 = 1{,}116.07, so 1,117 cells (always round up)

This is nominal energy. A real system is designed with extra cells because it does not use the full 0 to 100 % range, and because it must still meet its rating after years of ageing. Those margins are covered later in C09.

Try it

Battery energy

Illustrative model
V
Ah
Energy
18.5 Wh
Energy
0.0185 kWh
Energy
66.6 kJ
Charge
18,000 C

Assumptions
  • E = V_nominal × Q. This is a nominal value, not the energy delivered under every condition.
  • Real delivered energy falls at high current, low temperature and with ageing.
  • 1 Wh = 3600 J.

Where engineers use this

Engineering
  • Product labels and rules. Phones and power banks are marketed in mAh, but safety and transport rules are written in Wh, because energy is what matters for fire risk. In IATA's passenger guidance (checked November 2026), power banks up to 100 Wh are generally allowed in carry-on baggage. Larger ones need airline approval or are not allowed, and the rules are being tightened, so check your airline.
  • Power banks. The mAh on a power bank is usually given at its internal cell voltage (about 3.6–3.7 V), not at the 5 V USB output. A 20,000 mAh bank at 3.7 V stores 3.7×20=74 Wh3.7 \times 20 = 74\ \text{Wh}. Charging a 19.25 Wh phone through converters that are, say, 85 % efficient (an assumed figure) gives about 74×0.85/19.25≈3.374 \times 0.85 / 19.25 \approx 3.3 full charges, not the 20,000/5,000=420{,}000/5{,}000 = 4 that the mAh numbers suggest.
  • EVs and grid storage are rated in kWh, because their packs run at hundreds of volts and kWh is what sets range or backup time.
  • Runtime is energy divided by power: t=E/Pt = E/P. A 936 Wh scooter pack supplying an average 312 W lasts about 3 hours (ideal).

Why real energy is lower than nominal

Engineering

The nominal figure assumes the reference test conditions, usually a gentle discharge rate at room temperature down to the rated cut-off voltage. Real use delivers less when:

  • The current is higher. Internal resistance lowers the terminal voltage (V=VOCV−IR0V = V_\text{OCV} - I R_0), so the average voltage drops and the cut-off arrives sooner. In the simplified model in the figure, the same cell delivers about 18.4 Wh at C/5 but about 15.9 Wh at 3C.
  • It is cold. Resistance rises sharply at low temperature (lesson C06-L08).
  • The system does not use the full range. Many products stop charging before 100 % or stop discharging before 0 % to extend life.
  • The cell has aged. Capacity fades and resistance grows over its life (C06-L12).

Simulator

Number of full charges against Device battery energy (Wh)Number of full charges plotted against Device battery energy (Wh) from 5 to 100. Current settings: Power bank energy (Wh) 74, Transfer efficiency 0.85. At Device battery energy (Wh) = 15.4, the value is 4.084 charges.051020406080100Device battery energy (Wh)Number of full charges4.084 charges
Charges from a power bank: its energy times the transfer efficiency, divided by the device battery's energy. Python-verified formula.

Common mistakes

  • Comparing mAh across different voltages. 3,000 mAh at 3.7 V and 3,000 mAh at 12 V are very different amounts of energy. Convert to Wh first.
  • Mixing up W and Wh. Watts are a rate (power); watt-hours are an amount (energy). "A 1 kW battery" is incomplete; "a 1 kWh battery that can supply 1 kW" is meaningful.
  • Using the full-charge voltage. Multiplying by 4.2 V instead of the nominal 3.6–3.7 V overstates the energy of an NMC cell by about 15 %.
  • Forgetting the unit prefix. 5,000 mAh × 3.85 V is 19,250 mWh, which is 19.25 Wh, not 19,250 Wh.
  • Treating nominal energy as guaranteed. It is measured under reference conditions; high current, cold and ageing all reduce it.

Practice

Numbers change each time you press New values. Answers within about 1 % are accepted.

  1. D1

    A cell is rated 4.8 Ah. How much charge is that in coulombs?

    C
  2. D2

    A phone cell is rated 4,500 mAh at a nominal 3.7 V. What is its nominal energy in Wh?

    Wh
  3. D3

    An EV pack has 100 cells in series and 2 in parallel. Each cell is 3.65 V, 5 Ah. What is the pack's nominal energy in kWh?

    kWh
  4. D4

    A battery stores 512 Wh at a nominal 25.6 V. What is its capacity in Ah?

    Ah
  5. D5

    A power bank stores 74 Wh. Its converters are 0.85 efficient (as a fraction). How many full charges can it give a 17.5 Wh phone?

    charges

Check your understanding

1. What does a battery's ampere-hour (Ah) rating measure?
2. A cell is rated 2.5 Ah at a nominal 3.6 V. What is its nominal energy?
3. Battery A is 100 Ah at 12.8 V. Battery B is 50 Ah at 51.2 V. Which stores more energy?
4. Why do airlines set power-bank limits in Wh rather than mAh?
5. A cell's datasheet energy is 18 Wh. In which situation will it most likely deliver noticeably less?

A power bank, properly converted

Worked example

Example 1.4: 20 000 mAh at 3.7 V

  1. Energy: 3.7×20=743.7 \times 20 = 74 Wh
  2. Charges of a 15.4 Wh phone battery, with 85 % transfer efficiency: 74×0.85/15.4=4.174 \times 0.85/15.4 = 4.1

The mAh figure alone would suggest five charges of a 4000 mAh phone; converting to energy and allowing for losses gives about four.

Airline limits

Engineering

Airline rules for spare lithium batteries are stated in watt-hours, not mAh, because energy, not charge, governs the hazard. A 74 Wh power bank is below the commonly applied 100 Wh threshold for carry-on without approval; check the current IATA guidance and the airline's own rules before travel, as limits and conditions are revised.

Capacity and energy

Capacity (Ah, mAh)

  • Charge delivered
  • Depends on rate and temperature
  • Cannot be compared across voltages

Energy (Wh, kWh)

  • Work delivered
  • Capacity × average voltage
  • The right basis for comparisons and limits

Homework

Homework · answers not provided

  1. A power bank is rated 26 800 mAh at 3.6 V. Compute its energy and the number of charges of a 50 Wh laptop at 80 % efficiency.
  2. Explain why two power banks with the same mAh rating can store different energy.
  3. Look up the current airline guidance on spare lithium batteries and summarise the Wh thresholds.
  4. A 60 kWh car battery is described as 'about 170 Ah'. What voltage does that imply? Is that a cell or a pack figure?

Further reading

Further reading

  • Bureau International des Poids et Mesures, The International System of Units (SI Brochure). Units of charge and energy.
  • IATA, Lithium Battery Guidance Document / passenger guidance on batteries (current edition).

Key takeaways

  • Capacity (Ah) is charge; energy (Wh) is charge times voltage. 1 Ah = 3,600 C; 1 Wh = 3.6 kJ.
  • Enom=Vnom×QratedE_\text{nom} = V_\text{nom} \times Q_\text{rated}, and a pack's energy is the cell energy times the number of cells.
  • Compare batteries in Wh. Compare Ah only when the voltages are the same.
  • Delivered energy falls with high current, low temperature, a restricted SOC window and ageing.
  • Convert mAh to Wh with the voltage: 20 000 mAh at 3.7 V is 74 Wh.
  • Allow for transfer losses: about 4 phone charges, not 5; airline limits are in Wh.
  • Next: C-rate, which describes current relative to capacity.

Sources for this lesson are listed on the References page.