Lelifi·tools

Amp-Hour Calculator

A 5 amp draw running for 4 hours pulls 20 Ah out of a battery, which is 240 Wh at 12 volts. Amp-hours come from amps multiplied by hours, and watt-hours come from amp-hours multiplied by the pack voltage.

Enter a current draw and a run time to get battery capacity in amp-hours, then add pack voltage for watt-hours.

By the Lelifi editors ·

Key takeaways

From amps and hours to stored energyAh = A x h: 20 A x 4.5 h = 90 AhWh = Ah x V: 90 Ah x 12 V = 1,080 WhC = Ah x 3,600: 90 Ah = 324,000 CUsable at 50% depth: 45 Ah, 540 WhRun time on 45 Ah at 20 A: 2.25 h
A 20 A motor for 4.5 hours takes 90 Ah from a 12 V bank, and half of that is the sensible working figure for lead-acid.
Capacity taken from a 100 Ah label as the draw rises5 A: 100 Ah10 A: 84.1 Ah20 A: 70.7 Ah50 A: 56.2 AhAh delivered
The Peukert effect: a 100 Ah lead-acid battery gives up less as the discharge current climbs, from 100 Ah at 5 A to 56.2 Ah at 50 A.
On this page
  1. What an amp-hour measures
  2. The formulas and the unit conversions
  3. Worked example: a trolling motor on a 12 V bank
  4. Worked example: a phone battery and a power bank
  5. Why the label number is an upper limit
  6. Depth of discharge: how much of the label you can use
  7. Sizing a bank from a daily load
  8. What the calculator returns

What an amp-hour measures

An amp-hour is a unit of charge, and it answers one narrow question: how much electric charge can a battery push out before it runs flat. One amp flowing for one hour is one amp-hour. Multiply a current in amps by a time in hours and the product is the charge that passed through the circuit during that time.

The ampere is an SI base unit, and since the 2019 revision it is fixed by the elementary charge. The NIST introduction to the ampere puts it plainly: a coulomb passing a point in one second is one ampere, and one coulomb is about 6.24 x 10^18 electrons. That makes an amp-hour a tidy package of charge, since 1 Ah is 3,600 coulombs.

What an amp-hour is not is energy. The same 100 Ah holds 1,200 Wh in a 12 V pack and 2,400 Wh in a 24 V pack. A label that mentions only amp-hours leaves out half the story, which is why the calculator on this page reports watt-hours as soon as you give it a pack voltage.

The formulas and the unit conversions

Three relations cover nearly every battery question. Capacity in amp-hours is current in amps multiplied by time in hours: Ah = A x h. Energy in watt-hours is that capacity multiplied by the pack voltage: Wh = Ah x V. Charge in coulombs is the capacity multiplied by 3,600: C = Ah x 3,600.

Small batteries use milliamp-hours, written mAh, and one milliamp-hour is one thousandth of an amp-hour. A phone cell rated 3,000 mAh holds 3 Ah, and a 10,000 mAh power bank holds 10 Ah. Watt-hours are the better unit when the voltage moves during a discharge, because the voltage of a cell falls as it empties and a fixed amp-hour rating hides that movement.

QuantityFormulaExample
CapacityAh = A x h20 A x 4.5 h = 90 Ah
EnergyWh = Ah x V90 Ah x 12 V = 1,080 Wh
ChargeC = Ah x 3,60090 Ah x 3,600 = 324,000 C
Milliamp-hoursmAh = Ah x 1,0003 Ah = 3,000 mAh
Run timeh = Ah / A90 Ah / 20 A = 4.5 h

The Department of Energy fact sheet Battery Power for Your Residential Solar Electric System makes the same point in system terms: a 12 V, 100 Ah battery stores 1,200 watt-hours, the same as a 600 Ah bank at 2 V, and a 24 V bank needs 42 amp-hours of useful storage for every 1,000 Wh of daily consumption.

Worked example: a trolling motor on a 12 V bank

Take a small fishing boat with a 12 V trolling motor that pulls 20 A and runs for 4.5 hours on a charge. Multiply the draw by the time: 20 x 4.5 gives 90 Ah. At 12 V that is 1,080 Wh of stored energy, and in coulombs it is 90 x 3,600, or 324,000 C.

Now the part that matters on the water. A flooded lead-acid battery should be kept about half charged, so only 45 Ah of that 90 is fair game in the way the label is written, which is 540 Wh. A 20 A motor on 45 Ah runs for 2.25 hours before it reaches the 50 percent line.

StepWorkingResult
Capacity used20 A x 4.5 h90 Ah
Energy at 12 V90 Ah x 12 V1,080 Wh
Charge in coulombs90 Ah x 3,600324,000 C
Usable at 50% depth of discharge90 Ah x 0.5045 Ah, or 540 Wh
Run time on 45 Ah45 Ah / 20 A2.25 h

