Battery Calculation: How to Size Any Battery Bank

How-to basics · Updated November 23, 2026

To do a battery calculation, you determine the total energy your devices consume (in watt-hours), then divide by the battery voltage to get amp-hours, and finally multiply by a safety factor (typically 1.2–1.5) to account for inefficiencies and depth-of-discharge limits. For example, a 100W load run for 5 hours needs 500Wh; on a 12V system that is 41.7Ah, but with a 50% depth-of-discharge limit, you need an 83.4Ah battery. This article walks through the full process, including real-world factors like inverter losses, temperature, and battery chemistry.

Why Battery Calculations Matter

Battery sizing is the difference between a system that works for years and one that dies prematurely or fails to power your devices. An undersized battery gets deeply discharged regularly, which shortens its lifespan, especially with lead-acid chemistry. An oversized battery wastes money and adds unnecessary weight and space. The calculation gives you a target capacity in amp-hours (Ah) or kilowatt-hours (kWh) that matches your actual energy usage, not a guess based on device wattage alone.

Most people confuse power (watts) with energy (watt-hours). Power is the rate of consumption at any instant; energy is the total consumed over time. A 60W light bulb uses 60 watts every hour it is on, so in 3 hours it consumes 180 watt-hours (Wh). Your battery stores energy, not power, so the calculation must convert everything to watt-hours first.

The Basic Formula: Watt-Hours to Amp-Hours

The core calculation is straightforward:

  • Step 1: List every device you will power, its wattage (W), and the number of hours per day it runs.
  • Step 2: Multiply each device’s wattage by its daily hours to get daily watt-hours (Wh/day).
  • Step 3: Add all daily watt-hours together to get your total daily energy consumption.
  • Step 4: Divide that total by your system voltage (12V, 24V, or 48V) to get the required amp-hours (Ah) per day.
  • Step 5: Multiply by a safety factor (1.2–1.5) and divide by the maximum depth of discharge (DoD) for your battery type (e.g., 0.5 for lead-acid, 0.8–0.9 for lithium).

Example: You have a 12V system powering a 50W fan for 8 hours (400Wh) and a 20W LED light for 5 hours (100Wh). Total = 500Wh/day. Divide by 12V = 41.7Ah/day. With a lead-acid battery (50% DoD) and a 1.2 safety factor, you need 41.7 × 1.2 / 0.5 = 100Ah. With a lithium battery (80% DoD), you need 41.7 × 1.2 / 0.8 = 62.5Ah.

Adjusting for Inverter Loss and Efficiency

If you are using an inverter to convert DC battery power to AC for household appliances, you must account for its efficiency, typically 85–95%. The inverter draws more current than the appliance’s rated wattage because it loses energy as heat. To adjust, divide the appliance wattage by the inverter efficiency (as a decimal). For example, a 200W appliance on a 90% efficient inverter actually draws 200 / 0.9 = 222W from the battery. Add this adjusted wattage to your daily total before dividing by voltage.

Also consider that batteries themselves are not 100% efficient during charging and discharging. Lead-acid batteries have a round-trip efficiency of about 80–85%, while lithium-ion is around 95%. If you are sizing a battery for a solar or off-grid system, multiply your required capacity by 1.15–1.25 for lead-acid to compensate for these losses.

Depth of Discharge and Battery Chemistry

Depth of discharge (DoD) is the percentage of a battery’s capacity that you use before recharging. Discharging a battery too deeply causes irreversible damage, especially in lead-acid types. Here are typical DoD limits:

  • Flooded lead-acid: 50% DoD – discharging deeper shortens cycle life dramatically.
  • AGM/Gel lead-acid: 50–60% DoD – similar to flooded but slightly more tolerant.
  • Lithium-ion (LiFePO4): 80–90% DoD – can be discharged much deeper without damage.

To size for DoD, divide your daily amp-hour requirement by the maximum DoD. For example, a 100Ah daily requirement on a flooded lead-acid battery (50% DoD) needs 200Ah of rated capacity. On a lithium battery (80% DoD), it needs 125Ah. Lithium batteries are more expensive upfront but often last longer and allow smaller physical size for the same usable energy.

How to Choose the Right Battery Voltage

System voltage (12V, 24V, or 48V) affects the current (amps) flowing through your wires. Higher voltage means lower current for the same power, which allows thinner cables and reduces voltage drop. For small systems under 1,000Wh/day, 12V is common and simple. For medium systems (1,000–3,000Wh/day), 24V is better. For large systems above 3,000Wh/day, 48V is recommended, especially with inverters.

To choose, first calculate your total daily watt-hours. If it’s below 1,000Wh, 12V is fine. If it’s 1,000–3,000Wh, consider 24V. Above that, go 48V. Also check your inverter’s input voltage range—many inverters are fixed at 12V, 24V, or 48V, so match the battery bank voltage to the inverter.

Example: A 2,000Wh/day system at 12V draws 167Ah/day, which requires heavy 4/0 AWG cables. At 24V, it draws 83Ah/day, allowing 2 AWG cables. At 48V, it draws 42Ah/day, allowing 6 AWG cables. Higher voltage reduces copper cost and power loss.

Common Mistakes and How to Avoid Them

