Productive Toolbox

Battery Capacity Calculator

Calculate required battery capacity in Ah and Wh for backup power, solar systems, and electronics. Free online calculator with efficiency adjustment and battery type support.

Actions

System Parameters

W
V
hours
50%75%100%

Common Applications

What Is a Battery Capacity Calculator?

A battery capacity calculator computes the required battery size, in amp-hours (Ah) and watt-hours (Wh), to power a given load for a target runtime. Enter load power, battery voltage, desired runtime, and battery type, and the calculator returns both the ideal capacity and an efficiency-adjusted figure that accounts for real-world conversion and discharge losses.

The basic math — Energy = Power × Time, then Capacity = Energy ÷ Voltage — is simple multiplication and division, but sizing a real battery also requires accounting for the fact that no battery system is 100% efficient. Lead-acid, lithium-ion, and LiFePO4 chemistries have meaningfully different round-trip efficiencies, and skipping this adjustment leads to under-buying capacity that looks correct on paper but underdelivers in practice. This tool builds in default efficiency figures for each chemistry so the adjustment isn't missed.

Built for solar system designers, RV and camper owners, and anyone specifying backup power for outages or off-grid use. Includes six built-in presets from LED lighting backup to full solar systems, full step-by-step derivation, and text export — free.

The Battery Capacity Formula

Core Formulas

Energy (Wh) = Power (W) × Runtime (hours)

Ideal Capacity (Ah) = Energy (Wh) ÷ Voltage (V)

Adjusted Capacity = Ideal Capacity ÷ Efficiency

Current (A) = Power ÷ Voltage

Example: 100W load, 12V, 5 hours, 80% efficiency

Ideal: 41.67Ah, Adjusted: 52.08Ah

  • Lead-acid — default efficiency 80%, lower cost, shorter cycle life
  • Lithium-ion — default efficiency 90%, higher energy density
  • LiFePO4 — default efficiency 95%, longest cycle life among common chemistries
  • Higher battery voltage reduces the Ah requirement for the same power and runtime

How to Use the Battery Capacity Calculator

Step-by-Step Guide

  1. 1Enter Load Power: Input the total power in watts (W) that the connected equipment draws.
  2. 2Enter Battery Voltage: Input the nominal battery voltage — commonly 12V, 24V, or 48V.
  3. 3Enter Desired Runtime: Input how many hours the load needs to run on battery power.
  4. 4Select Battery Type: Choose lead-acid, lithium-ion, or LiFePO4 — each has a different default efficiency.
  5. 5Read the Required Capacity: View ideal and efficiency-adjusted capacity (Ah), plus energy (Wh) and discharge current (A).

What This Calculator Provides

  • ✓Real-time calculation as you type
  • ✓Ideal and efficiency-adjusted capacity (Ah)
  • ✓Total energy required (Wh)
  • ✓Discharge current (A) calculation
  • ✓Battery type-specific default efficiency (lead-acid, Li-ion, LiFePO4)
  • ✓Full step-by-step derivation
  • ✓Six built-in presets (LED, solar, RV, more)
  • ✓Calculation history
  • ✓Export calculation as a text file
  • ✓No signup required

Real-World Use Cases

LED Lighting Backup Sizing

A homeowner sizing battery backup for 60W of LED lighting at 12V, needed for 8 hours during outages, uses lead-acid battery type. The calculator returns 40Ah ideal capacity, adjusted to 50Ah at 80% efficiency — guiding them to purchase a 50Ah or larger 12V lead-acid battery.

Router and Modem Backup

A remote worker needing internet backup during outages sizes a lithium-ion battery for a 30W router and modem load at 12V for 4 hours. The calculator returns 10Ah ideal, adjusted to 11.11Ah at 90% lithium-ion efficiency — a small, easily portable battery pack covers this need.

Solar System Battery Bank Sizing

An off-grid solar installer sizing a battery bank for a 500W load at 24V running 10 hours overnight uses LiFePO4 chemistry. The calculator returns 208.33Ah ideal capacity, adjusted to 219.3Ah at 95% efficiency — informing the battery bank specification for the system design.

RV/Camper House Battery Sizing

An RV owner sizing house batteries for a 200W average load at 12V over a 12-hour camping night uses lithium-ion chemistry. The calculator returns 200Ah ideal, adjusted to 222.2Ah at 90% efficiency — used to select an appropriately sized lithium battery bank for their camper.

Emergency Home Backup Power

A homeowner planning emergency backup for a 300W critical load (refrigerator, some lighting) at 24V for 6 hours uses LiFePO4 chemistry. The calculator returns 75Ah ideal, adjusted to 78.9Ah — helping size an emergency battery system with margin added for real-world safety.

Small Inverter Load Battery Selection

A hobbyist running a 100W inverter load at 12V for 5 hours uses lead-acid battery type. The calculator returns 41.67Ah ideal, adjusted to 52.08Ah at 80% efficiency, plus a discharge current of 8.33A — confirming a common 55Ah or 60Ah deep-cycle battery would comfortably cover this use case.