The same arithmetic works in reverse when you shop for a bank. If you want four hours of trolling from a 20 A motor at 50 percent depth of discharge, you need 20 x 4 x 2, which is 160 Ah, and two 80 Ah batteries in series will do it.

Worked example: a phone battery and a power bank

Handheld gear uses milliamp-hours, and the same two formulas carry over once you convert. A phone cell rated 3,000 mAh at a nominal 3.7 V holds 3 Ah, and 3 x 3.7 gives 11.1 Wh of energy.

A power bank labelled 10,000 mAh also holds 10 Ah, and at 3.7 V that is 37 Wh on the label. Converting that stored energy to a 5 V USB output always loses something, and a figure of 85 percent is a fair guess for a good power bank. So the usable energy is 37 x 0.85, which is 31.45 Wh, and the number of full phone charges is 31.45 divided by 11.1, or about 2.8.

StepWorkingResult
Phone cell3,000 mAh = 3 Ah3 Ah at 3.7 V
Phone energy3 Ah x 3.7 V11.1 Wh
Power bank10,000 mAh = 10 Ah10 Ah at 3.7 V
Power bank energy10 Ah x 3.7 V37 Wh
After conversion losses37 Wh x 0.8531.45 Wh
Phone charges31.45 Wh / 11.1 Wh2.8 charges

The gap between 10 charges on the sticker and 2.8 charges in the hand is not a fault in the power bank. It is the difference between a charge rating in milliamp-hours and the energy that arrives at the phone, and it is exactly the gap the calculator makes visible when you add a voltage to the inputs.

Why the label number is an upper limit

A rated capacity is measured at a specific discharge rate, and a lead-acid battery will hand over less than its label if you pull the current harder. The Peukert effect describes this with the relation t = H x (C / (I x H))^k, where C is the rated capacity in amp-hours, H is the rated discharge time in hours, I is the actual current, and k is an exponent that sits near 1.25 for lead-acid.

Take a 100 Ah battery rated over 20 hours, which is the 5 A rate. At 10 A the relation gives 8.41 hours, and at 20 A it gives 3.54 hours. Multiplying those by the current shows what the battery gave you: 84.1 Ah at the gentler draw and 70.7 Ah at the hard one.

Discharge currentHours deliveredCapacity takenShare of the 100 Ah label
5 A (the rated rate)20.0 h100 Ah100%
10 A8.41 h84.1 Ah84%
20 A3.54 h70.7 Ah71%
50 A1.13 h56.2 Ah56%

Cold weather and age push the same number down further, since a battery stored near freezing gives up less charge and every cycle of use wears it a little. The Department of Energy notes that car and marine batteries are built for a burst of starting current rather than for deep discharge, so they fail early in a solar bank even though the amp-hour label looks generous.

Depth of discharge: how much of the label you can use

Depth of discharge is the share of the rated capacity that a battery can give up before it should be recharged, and it differs by chemistry. Lead-acid is the cautious one and is usually held at 50 percent, lithium-ion tolerates 80 to 90 percent, and lithium iron phosphate can be cycled across almost the whole label at the cost of a shorter service life.

ChemistryUsual depth of dischargeUsable from a 100 Ah labelUsable from a 12 V, 100 Ah pack
Flooded lead-acid50%50 Ah600 Wh
AGM lead-acid50% to 80%50 to 80 Ah600 to 960 Wh
Lithium-ion80% to 90%80 to 90 Ah960 to 1,080 Wh
Lithium iron phosphate90% to 100%90 to 100 Ah1,080 to 1,200 Wh

A worked number: a 100 Ah lithium pack held at 80 percent depth of discharge gives 80 Ah, and a 10 A load on that pack runs for 8 hours. On the same pack with the full 100 Ah you would plan 10 hours, and the difference is the 20 percent you kept back so the battery still has a charge in it when the sun goes down.

Sizing a bank from a daily load

A solar or backup bank is sized backwards from the load. Start with the energy the house uses in a day, add the losses in the inverter, convert to amp-hours at the bank voltage, multiply by the number of days of autonomy you want, and then divide by the depth of discharge you are willing to promise.

Suppose a cabin draws 2,400 Wh a day and runs on a 24 V bank through an inverter that is 90 percent efficient. The bank has to supply 2,400 divided by 0.90, which is 2,667 Wh, and at 24 V that is 111 Ah a day. Two days of autonomy need 222 Ah, and with a lead-acid bank held at 50 percent depth of discharge the nameplate has to be 444 Ah.

StepWorkingResult
Daily consumptiongiven2,400 Wh
Inverter losses2,400 Wh / 0.902,667 Wh
Daily draw on the bank2,667 Wh / 24 V111 Ah
Two days of autonomy111 Ah x 2222 Ah
Nameplate at 50% depth222 Ah / 0.50444 Ah

