To calculate the battery size for a UPS, you need to know the load in watts, the desired backup time in hours, the battery voltage, and the efficiency of the inverter. The basic formula is: Battery Capacity (Ah) = (Load in Watts × Backup Hours) ÷ (Battery Voltage × Inverter Efficiency × Depth of Discharge). For example, a 500W load for 2 hours on a 12V system with 90% inverter efficiency and 80% depth of discharge needs about 115 Ah.
Understanding UPS Battery Ratings
UPS batteries are rated in amp-hours (Ah) and voltage (V). The amp-hour rating tells you how much current the battery can supply for one hour. However, the actual runtime depends on the load and the battery’s discharge curve. A battery rated 100Ah can theoretically deliver 100A for 1 hour, but in practice, delivering higher current reduces the total energy extracted. Most UPS batteries are sealed lead-acid (SLA) or valve-regulated lead-acid (VRLA), and they are designed for short, high-rate discharges.
When you see a UPS advertised as “1500VA,” that is the apparent power. The real power in watts is VA × power factor (typically 0.6 to 0.9 for computer loads). For battery sizing, always use watts, not VA.
The Core Formula for Battery Sizing
Here is the step-by-step method to calculate the required battery capacity for a UPS system:
- Determine the load (W): Add up the wattage of all devices the UPS will power. For example, a computer (300W), monitor (50W), and router (20W) = 370W.
- Decide backup time (T): How long must the system run during a power outage? For home use, 10–30 minutes is common; for servers, 1–2 hours.
- Find the system voltage (V): Small UPS units use 12V or 24V; larger ones use 48V or 96V. This is the total battery bank voltage.
- Estimate inverter efficiency (η): Typically 0.85 to 0.95. If not known, use 0.9.
- Set depth of discharge (DoD): For lead-acid, 50% is safe for longer life; 80% is maximum. For lithium, 80–90% is fine.
Then apply the formula:
Battery Capacity (Ah) = (Load in Watts × Backup Hours) ÷ (Battery Voltage × Inverter Efficiency × Depth of Discharge)
Example: 370W load, 1 hour backup, 12V system, 0.9 efficiency, 0.5 DoD:
Ah = (370 × 1) ÷ (12 × 0.9 × 0.5) = 370 ÷ 5.4 = 68.5 Ah
You would round up to a 75Ah or 100Ah battery. If you want 2 hours, double the Ah: 137 Ah, so a 150Ah battery.
Factors That Affect Runtime
The calculated capacity is a starting point. Real-world runtime is influenced by several factors:
- Battery age: Batteries lose capacity over time. A new battery might deliver its rated Ah, but after a few years, it may only give 70–80%.
- Temperature: Cold batteries have reduced capacity; heat shortens battery life. Ideal is 20–25°C (68–77°F).
- Load type: Motors and some electronics have inrush current that momentarily draws more power.
- Inverter efficiency: The conversion from DC to AC is not perfect; losses appear as heat.
- Battery discharge rate: The Peukert effect means that at higher discharge currents, the effective capacity is lower. For example, a 100Ah battery might only deliver 80Ah if discharged in 20 minutes.
To be safe, add a 20–30% margin to the calculated Ah to account for these factors.
How to Choose the Right UPS Battery
When selecting a battery for your UPS, consider the following:
- Voltage match: The battery voltage must match the UPS’s DC bus voltage. Check the label or manual.
- Capacity: Use the calculated Ah, but also check the UPS’s maximum charging current. A larger battery may take longer to charge and might not be fully supported.
- Battery type: Most UPS units use sealed lead-acid (SLA). Some newer models support lithium-ion (LiFePO4), which is lighter and lasts longer but costs more.
- Physical size: Ensure the battery fits in the UPS compartment or external battery cabinet.
- Brand and quality: Use reputable brands like APC, CyberPower, or Yuasa. Cheap batteries may have lower actual capacity.
If you are building an external battery pack, use batteries of the same voltage and capacity, and connect them in series to increase voltage or parallel to increase capacity. For example, two 12V 100Ah batteries in series give 24V 100Ah; in parallel they give 12V 200Ah.
Common Mistakes in Battery Calculation
Many people make errors that lead to undersized or oversized batteries. Here are the most frequent:
- Using VA instead of watts: A 1500VA UPS might only deliver 900W. If you size for 1500W, you will be disappointed.
- Ignoring depth of discharge: Draining a lead-acid battery to 100% regularly ruins it quickly. Always factor in a safe DoD.
- Forgetting inverter efficiency: The battery must supply more power than the load because of conversion losses.
- Oversizing the battery: A battery that is too large may not get fully charged by the UPS’s charger, leading to sulfation and early failure.
- Not accounting for future expansion: If you plan to add more devices, size for that future load now.
Calculating Runtime from a Known Battery
If you already have a battery and want to know how long it will last, rearrange the formula:
Runtime (hours) = (Battery Voltage × Battery Ah × Inverter Efficiency × Depth of Discharge) ÷ Load (Watts)
Example: A 12V 100Ah battery, 0.9 efficiency, 50% DoD, powering a 300W load:
Runtime = (12 × 100 × 0.9 × 0.5) ÷ 300 = 540 ÷ 300 = 1.8 hours
So you get about 1 hour and 48 minutes. Remember that as the battery discharges, the voltage drops, and the inverter may shut down before reaching the DoD limit.
Battery Types: Lead-Acid vs. Lithium
UPS batteries are traditionally sealed lead-acid (SLA) or valve-regulated lead-acid (VRLA). They are inexpensive but have a lifespan of 3–5 years and require periodic replacement. Lithium-ion (LiFePO4) batteries are becoming more common in premium UPS units. They offer:
- Longer lifespan (8–10 years)
- Higher depth of discharge (up to 90%)
- Lighter weight and smaller size
- Faster charging
However, they cost 2–3 times more upfront. For most home users, lead-acid is sufficient; for data centers or critical equipment, lithium may be worth the investment.
Safety and Maintenance Tips
Batteries contain hazardous materials and can produce explosive gases. Follow these safety guidelines:
- Always place the UPS in a well-ventilated area.
- Do not expose batteries to extreme heat or open flames.
- Never short-circuit the battery terminals.
- Replace batteries every 3–5 years or when runtime drops below 60% of original.
- Recycle old batteries at designated collection points.
- If you are connecting multiple batteries, use proper gauge cables and fuses.
Frequently Asked Questions
How long will a 100Ah battery run a 500W load?
Using the formula with 12V, 0.9 efficiency, and 50% DoD: Runtime = (12 × 100 × 0.9 × 0.5) ÷ 500 = 540 ÷ 500 = 1.08 hours, or about 1 hour and 5 minutes. If you use 80% DoD, it’s about 1 hour 44 minutes, but that reduces battery life.
Can I use a car battery for my UPS?
Technically yes, but not recommended. Car batteries are designed for short bursts of high current, not deep discharges. They will be damaged if regularly discharged below 50%. Use a deep-cycle battery (like a marine or golf cart battery) instead.
Why does my UPS battery drain faster than calculated?
Possible reasons: the battery is old, the load is higher than you think, the inverter efficiency is lower than expected, or the battery is cold. Also, the UPS itself consumes some power for its internal electronics. Check the actual load with a watt meter.
What is the difference between VA and watts for UPS sizing?
VA (volt-amps) is apparent power, while watts is real power. For computers, the power factor is typically 0.6–0.9. So a UPS rated 1500VA might only provide 900W. Always use watts for battery calculation.
How do I know the battery voltage of my UPS?
Check the label on the UPS or the battery itself. It is usually printed on the back or bottom. Common voltages are 12V, 24V, 48V, and 96V. If you can’t find it, look up the model online.
Related
- Browsing Shortcut Keys: The Complete List
- Alphalist Data Entry v7.3: What It Is & How It Works
- Shortcut for Forward in Excel? Quick Answer
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Excel Average Days Between Dates: Formula and ExamplesTo average the number of days between paired dates in Excel, subtract each start date from its matching…
- String Manipulation Functions in JavaString manipulation functions in Java are methods provided by the String class (and related classes like StringBuilder, StringBuffer,…
- Filter Excel by Date: Steps, Custom Ranges, and FixesTo filter dates in Excel for Microsoft 365 on Windows, select a cell in your data, choose Data…
- How to Add Hours in Excel: Formulas and Time FormatsTo add hours in Excel, enter each duration in a cell, total the cells with SUM, then format…
- Count Unique Strings in Excel: Formulas and ExamplesTo count distinct, nonblank text strings in Excel for Microsoft 365, put your data in A2:A100 and use…
- How to Use CONCATENATE in ExcelTo combine text from cells in Excel, use =CONCATENATE(A2," ",B2); if A2 contains Grace and B2 contains Hopper,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.