UPS & Battery Backup Calculator

Last reviewed: by Sarwar Islam

Size the standby batteries for a fire alarm panel, or estimate how long a UPS will keep cameras, the NVR and network switches running when the mains fails. Enter currents or watts from the datasheets and the calculator gives the ampere-hours, the next standard battery size or the runtime against your target. Two worked examples, the formulas and the usual mistakes are explained below the tool.

Techubox

UPS & Battery Backup Calculator

Size fire alarm standby batteries (BS 5839-1 / NFPA 72) and estimate CCTV & network UPS runtime.

FreeNo sign-upStandards-basedPeukert-corrected

System & standard

min
×
×

Load currents

A
A

Use the panel's quiescent current plus all field devices in standby; alarm current includes sounders, beacons and relays energised.

DeviceQtyStandby mAAlarm mA
Total00

Enter per-device currents from datasheets in mA; totals are converted to A. Include the panel itself as a row.

Battery capacity gauge

Standby vs alarm contribution

Inputs

📘 Worked example

Load

DeviceQtyW eachSub-total
Total0 W

Use real power (W). For PoE cameras, count the camera's PoE draw and the switch's own consumption, or the switch's total input power — not both.

W

UPS

VA
PF
%

Typical 85–92 % on battery. Default 90 %.

Battery bank

Ah
h
%
min

Runtime vs target

Runtime curve (runtime vs load)

Blue curve: estimated runtime of this battery bank at any load. Dot: your load. Dashed green: target runtime. Amber / red verticals: 80 % / 100 % of the UPS W rating.

Inputs

📘 Worked example
🎓 How to use this tool

A · Fire alarm standby battery

  1. Choose the standard (BS 5839-1 or NFPA 72) and the panel battery voltage (usually 24 V = two 12 V batteries in series).
  2. Select the standby period (normally 24 h) and check the alarm duration: 30 min BS, 5 min NFPA, 15 min NFPA with EVACS / voice.
  3. Enter the total standby and alarm currents from the panel datasheet, or switch to Device table and list every device with its mA figures.
  4. Keep the 1.25 ageing factor unless your specification says otherwise; read the required Ah and the next standard battery size.

B · CCTV / network UPS runtime

  1. List the loads (cameras, NVR, switches, routers) in watts, or enter a total.
  2. Enter the UPS VA and power factor, then the battery bank: DC voltage, number of 12 V blocks, Ah each, chemistry and usable %.
  3. Set a target runtime: the tool shows the estimated runtime, the bank Ah needed to reach the target, and warns if the UPS is loaded above 80 %.

Tips & common mistakes

  • Don't mix mA and A: 350 mA = 0.35 A. The device table takes mA, the totals take A.
  • Never pick a battery larger than the panel charger is rated to recharge (BS 5839-1 expects recharge to 80 % within 24 h) — check the panel's maximum battery size.
  • Battery runtime is not linear: doubling the load more than halves runtime on lead-acid (Peukert effect).
  • VA is not W. A 1000 VA UPS at 0.6 PF only delivers 600 W.
  • Batteries in series must be the same type, capacity and age; replace them as a set (typically every 4–5 years for VRLA).

Standards & assumptions

Fire mode: C = (Is × Ts + Ia × Ta) × F, following the BS 5839-1 annex method (F = 1.25) and common NFPA 72 secondary-supply practice (20–25 % safety factor, typical). Standard sizes are matched conservatively (17/18 Ah is treated as 17 Ah, etc.). UPS mode: battery current I = P ÷ (η × V); runtime t = H × (C ÷ (I × H))^k × usable %, Peukert's law at constant power; values marked typical are not normative. Results are for guidance only and must be verified against the panel / UPS / battery manufacturer's data and the applicable local code and authority having jurisdiction.

Techubox Engineering Tools · techubox.com/tools

To download and print this tool without a watermark, please log in and request approval.

Two battery questions every ELV engineer gets asked

“What battery does this panel need?” and “How long will the cameras stay up in a power cut?” sound similar, but they are different calculations. A fire alarm battery is sized from currents and fixed periods: so many hours of standby, then a set time in alarm. A UPS feeding CCTV and network equipment is a constant-power load on an inverter, where battery behaviour at high discharge rates matters far more. The calculator keeps the two apart in tabs A and B. It is for installers preparing a battery schedule, designers writing a submittal and engineers checking existing batteries after devices were added.

Tab A: fire alarm standby battery

  1. Choose BS 5839-1 or NFPA 72 and the panel battery voltage (24 V is two 12 V blocks in series).
  2. Set the standby and alarm periods: commonly 24 h plus 30 minutes (BS 5839-1), or 24 h plus 5 minutes (NFPA 72; 15 minutes with voice evacuation).
  3. Enter the total standby current (Is) and alarm current (Ia) in amps, or list each device in milliamps in the device table.
  4. Keep the 1.25 ageing factor unless the specification says otherwise, then read the required capacity and the recommended battery.

