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.
| Capacity | |
| Capacity in mAh | |
| Energy at the pack voltage | |
| Energy in kWh | |
| Charge in coulombs | |
| Run time at the entered current | |
| Usable at 80% depth of discharge | |
| Inputs as entered | |
Amp-hours = amps x hours, watt-hours = amp-hours x volts, and 1 Ah = 3,600 coulombs. The 80% row shows what a battery delivers when you keep 20% in reserve, which is the usual rule for lead-acid banks. Everything runs in your browser and nothing you type leaves the page.
Enter a current draw and a run time to get battery capacity in amp-hours, then add pack voltage for watt-hours.
Key takeaways
- Ah = A x h, so 20 A for 4.5 h is 90 Ah and 5 A for 4 h is 20 Ah
- Wh = Ah x V, so a 12 V, 100 Ah battery holds 1,200 Wh of energy
- 1 Ah equals 3,600 coulombs, and 1,000 mAh equals 1 Ah
- The label is an upper limit: at 20 A a 100 Ah lead-acid battery yields about 70.7 Ah
- Only part of a label is usable, often 50% for lead-acid and 80% for lithium
On this page
- What an amp-hour measures
- The formulas and the unit conversions
- Worked example: a trolling motor on a 12 V bank
- Worked example: a phone battery and a power bank
- Why the label number is an upper limit
- Depth of discharge: how much of the label you can use
- Sizing a bank from a daily load
- 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.
| Quantity | Formula | Example |
|---|---|---|
| Capacity | Ah = A x h | 20 A x 4.5 h = 90 Ah |
| Energy | Wh = Ah x V | 90 Ah x 12 V = 1,080 Wh |
| Charge | C = Ah x 3,600 | 90 Ah x 3,600 = 324,000 C |
| Milliamp-hours | mAh = Ah x 1,000 | 3 Ah = 3,000 mAh |
| Run time | h = Ah / A | 90 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.
| Step | Working | Result |
|---|---|---|
| Capacity used | 20 A x 4.5 h | 90 Ah |
| Energy at 12 V | 90 Ah x 12 V | 1,080 Wh |
| Charge in coulombs | 90 Ah x 3,600 | 324,000 C |
| Usable at 50% depth of discharge | 90 Ah x 0.50 | 45 Ah, or 540 Wh |
| Run time on 45 Ah | 45 Ah / 20 A | 2.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.
| Step | Working | Result |
|---|---|---|
| Phone cell | 3,000 mAh = 3 Ah | 3 Ah at 3.7 V |
| Phone energy | 3 Ah x 3.7 V | 11.1 Wh |
| Power bank | 10,000 mAh = 10 Ah | 10 Ah at 3.7 V |
| Power bank energy | 10 Ah x 3.7 V | 37 Wh |
| After conversion losses | 37 Wh x 0.85 | 31.45 Wh |
| Phone charges | 31.45 Wh / 11.1 Wh | 2.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 current | Hours delivered | Capacity taken | Share of the 100 Ah label |
|---|---|---|---|
| 5 A (the rated rate) | 20.0 h | 100 Ah | 100% |
| 10 A | 8.41 h | 84.1 Ah | 84% |
| 20 A | 3.54 h | 70.7 Ah | 71% |
| 50 A | 1.13 h | 56.2 Ah | 56% |
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.
| Chemistry | Usual depth of discharge | Usable from a 100 Ah label | Usable from a 12 V, 100 Ah pack |
|---|---|---|---|
| Flooded lead-acid | 50% | 50 Ah | 600 Wh |
| AGM lead-acid | 50% to 80% | 50 to 80 Ah | 600 to 960 Wh |
| Lithium-ion | 80% to 90% | 80 to 90 Ah | 960 to 1,080 Wh |
| Lithium iron phosphate | 90% to 100% | 90 to 100 Ah | 1,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.
| Step | Working | Result |
|---|---|---|
| Daily consumption | given | 2,400 Wh |
| Inverter losses | 2,400 Wh / 0.90 | 2,667 Wh |
| Daily draw on the bank | 2,667 Wh / 24 V | 111 Ah |
| Two days of autonomy | 111 Ah x 2 | 222 Ah |
| Nameplate at 50% depth | 222 Ah / 0.50 | 444 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.
| Output | Default case: 5 A, 4 h, 12 V | Second mode: 100 Ah at 20 A, 12 V |
|---|---|---|
| Capacity | 20 Ah | 100 Ah |
| Capacity in mAh | 20,000 mAh | 100,000 mAh |
| Energy at the pack voltage | 240 Wh | 1,200 Wh |
| Energy in kWh | 0.24 kWh | 1.2 kWh |
| Charge in coulombs | 72,000 C | 360,000 C |
| Run time | 4 h | 5 h |
| Usable at 80% depth of discharge | 16 Ah and 192 Wh | 80 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
- Amps to kVA Calculator
- Audio File Size Calculator: WAV, MP3 and Storage Time
- Bandwidth Calculator
- Battery Charge Time Calculator
- Battery Life Calculator
- Bits to Bytes Converter
- CFM Calculator
- Capacitance
- Capacitor Calculator
- Current Calculator
- Data Transfer Calculator
- Data Usage Calculator
- Download Time Calculator
- Downtime Cost Calculator
- Electric Charge Calculator
- Electric Potential Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.