Home ↓
CalculatorsVerified

Tech & Digital

UPS Runtime Calculator (Battery Backup Time)

An uninterruptible power supply, or UPS, keeps computers, routers, alarm systems and other equipment running when the mains power fails, and larger inverter and battery systems can power whole rooms or homes during outages. How long they last depends on how much energy is stored in the batteries, how much of it can be used, how efficiently the inverter turns battery power into mains power, and how much power the equipment draws. The energy stored in a battery is its voltage times its capacity in amp-hours, giving watt-hours. A common 12-volt, 9-amp-hour UPS battery stores 108 watt-hours, and a bank of two 12-volt, 100-amp-hour batteries stores 2,400 watt-hours. Not all of this energy is available: batteries last longer if they are not fully drained, and inverters typically lose 5 to 15 percent of the energy as heat. This calculator multiplies the stored energy by the usable depth of discharge and the inverter efficiency, then divides by the load in watts to estimate the runtime in hours and minutes. It also shows the current drawn from the battery bank, which matters for choosing cables and fuses. A small UPS with a single 12-volt, 9-amp-hour battery running a 60-watt router and modem setup at 85 percent efficiency and 80 percent usable capacity lasts about 73 minutes. Real lead-acid batteries deliver noticeably less than their rated capacity when discharged quickly, an effect described by Peukert's law, and lose capacity as they age, so the estimate is best treated as an upper limit and compared with the manufacturer's runtime charts.

How to use this calculator

  1. Enter the voltage and amp-hour capacity of one battery.
  2. Enter the number of batteries in the bank.
  3. Enter the load in watts, ideally measured with a plug-in power meter.
  4. Enter the inverter efficiency and the usable depth of discharge.
  5. Read the estimated runtime, stored and usable energy and battery current.

Getting a realistic load figure

Equipment rarely draws its full rated power. A desktop computer with a 500-watt power supply may use only 60 to 150 watts in normal use, and a router and modem together often draw 10 to 25 watts. Measuring the actual consumption with a plug-in energy meter, or reading the load display on the UPS, gives a much better estimate than adding up nameplate ratings.

UPS units are rated both in volt-amperes and in watts. The watt rating is the one to compare with your load, and it is usually lower than the volt-ampere figure. Running a UPS close to its maximum rating shortens runtime sharply.

Battery types and lifespan

Sealed lead-acid batteries, used in most small UPS units, typically last three to five years and should not be routinely drained deeply. Many off-grid and backup system designers limit them to around 50 percent depth of discharge to extend their life. Lithium iron phosphate batteries cost more but tolerate deeper discharge, often 80 to 90 percent, last many more cycles and keep their capacity better at high loads.

Temperature has a strong effect. Cold batteries deliver less capacity, and hot batteries age faster, so a UPS should be kept in a cool, ventilated place. Testing the UPS periodically by unplugging it from the mains, with non-critical equipment, confirms that the batteries still provide the runtime you expect.

Formula & method

Stored energy (Wh) = V × Ah × number of batteriesUsable energy = stored × depth of discharge × inverter efficiencyRuntime (h) = usable energy ÷ load (W)Real lead-acid runtime is shorter at high loads (Peukert effect) and in the cold

Wh = V × Ah × n. Usable Wh = Wh × DoD × efficiency. Runtime (h) = usable Wh ÷ load W. Battery current = W ÷ efficiency ÷ V. Ignores Peukert effect, ageing and temperature.

Worked example

A small UPS for a home network

  1. Stored = 12 V × 9 Ah = 108 Wh.
  2. Usable = 108 × 0.8 × 0.85 = 73.44 Wh.
  3. Runtime = 73.44 ÷ 60 W = 1.22 h = 73.4 min.

Answer: The UPS should keep the network running for a little over an hour.

Frequently asked questions

How do I calculate UPS runtime?

Multiply battery voltage by amp-hours and the number of batteries, apply efficiency and depth of discharge, then divide by the load in watts.

Why is the real runtime shorter?

Lead-acid batteries lose effective capacity at high discharge rates, as they age and in the cold.

What is depth of discharge?

The share of the battery's capacity you plan to use before recharging. Using less of it extends battery life.

Does connecting batteries in series increase runtime?

It increases voltage, not amp-hours, but the stored watt-hours double either way. The calculator works with total energy.

What inverter efficiency should I use?

Typically 85 to 95 percent for modern units; small or older inverters may be lower, especially at light loads.

How much current does the inverter draw?

The load in watts divided by efficiency and battery voltage, shown as the battery current in the results.