logo of website

Battery Capacity Calculator

Free Tool

Battery Capacity Calculator

Work out stored energy, required battery size, or runtime โ€” enter voltage, Ah, load and efficiency, and read the result straight off the panel below.

MODE SELECT
Formulas

Battery Capacity Formula

Every mode above comes from the same small set of relationships between voltage, current, power, and energy.

Wh = V ร— Ah
kWh = Wh รท 1000
Ah = Wh รท V
Runtime (h) = Usable Battery Wh รท Load (W)

A 12V 100Ah battery stores approximately 12 ร— 100 = 1,200Wh (1.2kWh) nominal โ€” the label figure. Actual usable energy is lower once depth of discharge and system losses are factored in, which the calculator above does automatically.

Sizing

How to Calculate Battery Capacity

To size a battery for a load, start with the energy the load needs, then work backward to amp-hours at your chosen system voltage.

  1. Multiply load power (W) by runtime (h) to get raw energy needed (Wh).
  2. Divide by inverter efficiency and battery efficiency to account for conversion losses.
  3. Divide by your permitted depth of discharge, to size the nominal battery rather than just the usable portion.
  4. Divide by battery voltage to get required Ah.
Required Ah = (Load ร— Runtime) รท (Inverter Eff. ร— Battery Eff. ร— DoD ร— Voltage)

This separates three numbers that get conflated: theoretical capacity (the full Ah rating), usable capacity (what you can safely draw within your DoD), and recommended nominal capacity (the size to actually buy).

Worked examples

Battery Capacity Examples

Defaults below: 90% inverter efficiency, 95% battery efficiency, 50% depth of discharge โ€” matching the calculator.

01 ยท 500W for 4h, 12V
2,000Wh raw โ†’ adjusted for losses/DoD
โ‰ˆ 390 Ah
02 ยท 1,000W for 2h, 24V
2,000Wh raw โ†’ adjusted for losses/DoD
โ‰ˆ 195 Ah
03 ยท 300W for 8h, 12V
2,400Wh raw โ†’ adjusted for losses/DoD
โ‰ˆ 468 Ah
04 ยท 12V 100Ah battery
Stored energy
1,200 Wh
05 ยท 12V 200Ah battery
Stored energy
2,400 Wh
06 ยท 24V 100Ah bank
Stored energy
2,400 Wh
07 ยท 48V 100Ah bank
Stored energy
4,800 Wh
08 ยท Solar, 2kWh/day ร— 2 days
48V bank, ~50% DoD
โ‰ˆ 195 Ah
Runtime

How to Calculate Battery Runtime

Runtime (h) = (V ร— Ah ร— Battery Eff. ร— Inverter Eff. ร— DoD) รท Load (W)

A 12V 100Ah battery (1,200Wh nominal) running a 200W load, at 90% inverter efficiency, 95% battery efficiency, and 50% DoD: usable energy โ‰ˆ 513Wh, runtime โ‰ˆ 2.6 hours.

Real-world runtime rarely matches this exactly. Battery age, ambient temperature, discharge rate, and how spiky the load is (motors and compressors draw more than their steady rating on startup) all shift the result โ€” usually downward.

Inverters

How to Size a Battery for an Inverter

  1. Add up the wattage of everything you'll run simultaneously.
  2. Decide how long that load needs to run.
  3. Apply inverter efficiency, battery efficiency, and your DoD.
  4. Divide by system voltage for required Ah, then round up to an available battery or bank size.

Also confirm the battery โ€” and its BMS, if lithium โ€” can deliver the peak current the inverter draws, especially during surge. Capacity and deliverable current are separate specifications.

Solar

How to Size a Solar Battery

Required battery energy โ‰ˆ Daily energy consumption ร— Backup days

Adjust for DoD and system losses as above, then account for seasonal drops in solar production and runs of consecutive cloudy days. Solar battery sizing should never be based on inverter power alone โ€” a large inverter can sit next to a modest battery bank, and vice versa, depending entirely on the energy that needs storing.

Units

Ah vs Wh vs kWh

