Battery calculator

Ah to Wh Calculator

Amp-hours describe charge, not energy. Multiply by the pack's nominal voltage to get watt-hours, the figure you need for runtime, shipping limits and solar sizing.

The rated capacity printed on the battery or in its datasheet.

Unit: V

Use the nominal pack voltage, not the charging voltage. A 12 V LiFePO4 battery is nominally 12.8 V.

Results update as you type. The calculator runs entirely in your browser — nothing you enter is sent anywhere.

Energy1,280 Wh
STORED ENERGY100%
100% usable
Nominal energy of the whole pack: 12.8 V × 100 Ah = 1,280 Wh. How much of it you can use depends on the chemistry.

Calculation breakdown

Calculation breakdown
Energy in kilowatt-hours1.28 kWh
Capacity in amp-hours100 Ah
Nominal voltage12.8 V
Energy (Wh) = Voltage (V) × Capacity (Ah)
= 12.8 V × 100 Ah
= 1,280 Wh

Method

How the number is reached

A battery's amp-hour rating tells you how much charge it can deliver, not how much energy it stores. Two 100 Ah batteries at 12 V and 48 V hold completely different amounts of energy, which is why capacity alone cannot be compared across systems.

Converting to watt-hours removes the voltage from the comparison. Watt-hours are also the unit that runtime, solar production and airline battery limits are expressed in.

Energy (Wh) = Voltage (V) × Capacity (Ah)
Capacity (Ah) = Capacity (mAh) ÷ 1000

Symbols

V
Nominal pack voltage in volts
Ah
Rated charge capacity in amp-hours
Wh
Stored energy in watt-hours

Worked examples

The same maths, applied

Example

12 V 100 Ah LiFePO4 battery

A 100 Ah lithium iron phosphate battery sold as a 12 V drop-in replacement. Its nominal voltage is 12.8 V because it contains four 3.2 V cells in series.

Energy = 12.8 V × 100 Ah
Energy = 1,280 Wh

Result: 1,280 Wh, or 1.28 kWh.

Example

20,000 mAh power bank at 3.7 V

Power banks quote the capacity of the internal cells at 3.7 V, not the 5 V that comes out of the USB port.

Capacity = 20,000 mAh ÷ 1000 = 20 Ah
Energy = 3.7 V × 20 Ah
Energy = 74 Wh

Result: 74 Wh — comfortably under the 100 Wh limit airlines commonly apply to carry-on lithium batteries, though you should always check the airline's own rule.

Detail

Conversion table for common pack voltages

Nominal voltage is what changes the answer, so the same capacity appears very differently across system voltages.

Amp-hours converted to watt-hours at common nominal pack voltages
Capacity12 V12.8 V24 V25.6 V48 V51.2 V
20 Ah240 Wh256 Wh480 Wh512 Wh960 Wh1,024 Wh
50 Ah600 Wh640 Wh1,200 Wh1,280 Wh2,400 Wh2,560 Wh
100 Ah1,200 Wh1,280 Wh2,400 Wh2,560 Wh4,800 Wh5,120 Wh
200 Ah2,400 Wh2,560 Wh4,800 Wh5,120 Wh9,600 Wh10,240 Wh
300 Ah3,600 Wh3,840 Wh7,200 Wh7,680 Wh14,400 Wh15,360 Wh

Values are generated with the same function that powers the calculator, so the table and the tool can never disagree.

Detail

Why the voltage you pick matters

  • Lead-acid packs are nominally 12 V, 24 V or 48 V (2 V per cell).
  • LiFePO4 packs of the same nominal size are 12.8 V, 25.6 V or 51.2 V (3.2 V per cell), so they hold about 6% more energy than the round number suggests.
  • Lithium-ion cells are usually quoted at 3.6 V or 3.7 V each.
  • Charging voltage (for example 14.6 V) is not the nominal voltage and will overstate stored energy.

Limits of the model

What it assumes, and where it stops

Assumptions

The capacity you enter is the battery's rated capacity at its rated discharge rate.

Nominal voltage is treated as constant across the discharge, which is the standard convention for capacity ratings.

Not covered

This is the total nominal energy of the pack. It is not the energy you can actually use — that depends on the allowed depth of discharge and on conversion losses.

Delivered capacity falls at high discharge currents, especially for lead-acid batteries.

Capacity declines as a battery ages; the label figure describes a new battery.

Sources

Where these figures come from

  • SI UnitsNIST Office of Weights and MeasuresDefinitions of the volt, ampere, watt and joule used for the unit conventions on this site.
  • BU-501: Basics About DischargingBattery University (Cadex Electronics)Background on C-rates and how discharge current affects delivered capacity.

Next steps

Related calculators

  • Wh to Ah Calculator

    Energy targets are quoted in watt-hours, but batteries are sold in amp-hours. Divide by your system voltage to find the capacity you actually need to buy.

  • Battery Runtime Calculator

    Enter your battery and your load to estimate runtime. The calculator applies depth of discharge, battery health, conversion losses and — for lead-acid only — the Peukert effect, and shows each step of the energy budget.

  • Battery Charging Time Calculator

    Charging is fast while current is constant and slower near full. This estimate separates those stages, accounts for loads using charger current, and shows a range when lead-acid absorption time is genuinely variable.

  • Battery Bank Size Calculator

    Turn daily energy use into the nominal kWh and amp-hours your bank needs. The model accounts for days without charging, conversion loss, battery health, usable depth of discharge and whole-battery rounding.

  • Watts to Amps Calculator

    Current depends on more than watts and volts. Pick your system type so the calculation uses the right relationship — power factor for AC, and √3 for three-phase.

All battery calculators →

Last meaningful update: 2026-08-19. This date changes only when the model, the sources or the guidance change.