Skip to content
runonprem

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.

W
V
Ah
%
%
%
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

  1. Enter the total load of everything plugged into the UPS (server, switch, router, modem) in watts — ideally measured.
  2. Enter the battery voltage, capacity (Ah) and count from the UPS or battery datasheet.
  3. Keep 80 % usable depth of discharge and 90 % inverter efficiency unless your datasheet says otherwise.
  4. 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

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

Formulas reviewed November 27, 2026 by Novian · runs entirely in your browser · methodology