Ah measures electrical charge capacity alone โ€” no voltage involved. Wh measures stored energy directly (Wh = V ร— Ah), making it the more useful figure across different-voltage batteries. kWh is simply 1,000 Wh.

A 12V 100Ah battery stores 1,200Wh; a 24V 100Ah battery stores 2,400Wh โ€” double the energy on an identical Ah rating. Comparing batteries by Ah alone, without checking voltage, gives a misleading picture.

Voltage

Understanding Battery Voltage

System voltage sets the current a load draws: I = P รท V. A 1,000W load on 12V draws roughly 83A before losses; the same load on 48V draws about 21A. Higher voltages mean thinner cabling and less resistive loss โ€” one reason larger systems move to 24V or 48V.

Nominal voltage also isn't fixed in practice โ€” a "12V" lead-acid battery may sit anywhere from ~12.6โ€“12.8V full to ~11.8โ€“12V near empty. The calculator's voltage input is a planning figure, not a guarantee under load.

Depth of discharge

Understanding Depth of Discharge

DoD is the percentage of nominal capacity that's been used. A 100Ah battery at 50% DoD has had roughly 50Ah drawn from it.

  • Nominal capacity โ€” the full rated Ah on the label.
  • State of charge โ€” how full the battery currently is.
  • Depth of discharge โ€” the inverse of SoC.
  • Usable capacity โ€” the portion designed to be drawn before recharge, per the chemistry's recommended DoD.

There's no single DoD figure for every battery โ€” it varies by chemistry, brand, and cycling pattern, so it's a user-adjustable input rather than a constant.

Efficiency

Battery Efficiency

No battery returns 100% of the energy put into it โ€” charging and discharging both lose energy as heat, varying with age, chemistry, and discharge rate.

  • Battery efficiency โ€” round-trip losses inside the battery.
  • Inverter efficiency โ€” DC/AC conversion losses.
  • Overall system efficiency โ€” both combined, plus wiring losses.

Treat calculator output as a planning estimate, not a lab-measured guarantee for your specific hardware.

Chemistry

Battery Chemistry and Capacity

Lead-Acid

Flooded, AGM, and gel variants. Flooded needs periodic water top-ups and ventilation; AGM and gel are sealed and maintenance-free. Heavier per Wh than lithium, lower upfront cost, and typically discharged more conservatively โ€” the exact recommended DoD depends on the specific battery, not a universal number.

Lithium-ion / LiFePO4

Higher usable capacity relative to nominal rating, longer cycle life in many deep-cycle uses, and much lower weight. Requires a BMS for over-charge/discharge and cell-balance protection, different charge profiles, and a higher cost per Ah. Check the datasheet for exact figures.

Wiring

Battery Bank: Series and Parallel

Series

Voltage adds, Ah stays the same. Two 12V 100Ah batteries in series โ‰ˆ 24V 100Ah, โ‰ˆ2,400Wh total.

Parallel

Ah adds, voltage stays the same. Two 12V 100Ah batteries in parallel โ‰ˆ 12V 200Ah, โ‰ˆ2,400Wh total.

Series-parallel combines both โ€” four 12V 100Ah batteries can form two series pairs (24V 100Ah each) wired in parallel for โ‰ˆ24V 200Ah (โ‰ˆ4,800Wh). Only combine batteries matched in type, age, and capacity โ€” mixed batteries unbalance charging and shorten the life of the whole bank.

Common battery capacities and nominal energy
VoltageCapacityNominal Energy
12V50Ah600Wh
12V100Ah1,200Wh
12V200Ah2,400Wh
24V100Ah2,400Wh
24V200Ah4,800Wh
48V100Ah4,800Wh
48V200Ah9,600Wh
Capacity โ‰  power

Battery Capacity vs Battery Power

Capacity (Ah/Wh) is total stored energy. Power (W) is how fast that energy can be delivered right now. A battery can hold plenty of energy and still be unsuitable if it can't safely deliver the required current โ€” check its continuous/peak discharge rating and BMS limit, not just its Ah figure. A "5,000W inverter needs a 5,000Wh battery" rule of thumb skips the variable that actually sizes a battery: runtime.