The Department of Energy overview of solar and storage separates the two ideas a bank has to balance, energy capacity in kilowatt-hours and power capacity in kilowatts, and notes that no storage system is free of conversion losses. The calculator handles the arithmetic once you have picked the daily figure and the bank voltage.

What the calculator returns

The default case is a 5 A load running for 4 hours on a 12 V pack, which is the shape of most small projects. The second mode works the other way and turns a known capacity and current into a run time.

OutputDefault case: 5 A, 4 h, 12 VSecond mode: 100 Ah at 20 A, 12 V
Capacity20 Ah100 Ah
Capacity in mAh20,000 mAh100,000 mAh
Energy at the pack voltage240 Wh1,200 Wh
Energy in kWh0.24 kWh1.2 kWh
Charge in coulombs72,000 C360,000 C
Run time4 h5 h
Usable at 80% depth of discharge16 Ah and 192 Wh80 Ah and 960 Wh

Three habits keep the answers honest. Give the pack voltage, because amp-hours without a voltage cannot be turned into energy. Keep the units straight, since a 12 V pack and a 24 V pack hold different energy behind the same amp-hour number. And treat the capacity as a ceiling rather than a promise, because depth of discharge, discharge rate, temperature and age all shave the real figure below the label.

Frequently asked questions

How do I calculate amp-hours?

Multiply the current in amps by the time in hours. A 5 A load for 4 hours takes 20 Ah out of the battery, and a 20 A motor for 4.5 hours takes 90 Ah.

What is the difference between amp-hours and watt-hours?

Amp-hours measure charge and watt-hours measure energy. Convert with Wh = Ah x V, so a 12 V, 100 Ah battery holds 1,200 Wh while the same 100 Ah at 24 V holds 2,400 Wh.

How many amp-hours does a 3,000 mAh battery hold?

3,000 mAh is 3 Ah, since one milliamp-hour is one thousandth of an amp-hour. At 3.7 V that cell holds 11.1 Wh of energy.

How long will a 100 Ah battery run a 10 A load?

Divide 100 Ah by 10 A for 10 hours on the label. Holding 80% in reserve for a lithium pack shortens the plan to 80 Ah, which is 8 hours, and a lead-acid bank at 50% gives 50 Ah, which is 5 hours.

How much energy is 90 Ah at 12 volts?

90 Ah x 12 V gives 1,080 Wh, or 1.08 kWh. The same 90 Ah at 24 V would be 2,160 Wh, which is why the pack voltage belongs in the calculation.

What is an amp-hour in coulombs?

One amp-hour equals 3,600 coulombs, since one amp is one coulomb per second and an hour holds 3,600 seconds. A 90 Ah battery moved 324,000 C.

Why does my battery deliver less than its rated amp-hours?

Discharge rate, temperature, age and depth of discharge all cut the real figure. A 100 Ah lead-acid battery pulled at 20 A gives about 70.7 Ah rather than 100 Ah.

How many phone charges does a 10,000 mAh power bank give?

A 10,000 mAh bank holds 37 Wh at 3.7 V. After conversion losses of about 15% that is 31.45 Wh, and a 3,000 mAh phone at 3.7 V takes 11.1 Wh, so roughly 2.8 charges.

What is depth of discharge?

It is the share of rated capacity a battery can give up before recharging. Lead-acid is usually held at 50%, lithium-ion at 80% to 90%, and lithium iron phosphate near 100%.

How do I size a battery bank for a daily load?

Divide the daily watt-hours by the inverter efficiency, divide by the bank voltage for amp-hours per day, multiply by your days of autonomy, then divide by the depth of discharge. A 2,400 Wh day on a 24 V bank with 90% efficiency and two days at 50% depth needs a 444 Ah nameplate.

Does the Peukert effect change my run time?

Yes. A lead-acid battery gives less than its label at higher currents. A 100 Ah battery rated at 5 A lasts 20 hours at that rate but only 3.54 hours at 20 A, which is 70.7 Ah.

Are amp-hours the same as milliamp-hours on a phone?

They measure the same thing at a different scale. 1,000 mAh equals 1 Ah, so a 3,000 mAh cell holds 3 Ah and a 10,000 mAh power bank holds 10 Ah.

What pack voltage should I use for a 24 V system?

Use the nominal bank voltage of 24 V for the energy figures, and remember the cells in series still share one amp-hour rating. Two 12 V batteries in series give 24 V with the Ah of one battery, not twice it.

Can I use amp-hours to compare a lithium pack with a lead-acid bank?

Not on its own, because the voltage differs. A 100 Ah lithium pack at 12 V holds 1,200 Wh while a 100 Ah lead-acid bank at 12 V delivers about 600 Wh once you hold back 50%.

Spotted a wrong number or a broken result?

More Tech tools

See all Tech tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.