When the utility fails, a UPS keeps critical equipment alive on battery until power returns or a generator picks up the load. Getting the battery size right is the difference between 5 minutes and 50 minutes of runtime. This calculator sizes both the UPS (in kVA) and the battery bank (in amp-hours) for your target runtime.
How it works
There are two independent calculations.
UPS sizing (apparent power). A UPS is rated in kVA, but loads are measured in watts. Convert using the load power factor:
S (VA) = P (W) / power factor
kVA = S / 1000
Designers then add 20–25% headroom for growth and inrush.
Battery sizing (energy). The battery must store enough energy to carry the load for the runtime, accounting for inverter losses and the fact you never fully drain a battery:
usable Wh = load W × (runtime hours) / inverter efficiency
nameplate Wh = usable Wh / depth of discharge
Ah = nameplate Wh / battery bus voltage
Worked example
A small server rack draws 1500 W at a 0.9 power factor and needs 30 minutes of runtime on a 48 V battery bus, with a 90% efficient inverter and an 80% depth of discharge.
- Apparent power:
1500 / 0.9 = 1667 VA→ about 1.67 kVA; with 25% headroom, a 2.1 kVA UPS. - Usable energy:
1500 W × 0.5 h / 0.90 = 833 Wh. - Nameplate energy:
833 / 0.80 = 1042 Wh. - Capacity:
1042 / 48 = 21.7 Ahat 48 V.
Notes and tips
- Higher battery bus voltage means fewer amp-hours for the same energy, which cuts cable size and copper cost — one reason large systems use 48 V or higher.
- Real battery capacity falls at high discharge rates (Peukert effect) and in cold temperatures. For short, hard discharges, add margin beyond this estimate.
- Always confirm the UPS can supply the inrush of any motor or transformer loads, not just steady-state watts.
Every calculation runs locally in your browser. No data is sent to any server.