Tips & Common Mistakes

Pro Tips

  • 💡Add 20-30% margin beyond the calculated adjusted capacity, especially for lead-acid batteries — regularly discharging to 100% of rated capacity shortens cycle life significantly compared to keeping some reserve.
  • 💡Use higher voltage battery banks (24V or 48V rather than 12V) for larger loads — this reduces both the Ah requirement and the current draw, which in turn reduces the cable gauge needed to safely handle the connection.
  • 💡Choose LiFePO4 for applications with frequent deep discharge cycles despite the higher upfront cost — its longer cycle life and higher efficiency often result in a lower total cost of ownership over the system's lifetime.
  • 💡Always check the discharge current against your battery's maximum continuous discharge rating, not just its Ah capacity — some batteries have capacity to spare but can't safely deliver high current for the load you're planning.
  • 💡Use this calculator's ideal Wh figure to compare battery options across different voltages and chemistries on an even footing, since Wh represents total stored energy independent of voltage.

Common Mistakes to Avoid

  • ✕Sizing to the ideal (unadjusted) capacity figure and ignoring efficiency losses. This under-sizes the actual battery needed, especially for lower-efficiency lead-acid systems where the gap between ideal and adjusted capacity can be 20% or more.
  • ✕Using a generic 'average' power figure for loads that have variable or peak draw, like refrigerators with compressor startup surges. Size for the realistic peak or average-over-time figure, not just nameplate wattage.
  • ✕Assuming all battery chemistries share the same efficiency. Lead-acid, lithium-ion, and LiFePO4 have meaningfully different round-trip efficiencies — always select the correct battery type for an accurate adjusted capacity.
  • ✕Forgetting that battery capacity ratings often assume a specific discharge rate (like a 20-hour or 100-hour rate for lead-acid). Actual usable capacity can be lower at faster discharge rates than the manufacturer's rated Ah figure suggests.
  • ✕Ignoring temperature effects on battery capacity. Cold temperatures significantly reduce usable capacity for most battery chemistries, particularly lead-acid — size with margin if the battery will operate in cold conditions.

Battery Type Efficiency Reference

Battery TypeDefault EfficiencyTypical Use
Lead-acid80%Cost-sensitive backup, automotive, low-cycle applications
Lithium-ion90%Portable electronics, RVs, moderate-cycle backup
LiFePO495%Solar systems, frequent-cycle applications, longest lifespan

* Default efficiency figures are typical estimates — actual efficiency varies by manufacturer, discharge rate, and battery age.

Frequently Asked Questions

What is a battery capacity calculator?

A free online tool that computes required battery size in Ah and Wh to power a load for a target runtime, adjusted for battery type efficiency.

What is the formula for battery capacity?

Energy (Wh) = Power × Runtime. Capacity (Ah) = Energy ÷ Voltage. A 100W load for 5 hours at 12V needs 500Wh, or 41.67Ah ideal.

Why do I need to adjust for efficiency?

Real systems lose energy to internal resistance and conversion losses. Adjusted Capacity = Ideal ÷ Efficiency. At 80% efficiency, 41.67Ah becomes 52.08Ah.

What efficiency should I use for different battery types?

Lead-acid ~80%, lithium-ion ~90%, LiFePO4 ~95% — LiFePO4 is among the most efficient common chemistries.

How do I calculate discharge current?

Current (A) = Power ÷ Voltage. A 300W load on 24V draws 12.5A — check this against the battery's max discharge rating.

Why does battery voltage matter for sizing?

Higher voltage needs fewer Ah for the same power and runtime, since Ah = Wh ÷ V — larger systems often use 24V or 48V to reduce Ah and current.

How much capacity for an 8-hour LED backup?

60W at 12V for 8 hours: 480Wh, 40Ah ideal, 50Ah adjusted at 80% lead-acid efficiency.

Should I size to exactly the calculated capacity?

No, add 20-30% margin — regularly discharging to 100% shortens cycle life, especially for lead-acid batteries.

How is this different from a battery backup time calculator?

This solves for required capacity given a target runtime. A backup time calculator solves the reverse: how long an existing battery lasts under a load.

Is my data private when using this calculator?

Yes. We do not collect or store what you enter.

Who Uses This Battery Capacity Calculator?

☀️

Solar System Designers

Size battery banks for off-grid and backup solar installations based on load, runtime, and chemistry.

🚐

RV & Camper Owners

Determine house battery capacity needed to power appliances and electronics through a camping trip.

🏠

Homeowners

Plan emergency backup power systems for outages, sizing batteries for critical household loads.

🔌

Electronics Hobbyists

Size battery packs for portable projects and equipment requiring a specific runtime.

🎓

Electrical Engineering Students

Learn battery sizing calculations and the role of efficiency in real-world energy storage systems.

🏢

Facility Managers

Specify backup battery systems for critical equipment during utility power interruptions.