Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Electrical
  3. /Power & Energy Calculators
  4. /Battery Capacity Calculator

Battery Capacity Calculator

Last updated: April 5, 2026

The Battery Capacity Calculator determines required battery bank size in amp-hours (Ah) and watt-hours (Wh) from load power, runtime, system voltage, depth of discharge, and efficiency losses. Essential for solar storage, UPS backup, electric vehicles, and any off-grid or backup power application.

Calculator

Results

Required Battery Capacity

245.1

Ah

Recommended Capacity with Margin

294.1

Ah

Required Battery Energy

2,941

Wh

Load Current

41.67

A

Suggested Minimum 20h Rate Current

14.71

A

Results

Required Battery Capacity

245.1

Ah

Recommended Capacity with Margin

294.1

Ah

Required Battery Energy

2,941

Wh

Load Current

41.67

A

Suggested Minimum 20h Rate Current

14.71

A

In This Guide

  1. 01The Battery Sizing Formula
  2. 02Depth of Discharge: The Most Misunderstood Battery Parameter
  3. 03Round-Trip Efficiency: The Hidden Energy Loss
  4. 04Battery Aging: Planning for Capacity Fade

Undersizing a battery bank is a costly mistake — your system fails during the critical moment it was designed for. Oversizing by 50% wastes money and weight on capacity you will never use. The calculator for battery capacity finds the engineering-correct size by working backwards from your actual load, accounting for the depth of discharge limit that determines how much of the nominal capacity you can safely use, and the efficiency losses that mean you need to store more energy than you will actually consume.

The Battery Sizing Formula

Required battery capacity (in Ah at the system voltage V):

Required Ah = (Load power W × Runtime hours) / (Voltage V × DoD × Efficiency)

Or equivalently in Wh: Required Wh = (Load W × Runtime h) / (DoD × Efficiency)

For a 500W load running 4 hours from a 48V system with 80% DoD and 90% round-trip efficiency: Required Wh = (500 × 4) / (0.80 × 0.90) = 2,000 / 0.72 = 2,778 Wh; Required Ah = 2,778 / 48 = 57.9 Ah. The reserve factor adds further margin — a 20% reserve means ordering at least 57.9 × 1.20 = 69.5 Ah of nameplate capacity. Use this online calculator for any load and runtime combination. The battery life calculator solves the inverse: given a fixed battery, how long will it run?

Depth of Discharge: The Most Misunderstood Battery Parameter

Depth of discharge (DoD) is the fraction of nominal capacity that can be safely discharged before recharging is required — exceeding it degrades cycle life dramatically:

  • Lead-acid (flooded): DoD 50% recommended maximum; 100% DoD reduces cycle life from 500+ cycles to under 200; designed for shallow cycling
  • AGM/VRLA lead-acid: DoD 50–60%; slightly better than flooded but still depth-sensitive
  • LiFePO4 (lithium iron phosphate): DoD 80–90% standard; 100% DoD acceptable for short periods; 2,000–6,000 cycles at 80% DoD — the dominant choice for solar and backup applications where cycle life justifies higher upfront cost
  • NMC/NCA lithium (EV cells): typically used at 80–90% of nameplate (manufacturers reserve top and bottom 10% in BMS)

The energy consumption calculator and power and energy calculators provide complementary energy system design tools.

Round-Trip Efficiency: The Hidden Energy Loss

No battery stores and returns 100% of the energy put into it. Round-trip efficiency (RTE) is the ratio of energy out to energy in for one charge-discharge cycle:

  • LiFePO4: 95–99% RTE — negligible losses; the primary reason lithium dominates applications where efficiency matters
  • Lead-acid: 75–85% RTE; 15–25% of energy is lost as heat during charging
  • Flow batteries (vanadium redox): 65–80% RTE; compensated by very long cycle life and independent power/energy scaling

In a solar storage system with lead-acid batteries, this efficiency loss means your solar panels must generate 15–25% more energy than your loads consume — a significant factor in panel sizing calculations.

Battery Aging: Planning for Capacity Fade

All batteries lose capacity over time. Lead-acid batteries reach end of life (defined as 80% of original capacity) in 3–7 years under typical solar cycling; LiFePO4 in 10–15+ years. For critical backup applications, size the battery to meet load requirements at end-of-life capacity, not nameplate — a system sized at 100% of nameplate capacity at installation will be undersized by 20% at end of life if no aging margin was included. Adding a 25% capacity margin over the calculated requirement effectively accounts for both aging and manufacturing tolerance variation.

