Skip to content
DoItJag

UPS Runtime Calculator

Find out how many hours your batteries will keep things running in a power cut. Enter the voltage and Ah of your batteries and how they are connected, the load in watts, the inverter efficiency and how deeply you let the battery discharge. You get the estimated backup time, the battery current and the size of the bank in kWh.

Batteries

2 × 12 V in series = 24 V.

Usually 1.

Add up the watts of everything running during a power cut.

Editable assumption. Use the figure from your inverter or UPS datasheet if you have it.

How much of the battery you let it use before it cuts off. Check your battery maker's advice.

Advanced: Peukert correction

1 switches the correction off. Some battery datasheets give this figure.

20 for a C20 rating, 10 for C10.

Formula: backup hours = bank Ah × depth of discharge ÷ (load W ÷ (efficiency × bank V)). Bank V = battery V × batteries in series; bank Ah = battery Ah × parallel strings. With the Peukert correction: hours = H × (bank Ah ÷ (current × H))k × depth of discharge. Old batteries, heat, cold and high loads all shorten real backup time, so treat this as a best case.

How long will the battery last?

The backup time of a UPS or home inverter depends on how much energy the batteries hold, how much of it you allow them to give up, how efficiently the inverter turns battery power into mains power, and how hard you are pulling. This page puts those four together.

The battery bank

A battery’s capacity is printed in ampere-hours (Ah) at a nominal voltage, for example 12 V 150 Ah. Connect two in series and the voltage doubles to 24 V while the Ah stays at 150. Connect two in parallel and the Ah doubles while the voltage stays the same. Either way, the energy stored is volts × Ah: 1.8 kWh for one 12 V 150 Ah battery.

Worked example

Run 300 W from that single battery through an inverter that is 80% efficient. The battery has to supply 300 ÷ 0.8 = 375 W, and at 12 V that is 31.25 A. Dividing 150 Ah by 31.25 A gives 4.8 hours, if the whole capacity could be used. Allow only 80% of it and you get about 3 hours 50 minutes.

Depth of discharge

Few batteries should be emptied completely. Lead-acid types last far longer when they are not drained deeply, and lithium batteries have a management system that cuts off before empty. Enter the figure your battery or inverter maker recommends.

Heavy loads and Peukert’s law

Lead-acid batteries give less than their rated Ah when discharged quickly. The rating is usually quoted over 20 or 10 hours (C20 or C10). Peukert’s equation corrects for faster discharge using an exponent; some datasheets publish it. Leave the exponent at 1 to skip the correction.

Why reality is often shorter

Capacity falls with age and in cold weather, inverters waste more power at very light loads, and a low-voltage cut-out may stop the inverter early. Treat the estimate as an upper limit. To work backwards from the hours you need, use the battery sizing calculator.

How to use UPS Runtime Calculator

  1. Enter the voltage and Ah of one battery and how many are in series and in parallel.
  2. Enter the load in watts that runs during a power cut.
  3. Keep or change the efficiency and depth of discharge, then read the backup time.

Privacy: how it works

Calculations run in your browser. The figures you enter are not sent anywhere.

Frequently asked questions

How is backup time calculated?

Battery current = load watts ÷ (efficiency × bank volts). Backup hours = bank Ah × usable depth of discharge ÷ current. A 12 V 150 Ah battery running 300 W at 80% efficiency draws 31.25 A and lasts about 4.8 hours if fully used.

What is the Peukert correction?

Lead-acid batteries deliver fewer Ah when discharged quickly. Peukert’s formula adjusts for this using an exponent from the battery datasheet and the hours its Ah rating is based on (often 20 or 10).

Why is my real backup shorter?

Batteries lose capacity with age and heat, inverters are less efficient at light loads, and the cut-off voltage may stop the inverter before the depth of discharge you entered.