Walkthrough

How to Use the Calculator

  1. Choose the mode that matches your question โ€” Energy, Required Ah, Runtime, or a direct Wh/Ah conversion.
  2. Enter battery voltage, and load power or Ah depending on the mode selected.
  3. Enter desired backup time, if sizing a battery.
  4. Enter inverter efficiency.
  5. Enter battery efficiency and permitted depth of discharge, if applicable to the mode.
  6. Select Calculate.
  7. Read the result off the panel, along with the assumptions used to reach it.
Reality check

Real-World Battery Sizing

  • Peukert effect (mainly lead-acid) โ€” fast discharge delivers noticeably less total capacity than the slow-discharge rating.
  • Temperature โ€” cold reduces usable capacity and available current.
  • Battery age โ€” capacity fades over service life.
  • Cable losses โ€” undersized or long runs waste energy as heat.
  • Surge loads โ€” motors and compressors draw far more than steady wattage at startup.

For final engineering decisions, use the manufacturer's discharge curves โ€” this calculator is built for planning-stage sizing.

Pitfalls

Common Battery Sizing Mistakes

  • Ignoring inverter efficiency when sizing a battery.
  • Assuming the full nameplate Ah is usable, ignoring DoD.
  • Confusing Ah with Wh across different voltages.
  • Shopping on Ah alone, ignoring voltage.
  • Ignoring Peukert effects at fast discharge rates.
  • Ignoring battery age and capacity fade.
  • Ignoring temperature effects on usable capacity.
  • Ignoring surge current versus continuous rating.
  • Mixing incompatible chemistries or ages in one bank.
  • Ignoring the battery's charging requirements.
Safety

Battery Safety Tips

  • Always connect with correct polarity.
  • Use appropriately rated fuses or breakers.
  • Size cables for the expected current.
  • Ventilate battery types that can vent gas, particularly flooded lead-acid.
  • Treat exposed terminals as live at all times.
  • Use charging equipment matched to the battery chemistry.
  • Respect BMS limits on lithium batteries.
  • Never mix incompatible battery types, ages, or capacities.

Always follow the battery and inverter manufacturer's specifications and applicable electrical codes. Results from this calculator are estimates for planning purposes โ€” actual performance depends on chemistry, temperature, discharge rate, battery age, and system losses.

FAQ

Frequently Asked Questions

How many Wh is a 12V 100Ah battery?

Approximately 1,200Wh (1.2kWh) nominal.

How do I calculate battery backup time?

Divide usable battery energy (Wh, after efficiency and DoD adjustments) by the load in watts.

How many batteries do I need for a 5kW inverter?

That depends on required runtime, not inverter wattage alone โ€” use the Required Ah mode with your actual load and backup time.

What is the difference between Ah and Wh?

Ah measures charge capacity alone; Wh measures stored energy and includes voltage, making it the more directly comparable figure.

Does higher Ah mean a better battery?

Not necessarily โ€” a higher-Ah battery at a lower voltage can store less total energy than a lower-Ah battery at a higher voltage.

What does battery DoD mean?

Depth of discharge โ€” the percentage of nominal capacity that has been drawn from the battery.

Can I use this calculator for lithium batteries?

Yes โ€” adjust the DoD input to reflect the higher usable capacity typical of lithium chemistries per the manufacturer's datasheet.

Why is actual runtime lower than the calculated figure?

Temperature, battery age, discharge-rate effects (Peukert), wiring losses, and surge loads all reduce real-world runtime below the simplified formula's result.

How many batteries do I need for a 48V bank?

Typically four 12V batteries in series per string, then additional strings in parallel to reach the required Ah.

Is battery capacity the same as battery power?

No โ€” capacity describes total stored energy, while power describes the rate energy can be delivered at any moment.

Continue sizing

Related Calculators

Battery Capacity Calculator โ€” planning-stage estimates only. Always verify against manufacturer specifications.