People frequently make these errors when doing battery calculations:

  • Forgetting to convert watts to watt-hours: A 100W device running for 2 hours is 200Wh, not 100Wh. Always multiply by time.
  • Ignoring inverter efficiency: As shown above, this can add 10–15% to your required capacity.
  • Using 100% DoD for lead-acid: That kills the battery in weeks. Always use the manufacturer’s recommended DoD.
  • Not accounting for temperature: Cold batteries (below 10°C/50°F) have reduced capacity. If you operate in cold conditions, increase capacity by 10–20%.
  • Mixing battery ages or types: Always use identical batteries in a bank, same brand, model, age, and state of charge. Mixing causes imbalance and premature failure.

A common misconception is that a 100Ah battery can deliver 100A for one hour. In reality, lead-acid batteries have a Peukert effect—as discharge rate increases, usable capacity decreases. A 100Ah battery might only deliver 80Ah at a 1C rate (100A draw). For high-discharge applications, use a higher capacity or lithium batteries, which handle high rates better.

Cost and Practical Considerations

Battery cost varies widely by chemistry. Flooded lead-acid is cheapest, around $100–$150 per 100Ah at 12V. AGM costs $150–$250. Lithium (LiFePO4) costs $300–$500 per 100Ah, but lasts 3–5 times longer in cycles. When comparing, calculate cost per usable kilowatt-hour over the battery’s lifetime. A lithium battery that lasts 5,000 cycles at 80% DoD gives 5,000 × 0.8 × 1.2kWh = 4,800kWh usable, while a lead-acid that lasts 500 cycles at 50% DoD gives 500 × 0.5 × 1.2kWh = 300kWh. Even at triple the upfront cost, lithium is often cheaper per usable kWh.

Also factor in maintenance. Flooded lead-acid requires regular water topping and equalization charges. AGM and lithium are maintenance-free. If you are building a system for a cabin or RV, consider weight: a 100Ah lead-acid battery weighs about 60 pounds, while a lithium equivalent weighs about 30 pounds. This affects mounting and portability.

Safety and Handling Precautions

Batteries store large amounts of energy and can be dangerous if mishandled. Always follow these safety rules:

  • Use proper fuses or circuit breakers on every positive cable within 18 inches of the battery to prevent short circuits.
  • Never short-circuit a battery—it can cause explosion or fire.
  • Work in a well-ventilated area, especially with lead-acid batteries, which emit hydrogen gas during charging.
  • Wear safety glasses and gloves when handling batteries, especially lead-acid, as sulfuric acid can cause burns.
  • Use insulated tools to avoid accidental sparks.
  • For lithium batteries, never puncture, crush, or expose to high temperatures. Use a battery management system (BMS) if your battery doesn’t have one built-in.
  • Always charge with a charger designed for your battery chemistry and voltage.

Frequently Asked Questions

How do I calculate battery capacity for a solar system?

Calculate your daily watt-hours as described, then multiply by the number of days of autonomy (days without sun) you want. For example, if you need 1,000Wh/day and want 2 days of autonomy, you need 2,000Wh of usable energy. Divide by voltage (e.g., 12V) to get 166.7Ah usable, then divide by DoD (e.g., 0.5 for lead-acid) to get 333Ah rated capacity. Add a safety factor of 1.2–1.5 for inefficiencies.

What is the difference between amp-hours and watt-hours?

Amp-hours (Ah) measure charge capacity at a given voltage. Watt-hours (Wh) measure energy. To convert, multiply Ah by voltage: 100Ah × 12V = 1,200Wh. Always use watt-hours when comparing different voltage systems, because a 100Ah 24V battery stores twice the energy of a 100Ah 12V battery.

How long will a 12V 100Ah battery run a 500W inverter?

First, account for inverter efficiency (say 90%): 500W / 0.9 = 556W drawn from battery. At 12V, that’s 46.3A. A 100Ah battery at 50% DoD gives 50Ah usable. So runtime = 50Ah / 46.3A = 1.08 hours. With lithium at 80% DoD, runtime = 80Ah / 46.3A = 1.73 hours. This is a rough estimate; actual runtime varies with discharge rate and battery condition.

Can I use a car battery for solar storage?

Technically yes, but it’s not recommended. Car batteries are designed for short, high-current bursts to start engines, not deep cycling. Discharging a car battery below 50% repeatedly will damage it quickly. For solar storage, use a deep-cycle battery (flooded, AGM, gel, or lithium) designed to handle repeated discharges.

How do I calculate the number of batteries I need in parallel?

Divide your required total amp-hours by the amp-hour rating of one battery. For example, if you need 200Ah and have 100Ah batteries, you need 2 in parallel. When connecting in parallel, ensure all batteries are the same voltage and type, and use equal-length cables to balance charging and discharging. For higher voltage, connect batteries in series (e.g., two 12V in series for 24V).

What is the Peukert effect and does it matter for my calculation?

The Peukert effect states that a battery’s usable capacity decreases as the discharge rate increases. For lead-acid batteries, this is significant; for lithium, it’s negligible. If you have high-current loads (like an inverter running a microwave), you should increase your battery capacity by 10–20% for lead-acid to compensate. Most modern battery monitors can account for Peukert automatically.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.