Battery Capacity Calculator

A battery capacity calculator helps you estimate how many amp-hours you need for a specific load, voltage, and runtime. This is one of the most useful sizing tools for lithium batteries because it converts energy demand into a practical battery size you can actually shop for or design around.

This page calculates required watt-hours, required usable watt-hours, required amp-hours, and recommended battery size using runtime, voltage, depth of discharge, and efficiency. It works well for solar backup, RV systems, marine loads, off-grid setups, and general lithium battery planning.

Short answer: Start with load in watts multiplied by runtime in hours to get watt-hours, then divide by system voltage and adjust for usable depth of discharge and efficiency to estimate the battery capacity you need in amp-hours.

Required Battery Ah Calculator

Estimate required battery capacity from load, runtime, voltage, battery chemistry, usable DoD, and system efficiency

LiFePO4 is often modeled at 80% usable DoD, while Li-ion is often modeled around 80% to 85%.
Enter the average load in watts for the device, inverter, or system.
Enter the desired operating time in hours.
Common lithium battery systems are 12V, 24V, and 48V.
This is the usable portion of rated battery capacity you plan to rely on.
Use this to account for inverter and system losses.

Features

Any Load

Calculate required amp-hours for almost any electrical load, from small electronics to larger inverters and backup systems.

Desired Runtime

Size the battery around how many hours you actually want the system to run, not only around power draw.

Common Voltages

Choose common 12V, 24V, and 48V battery systems or enter a custom voltage for special setups.

DoD and Efficiency

Adjust for usable depth of discharge and system efficiency so the required battery size is more realistic than a simple ideal calculation.

Capacity Formula

The starting point is the basic energy formula:

Required Wh = Load (W) × Runtime (hours)

The simple amp-hour version is:

Required Ah = Wh ÷ Voltage ÷ DoD

When you also want to account for losses, a more practical version is:

Required Ah = Wh ÷ Voltage ÷ DoD ÷ Efficiency

Here, DoD and efficiency should be used as decimals in the actual math, such as 0.8 for 80% and 0.95 for 95%. That gives you a more realistic required battery size than using ideal energy only.

Battery Chemistry Assumptions

Battery TypeTypical Usable DoDNotes
LiFePO480%Common conservative planning value for routine use
Li-ion80%–85%Common planning range depending on battery design

These are planning assumptions, not absolute rules. Some manufacturers allow deeper discharge, but repeated deep cycling can affect longevity, so conservative sizing is usually safer for daily-use systems.

Worked Example

Your example starts with a 500W load running for 4 hours, which equals 2000Wh of required energy. Using 12V and 80% usable DoD gives 2000 ÷ 12 ÷ 0.8 = 208.3Ah, which matches the standard battery capacity calculation you provided.

If you also include 95% system efficiency, the required size becomes slightly larger because the system has to cover conversion and wiring losses. That is why practical battery sizing often ends up a bit higher than the simple formula result.

Practical warning: Real battery systems should include reserve margin. If your calculated answer is 208Ah, many real designs would round up to the next standard size or add extra capacity for aging, cold weather, or surge demand.

Solar and Backup Use

Solar Systems

For solar sizing, start with your daily energy use in Wh, then convert that into required battery Ah at your chosen battery voltage and usable DoD.

Backup Days

If you want multiple days of backup, multiply your daily energy need by the number of backup days before converting to amp-hours.

Inverter Loads

When powering AC devices through an inverter, include efficiency losses so your battery estimate is not too small.

Battery Selection

Once you know the required Ah, compare that figure with standard battery sizes such as 100Ah, 200Ah, and 300Ah packs.

Practical rule: Size for real usable capacity, not rated nameplate capacity alone. Depth of discharge and efficiency make a big difference to the final battery size.

Frequently Asked Questions

How many Ah do I need for 500W for 4 hours?▼
500W × 4 hours = 2000Wh. At 12V with 80% usable DoD, 2000 ÷ 12 ÷ 0.8 = 208.3Ah.
What size lithium battery do I need for my solar system?▼
Start with your daily load in watt-hours, multiply by any desired backup days, then divide by system voltage and usable DoD. Add efficiency and reserve margin for a more practical answer.
Why does higher voltage reduce required Ah?▼
Because the same watt-hours can be delivered with fewer amp-hours at higher voltage. The energy need stays the same, but the Ah number changes with voltage.
Should I include efficiency losses?▼
Yes, especially for inverter-based systems. Efficiency losses make the required battery capacity larger than the ideal no-loss calculation.
Is 80% DoD standard for LiFePO4?▼
It is a common conservative planning number. Some batteries allow deeper discharge, but 80% is often used for practical battery sizing.

Related Tools

Disclaimer: All calculator results are estimates based on standard formulas. Always verify with manufacturer specifications for critical applications.