Battery Bank Calculation for UPS: Step-by-Step Guide

How-to basics · Updated November 23, 2026

To calculate the battery bank for a UPS, you need to determine the total power draw (in watts) of the equipment you want to back up, multiply it by the desired runtime (in hours), then divide by the battery voltage and a derating factor (typically 0.8 to 0.9) to account for inverter inefficiency and battery discharge limits. For example, a 500W load for 4 hours at 48V DC requires roughly 500 × 4 / (48 × 0.85) = 49 Ah of battery capacity, rounded up to 50 Ah. This article explains the full calculation, the variables involved, and how to size a bank correctly for real-world conditions.

Why Battery Bank Size Matters

UPS systems are rated in VA or watts, but that rating only tells you the maximum load they can handle—not how long they can run. The battery bank is the actual energy reservoir. If you undersize it, the UPS shuts down before your work is saved or your equipment is safely powered off. If you oversize it, you waste money and floor space, and you may overcharge or underuse the batteries, shortening their life. The calculation bridges the gap between the UPS’s power rating and the runtime you actually need.

Core Variables in the Calculation

Every battery bank calculation relies on four key inputs:

  • Load power (W): The total wattage of all connected devices. Use a watt meter or check nameplates; VA ratings are not the same as watts. For example, a computer with a 500W power supply may only draw 150W under normal use.
  • Runtime (hours): How long you want the UPS to sustain the load during an outage. Common targets: 5–15 minutes for safe shutdown, 1–4 hours for extended work or server uptime.
  • DC bus voltage (V): The internal battery voltage of the UPS. Small units use 12V or 24V; larger ones use 48V, 96V, or 192V. This is usually printed on the UPS label or in the manual.
  • Efficiency and discharge factor: Inverters are not 100% efficient (typically 85–95%), and lead-acid batteries should not be discharged below 50% depth of discharge (DoD) to preserve life. Lithium batteries can go to 80–90% DoD.

The basic formula is: Battery capacity (Ah) = (Load watts × Runtime hours) / (DC voltage × Efficiency × DoD). For a 500W load, 4 hours, 48V, 90% inverter efficiency, and 50% DoD, that gives 500 × 4 / (48 × 0.9 × 0.5) = 92.6 Ah. Note that this is higher than the earlier example because we included the DoD factor.

Step-by-Step Calculation Example

Let’s walk through a realistic scenario. You have a server that draws 300W, a monitor at 50W, and a router at 20W—total 370W. You want a 2-hour runtime. The UPS uses a 48V battery bank. Assume inverter efficiency of 90% and lead-acid batteries with 50% DoD.

  1. Total load: 370W.
  2. Required energy: 370W × 2h = 740Wh.
  3. Adjusted for efficiency: 740Wh / 0.9 = 822Wh.
  4. Adjusted for DoD: 822Wh / 0.5 = 1644Wh.
  5. Convert to Ah: 1644Wh / 48V = 34.25Ah.
  6. Round up to the nearest standard battery size: 35Ah or 40Ah. If using 12V batteries in series (four of them), each must be rated at least 35Ah.

If you use lithium batteries with 80% DoD, step 4 becomes 822 / 0.8 = 1027.5Wh, giving 21.4Ah—a significant size reduction. Always check the UPS’s maximum battery voltage and current rating before connecting a bank.

How to Choose the Right Batteries

Once you have the required Ah, you must select battery type and configuration. The most common options:

  • Sealed lead-acid (SLA/AGM): Cheap, maintenance-free, but heavy and limited to 50% DoD. Good for short runtime backups.
  • Gel batteries: Similar to AGM but better for deep cycling and higher temperatures.
  • Lithium-ion (LiFePO4): Lighter, longer cycle life, higher DoD (80–90%), but more expensive upfront. Ideal for frequent outages or long runtimes.

Series vs. parallel: To reach the UPS’s DC voltage, connect batteries in series (e.g., four 12V batteries for 48V). To increase capacity, connect strings in parallel. For example, two 48V strings of 50Ah each give 100Ah total. Never mix different battery ages, types, or capacities in the same bank—this causes imbalance and premature failure.