Worked example A: a small conventional system

A four-zone conventional panel in a clinic: the datasheets add up to 190 mA in standby (panel quiescent current plus detectors, call points and interfaces) and 980 mA in alarm with every sounder and beacon running. BS 5839-1, 24 V, 24 h standby, 30 min alarm, factor 1.25.

Step Calculation Result
Standby 0.190 A × 24 h 4.560 Ah
Alarm 0.980 A × 0.5 h 0.490 Ah
Sum 4.560 + 0.490 5.050 Ah
With ageing factor 5.050 × 1.25 6.31 Ah
Battery next standard size 2 × 12 V 7 Ah in series

The 7 Ah pair is 90 % used, with 0.69 Ah of headroom. Standby makes up 90 % of the requirement: on most small systems the quiescent current, not the sounders, decides the battery. If devices are likely to be added, step up to 12 Ah, provided the panel’s charger is rated for it.

Worked example B: will 18 Ah batteries give an hour?

In tab B you list the loads in watts, then the UPS rating, efficiency and battery bank. A guardhouse rack holds 16 IP cameras at 6 W (96 W), an NVR (50 W), the PoE switch’s own consumption (44 W) and a router and firewall (30 W): 220 W in total. It runs on a 1000 VA, 0.8 power factor UPS with a 24 V bank of two 12 V 18 Ah lead-acid blocks; 90 % efficiency, Peukert exponent 1.2, 80 % usable, target 60 minutes.

  • UPS rating: 1000 VA × 0.8 = 800 W, so the UPS is only 27.5 % loaded.
  • Battery current: 220 ÷ (0.90 × 24) = 10.185 A.
  • Peukert time to empty: 20 × (18 ÷ (10.185 × 20))1.2 = 1.088 h.
  • Usable runtime: 1.088 × 0.80 = 0.870 h, about 52 minutes, short of the target.

A simple watt-hour estimate promises 84.8 minutes; the gap is the Peukert effect, as a battery drawn hard delivers well under its 20-hour rating. To reach 60 minutes the tool asks for about 20.2 Ah at 24 V, which in practice means a second string of two 18 Ah blocks or an external battery pack.

Formulas and assumptions

  • Fire alarm: C = (Is × Ts + D × Ia × Ta) × F, where D is an optional alarm de-rating factor and F the ageing factor, following the method in BS 5839-1 and common NFPA 72 practice.
  • Standard sizes: 7, 12, 17/18, 24/26, 38/40 and 65 Ah. Pairs such as 17/18 Ah are matched on the lower value.
  • UPS: I = P ÷ (η × V); runtime t = H × (C ÷ (I × H))k × usable fraction, where H is the Ah rating period (usually 20 h) and k the Peukert exponent.

Mistakes that undersize batteries

  • Mixing milliamps and amps. The device table expects milliamps, while the Is and Ia boxes expect amps: 350 mA goes in as 0.35.
  • Leaving out the panel. Its quiescent current, and that of any power supplies, belongs in the standby figure.
  • Choosing a battery the charger cannot recharge. Check the panel’s maximum battery size first.
  • Treating VA as watts. A 1000 VA UPS at 0.6 power factor delivers only 600 W.
  • Counting PoE twice. Enter either the cameras plus the switch’s own draw, or the switch’s total input power. Adding both inflates the load.
  • Mixing old and new blocks. A new block in series with a three-year-old one shortens the life of both, so change the pair together.

Limits

The calculator does not model temperature, battery condition, inverter idle losses or pulsing sounder loads. Confirm critical UPS runtimes with the manufacturer’s tables, and fire alarm results with the panel maker’s battery calculation.

Standards note

BS 5839-1 and NFPA 72 give guidance on standby and alarm periods and on the capacity calculation. Longer periods can apply, for example where a fault could go unnoticed in an unoccupied building, or where the specification asks for more. Check the current edition and your local authority or AHJ.

Frequently asked questions

Why does the tool add 25 % to my battery?

The 1.25 factor covers the capacity a lead-acid battery loses with age. In example A it turns 5.05 Ah into 6.31 Ah.

Can I use 18 Ah batteries if 17 Ah is enough?

Yes, if the charger can recharge them. The tool treats 17/18 Ah as 17 Ah when it picks a size.

Why is my UPS runtime shorter than expected?

At high discharge rates lead-acid batteries give less than their rated Ah, and only part of the capacity is usable. Doubling the load more than halves the runtime.

Does the UPS VA rating affect runtime?

Not directly. VA and power factor tell you whether the UPS can carry the load; the battery decides how long it lasts.

For background, read BS 5839 vs NFPA 72 and how to design a fire alarm system. For the recorder on the UPS, see the NVR guide.

Watch the tutorial

UPS & Battery Backup Calculator: step-by-step tutorial

UPS & Battery Backup Calculator: step-by-step tutorial · More on YouTube @techubox

Scroll to Top