Visual Analysis

How It Works

Load current = P/V. Required energy = P × t (Wh). Accounting for DoD: battery must hold energy/DoD Wh to deliver 'energy' Wh without exceeding DoD. Accounting for system efficiency (inverter, wiring losses): battery_Wh = (P × t) / DoD / η. Battery Ah = Wh / V.

Understanding Your Results

Round up required Ah to the next standard battery size available. Add 20-25% safety margin for battery aging (capacity fades to 80% by end of life). For lead-acid: standard sizes are 7, 12, 18, 26, 35, 55, 65, 100, 150, 200 Ah. For lithium: available in various custom sizes. Always verify the battery's rated discharge rate matches your application rate.

Worked Examples

Home UPS Backup for Critical Loads

Inputs

load w800
voltage v24
runtime hours2
dod pct50
efficiency pct85

Results

required ah78.4
required wh1882
load current33.33

80 Ah battery bank at 24V required for 2-hour backup of 800W load. Use two 12V 80Ah batteries in series. Add 20% aging margin → specify 100 Ah batteries.

Off-Grid Solar 3-Day Autonomy

Inputs

load w300
voltage v48
runtime hours72
dod pct80
efficiency pct90

Results

required ah700
required wh33600
load current6.25

700 Ah at 48V for 3-day solar autonomy with LiFePO4 batteries (80% DoD). Four 12V 200Ah batteries in series-parallel configuration.

Frequently Asked Questions

Ah (ampere-hours) measures charge capacity at a specific voltage. Wh (watt-hours) measures energy, independent of voltage. Wh = Ah × V. Wh is more useful for comparing batteries at different voltages and for energy budget calculations. A 100 Ah / 12V battery stores 1200 Wh = 1.2 kWh.

Battery capacity fades with each charge-discharge cycle. Lead-acid typically reaches 80% of initial capacity after 300-500 cycles. LiFePO4 maintains 80% capacity for 2000-4000 cycles. Size the battery bank for end-of-life capacity: if 100 Ah is needed at end of life, install 125 Ah initially to account for aging.

C-rate is the discharge rate relative to capacity. C/1 means full discharge in 1 hour; C/10 means discharge in 10 hours. Battery capacity is specified at C/20 or C/10. Higher discharge rates yield less usable capacity (Peukert effect). For UPS (C/1 to C/3 rates), derate lead-acid capacity by 20-30% versus the C/20 rating.

Calculate daily energy consumption (kWh/day). Multiply by days of autonomy (typically 2-5 days). Divide by DoD (0.5 for lead-acid, 0.8 for LiFePO4). Divide by system efficiency (0.85-0.90). This gives required battery Wh. Divide by battery voltage to get Ah. Add 25% for aging margin.

VRLA (Valve-Regulated Lead-Acid) is the traditional choice for UPS — low cost, maintenance-free, widely available. LiFePO4 is increasingly preferred: 2-3× cycle life, lighter, 80% DoD vs 50% for lead-acid, better performance at high C-rates. Higher upfront cost but lower lifecycle cost for frequently cycled systems.

Solar battery sizing requires two inputs: daily energy consumption (load W × hours per day) and required autonomy days (how many cloudy days without solar generation the system must cover). Required capacity = (Daily energy Wh × Autonomy days) / (DoD × efficiency). For a 1,500 Wh/day system needing 2 days autonomy with LiFePO4 at 85% DoD and 97% efficiency: 1,500 × 2 / (0.85 × 0.97) = 3,637 Wh nameplate. Add 25% aging margin: 4,546 Wh. At 48V: approximately 95 Ah of LiFePO4 battery bank.

Sources & Methodology

IEEE 485 (Battery Sizing for UPS), IEEE 1013 (Standby Battery Sizing), IEC 60896, Sandia National Labs Battery Storage Technology Comparison

How helpful was this calculator?

5.0/5 (1 rating)

Related Calculators

Fuel Efficiency Calculator

Travel & Transportation Calculators

Leap Year Calculator

Day of Week & Calendar Calculators

Sunrise/Sunset Calculator

Day of Week & Calendar Calculators