Common Mistakes and Misconceptions

Many users make errors that lead to undersized or damaged banks:

  • Using VA instead of watts: A UPS rated 1000VA may only deliver 600W. Always use the real watt draw.
  • Ignoring inverter efficiency: The UPS consumes power to convert DC to AC. If you skip this, your runtime will be shorter than calculated.
  • Discharging lead-acid below 50%: This dramatically shortens battery life. The calculation must include the DoD factor.
  • Assuming runtime scales linearly: Battery capacity is rated at a specific discharge rate (e.g., 20-hour rate). Drawing high current reduces effective capacity. For example, a 100Ah battery may only deliver 60Ah if discharged in 1 hour.
  • Forgetting temperature: Cold batteries lose capacity; hot batteries age faster. If the UPS is in an unheated garage, increase capacity by 10–20%.

Costs and Practical Considerations

Battery cost varies widely: a 12V 100Ah AGM battery costs roughly $150–$250, while a similar LiFePO4 costs $300–$500. For a 48V 200Ah bank, you might spend $600–$1,000 for AGM or $1,200–$2,000 for lithium. Factor in replacement frequency: AGM lasts 3–5 years, lithium 8–10 years. Also consider the UPS’s charging capability—if you add a much larger bank than the original, the charger may not fully recharge it within a reasonable time, or it may overcharge. Check the UPS’s maximum battery Ah rating in the manual.

Safety and Maintenance Tips

Batteries store dangerous amounts of energy. Follow these rules:

  • Use insulated tools and avoid shorting terminals—a wrench across a 48V bank can weld itself and cause burns.
  • Ensure proper ventilation; lead-acid batteries can emit hydrogen gas, especially during charging.
  • Install a fuse or circuit breaker between the battery bank and the UPS to protect against short circuits.
  • Check terminal torque and corrosion every 6 months; clean with baking soda solution if needed.
  • Never mix old and new batteries—replace the entire bank when capacity drops below 80% of rated.
  • For lithium batteries, use only a UPS designed for lithium charging profiles; otherwise, the BMS may disconnect unexpectedly.

Alternatives to a Custom Battery Bank

If the calculation seems complex, consider alternatives: (1) Buy a larger UPS with built-in extended battery packs—these are pre-engineered and plug in directly. (2) Use a generator for long outages, with the UPS only covering the gap during startup. (3) Install a solar-plus-storage system that can power the load indefinitely. Each has trade-offs in cost, complexity, and runtime. For most home users, a standard UPS with one or two external battery packs is simpler and safer than building a custom bank.

Frequently Asked Questions

How long will a 100Ah battery run a 500W load?

Assuming a 48V system, 90% efficiency, and 50% DoD, the usable energy is 48V × 100Ah × 0.5 = 2400Wh. Divide by 500W gives 4.8 hours, but actual runtime may be less due to discharge rate. At 500W, the battery is discharged at about 10A (500/48), which is a moderate rate, so you might get 4–4.5 hours.

Can I use car batteries for a UPS?

Technically yes, but not recommended. Car batteries are designed for short high-current bursts, not deep cycling. They will degrade quickly if discharged below 50% and may not fit the UPS’s charging profile. Use deep-cycle batteries (AGM or gel) instead.

What does the UPS’s VA rating have to do with battery size?

VA rating indicates the maximum load the UPS can handle, not the battery capacity. A 1500VA UPS can have a small or large battery bank depending on runtime needs. The battery calculation depends only on the actual watt load and desired runtime, not the VA rating.

How do I know the DC voltage of my UPS?

Check the label on the back or bottom of the UPS—it usually states ‘Battery Voltage: 24V’ or ’48V’. Alternatively, look at the number of batteries inside: each 12V battery in series adds 12V. For example, two 12V batteries in series = 24V.

Is it better to oversize the battery bank?

Slightly oversizing (10–20%) is fine to account for aging and temperature, but too large can cause undercharging, which reduces battery life. Follow the UPS manufacturer’s maximum battery capacity recommendation, or use an external charger if you exceed it.

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.