Battery Capacity Calculator

Convert between amp-hours, watt-hours and voltage, and estimate runtime under load.
Ah ↔ Wh
Runtime

Energy, Charge & Voltage

Wh = Ah × V  •  Ah = Wh / V  •  mAh = Ah × 1000
100Ah @ 12V
5Ah @ 3.7V (cell)
200Ah @ 48V
Ah
V
Enter values and press Calculate.

Backup Runtime

Runtime (h) = (Wh × DoD% × η) / Load (W)
1200Wh, 300W load
2400Wh, 150W load
Wh
W
%
%
Enter values and press Calculate.

Understanding Battery Capacity

Battery capacity is quoted two ways. Charge capacity (Ah or mAh) counts how much current the battery can deliver over time. Energy capacity (Wh or kWh) is what actually does work, and depends on voltage: Wh = Ah × V. Comparing batteries only by Ah is misleading unless they share the same voltage — a 100 Ah 12 V battery (1200 Wh) stores the same energy as a 25 Ah 48 V battery.

QuantityFormula
EnergyWh = Ah × V
ChargeAh = Wh / V
Milliamp-hoursmAh = Ah × 1000
Runtimet = (Wh × DoD × η) / Load

Usable energy is less than the nameplate figure: you rarely discharge 100% (a depth of discharge of 80–90% is typical for lithium, 50% for lead-acid), and an inverter or converter loses a few percent. The runtime tab applies both factors.

Real-World Applications & Examples

Worked examples

1. 100 Ah, 12 V battery. Wh=100×12=1200 Wh (1.2 kWh).
2. Li-ion cell. 5 Ah at 3.7 V: Wh=5×3.7=18.5 Wh.
3. Power bank. A "20000 mAh" bank at 3.7 V holds 20×3.7=74 Wh — not 20000 Wh, and less at 5 V output after conversion.
4. Ah from energy. A 5 kWh 48 V pack has Ah=5000/48=104 Ah.
5. Backup runtime. 1200 Wh, 300 W load, 80% DoD, 90% efficiency: t=1200×0.8×0.9/300=2.88 h.
6. Lead-acid vs lithium. A 100 Ah lead-acid battery at 50% DoD gives 600 Wh usable, while a 100 Ah lithium at 90% gives 1080 Wh — nearly double.

Series, Parallel, and the Capacity You Can Actually Use

Cells combine in two ways, and they do different things:

Either way the energy is identical — 29.6 Wh — which is the clearest demonstration of why watt-hours is the honest way to compare packs. A 4S1P and a 1S4P arrangement of the same cells store exactly the same amount of energy and simply deliver it at different voltages.

Nominal capacity is not usable capacity

Three separate things reduce the figure on the label to the figure you can use:

Why parallel strings need matched cells

Cells in parallel share current according to their internal resistance, so a lower-resistance cell takes more than its share and ages faster — which lowers its resistance relative to the others and concentrates still more current on it. Mixing cells of different age, capacity or manufacturer in parallel is therefore a genuine reliability problem rather than merely inefficient. Series strings have the complementary issue: the weakest cell limits the whole string, which is why balancing circuits exist.

Frequently Asked Questions

How do I convert Ah to Wh?

Multiply amp-hours by the battery voltage: Wh = Ah × V. A 100 Ah battery at 12 V stores 1200 Wh (1.2 kWh).

How do I convert Wh to Ah?

Divide watt-hours by the voltage: Ah = Wh / V. A 5000 Wh pack at 48 V has about 104 Ah of charge capacity.

How do I convert mAh to Wh?

First convert mAh to Ah by dividing by 1000, then multiply by voltage: Wh = (mAh/1000) × V. A 3000 mAh cell at 3.7 V is 11.1 Wh.

Why can't I compare batteries by Ah alone?

Because energy depends on voltage. A 100 Ah 12 V battery and a 100 Ah 24 V battery hold very different energy (1.2 kWh vs 2.4 kWh). Compare in Wh or kWh for a fair comparison.

What is depth of discharge (DoD)?

DoD is the percentage of the battery you actually use before recharging. Lithium batteries tolerate 80–90% DoD, while lead-acid is usually limited to about 50% to preserve cycle life.

How do I estimate battery runtime?

Runtime = (Wh × DoD × efficiency) / load power. For a 1200 Wh battery, 80% DoD, 90% inverter efficiency and a 300 W load, runtime is about 2.9 hours.

Does a power bank's mAh rating equal its output?

No. The mAh is measured at the cell voltage (about 3.7 V). After boosting to 5 V USB and conversion losses, the usable output is roughly 60–70% of the nominal Wh.

What voltage should I use for the conversion?

Use the nominal voltage: about 3.6–3.7 V for a lithium cell, 3.2 V for LiFePO4, 12/24/48 V for packs. Using the fully-charged voltage overstates the energy slightly.

How does temperature affect capacity?

Cold reduces the deliverable capacity (a battery may give only 70–80% of its rating near freezing), while high temperatures raise capacity slightly but accelerate ageing. Ratings are usually given at 25 °C.

What is the C-rating and does it change capacity?

The C-rate sets how fast you charge or discharge. Discharging faster than the rated rate can reduce the effective Ah delivered (Peukert effect), especially in lead-acid batteries.

How many cells make a given pack voltage?

Divide the pack voltage by the cell voltage. A 48 V lithium pack uses about 13 series cells (13×3.6 V≈48 V); paralleling cells increases the Ah.

What is the difference between nominal and usable capacity?

Nominal is the nameplate rating at full discharge. Usable is what you can safely draw — the nominal energy times the depth of discharge — and is the figure to use for real runtime and range.

What does series connection do to battery capacity?

Series adds voltage and leaves ampere-hour capacity unchanged. Four 3.7 V 2,000 mAh cells in series give 14.8 V at 2,000 mAh, which is the same total energy as the parallel arrangement.

What does parallel connection do?

Parallel adds capacity at unchanged voltage. The same four cells in parallel give 3.7 V at 8,000 mAh — 29.6 Wh either way.

Why is usable capacity lower than nominal?

Battery management systems reserve capacity at both ends of the charge window to protect life, usable capacity falls at higher discharge rates and in cold conditions, and every pack degrades with age. Usable energy is commonly 80–90% of nominal.

Can I connect different cells in parallel?

It is strongly inadvisable. Parallel cells share current according to internal resistance, so a stronger cell takes more than its share, ages faster, and progressively concentrates even more current on itself.

Why does a series string need cell balancing?

Because the weakest cell limits the whole string: it reaches the cut-off voltage first on discharge and the full-charge voltage first on charge. Balancing circuits equalise the cells so the pack uses the capacity it actually has.

Should I compare batteries by Ah or Wh?

By watt-hours, unless both packs are at the same voltage. Ampere-hours measure charge only, so the comparison is meaningless across different voltages.

Related Calculators

EV Range • C-Rate • Battery Discharge • Battery Pack Design • All Calculators

Battery & Charging