Power & electricity
UPS runtime & sizing calculator
Size a UPS for your rack or homelab: estimate how long the batteries carry your load, and which watt and VA rating gives enough headroom.
- Battery energy
- 216 Wh
- Usable energy
- 156 Wh
- Estimated runtime
- 47 min
- UPS rating to look for
- ≥ 250 W / 278 VA
How to use it
- Enter the total load of everything plugged into the UPS (server, switch, router, modem) in watts — ideally measured.
- Enter the battery voltage, capacity (Ah) and count from the UPS or battery datasheet.
- Keep 80 % usable depth of discharge and 90 % inverter efficiency unless your datasheet says otherwise.
- Read the runtime and the minimum W/VA rating; both W and VA must be at or above the recommendation.
Formula and method
battery Wh = voltage × Ah × number of batteries usable Wh = battery Wh × depth of discharge × inverter efficiency runtime (h) = usable Wh ÷ load W rating W = load W × (1 + headroom) rating VA = rating W ÷ power factor
- Lead-acid batteries deliver less than their rated Ah when discharged quickly (Peukert effect), so for runtimes under about an hour the real runtime is usually shorter than this estimate. Battery capacity also drops with age and temperature.
- Use the manufacturer’s runtime chart for your exact model when it is available.
Worked example
Two 12 V 9 Ah batteries hold 12 × 9 × 2 = 216 Wh. With 80 % usable and 90 % inverter efficiency: 216 × 0.8 × 0.9 = 155.5 Wh. A 200 W load runs for 155.5 ÷ 200 = 0.778 h ≈ 47 minutes. With 25 % headroom the UPS should be rated at least 200 × 1.25 = 250 W and 250 ÷ 0.9 ≈ 278 VA.
FAQ
What is the difference between VA and W on a UPS?
VA is apparent power, W is real power; W = VA × power factor. A UPS has a limit for both, so check that your load stays below the watt rating, not only the VA rating.
How much runtime does a homelab need?
Enough to ride through short outages and to shut down cleanly during long ones. Many homelabs aim for 10–20 minutes and use NUT or the vendor software to shut servers down automatically.
Why is my real runtime shorter than calculated?
Battery age, temperature and high discharge rates reduce usable capacity. Lead-acid batteries in particular deliver noticeably less than their rated amp-hours at high loads.
Related tools
- Power consumption & electricity cost calculator — Turn a server’s idle and load watts into kWh and electricity cost per day, month and year, with official prices per country and US state.
- RAID & ZFS capacity calculator — Usable capacity, efficiency and fault tolerance for RAID 0/1/5/6/10, ZFS mirrors and RAIDZ1/2/3, in TB and TiB.
Formulas reviewed November 27, 2026 by Novian · runs entirely in your browser · methodology