What Is a UPS? How an Uninterruptible Power Supply Works

A UPS (uninterruptible power supply) is a battery, a charger and an inverter in one box. When utility power fails or drifts out of range, it switches your equipment to battery power fast enough that it keeps running, typically for minutes rather than hours.

On this page
  1. The four parts inside every UPS
  2. What happens when the power fails
  3. What a UPS protects against (and what it does not)
  4. Realistic runtime expectations
  5. Who actually needs one
  6. Misconceptions worth clearing up
  7. Where to go next
  8. Frequently asked questions

The name oversells it a little. A UPS does not make power uninterruptible forever; it makes the interruption invisible to your equipment for a limited time. That time is long enough to ride through the flickers and short outages that cause most data loss, and long enough to save work and shut down cleanly when an outage drags on.

The four parts inside every UPS

Open up any UPS, from a small desk unit to a rack-mount model, and you find the same building blocks. How they are arranged is what separates the different UPS types, but the parts are always there.

  1. Rectifier and charger. Converts incoming AC into DC to keep the battery charged. In small units this is a modest charger that keeps the battery at a float voltage (around 13.5 to 13.8 V per 12 V block for sealed lead-acid). In online units the rectifier is sized to carry the full load as well.
  2. Battery. Stores the energy. Most consumer and small business units use one or more 12 V valve-regulated lead-acid (VRLA) blocks, wired in series for 24 V, 36 V, 48 V or higher. A growing number use lithium iron phosphate. See UPS battery types.
  3. Inverter. Turns battery DC back into 120 V (or 230 V) AC using fast-switching transistors and a transformer or high-voltage stage. The inverter's design decides the output waveform: pure sine or a stepped approximation.
  4. Transfer and control. A relay (or static switch) and a microcontroller that watches the input voltage and frequency many times per cycle. When input goes out of tolerance, it disconnects the utility and connects the inverter.

Around those four parts you usually find surge suppression on the input, an EMI/RFI noise filter, often an automatic voltage regulation (AVR) transformer, a USB or serial port for shutdown software, and on business models a slot for a network management card.

What happens when the power fails

Walking through an outage second by second explains most of what a UPS can and cannot do. The timeline below is for a typical line-interactive desktop unit; an online unit skips the transfer step entirely.

Anatomy of an outage on a line-interactive UPS (typical behavior)
Time after the outageWhat the UPS doesWhat your equipment sees
0 to a few msControl logic detects the voltage collapse, opens the input relay so battery power cannot flow back into the grid, starts the inverterA brief gap (the transfer time), bridged by the energy stored in each power supply's capacitors
SecondsRuns on battery and beeps (often every 30 seconds or so); USB signals "on battery" to the connected computerNothing. The computer keeps running normally
MinutesBattery voltage sags as it discharges; the estimated runtime counts downShutdown software may start a timer, if you configured one
Low battery thresholdFaster beeping; signals "low battery" to softwareSoftware should begin an orderly shutdown here at the latest
Battery exhaustedInverter shuts off to protect the battery from deep dischargeHard power loss, as if there were no UPS
Power returnsReconnects to utility, restores output (some units wait for a minimum charge first), recharges battery over several hoursEquipment restarts if its BIOS or firmware is set to power on after AC loss

The important row is the last battery row. If nothing tells the computer to shut down, the UPS only delays the crash. Configuring shutdown software is what turns a UPS from a delay into protection.

Our analysis: a UPS converts an uncontrolled stop into a controlled one

Most people buy a UPS thinking about long outages, but the bulk of the value comes from two other places. First, very short events (a flicker of a fraction of a second, or a sag when a big motor starts nearby) are far more frequent than multi-hour blackouts, and a UPS hides them completely. Second, for long outages, the UPS's job is not to keep you working; it is to make sure the stop happens on your terms, with files saved, databases closed and disks parked. If you think of it that way, a few minutes of runtime with working auto-shutdown beats thirty minutes of runtime with no software configured.

What a UPS protects against (and what it does not)

The table below assumes a healthy line-interactive unit, the most common type for homes and offices. For definitions of each disturbance see power problems explained.

Line-interactive UPS protection by problem type
ProblemProtected?Notes
Blackout (complete loss)Yes, for limited timeRuntime depends on battery and load
Flicker or momentary dropoutYesThe most common real-world benefit
Sag or brownoutYesAVR boosts voltage without using the battery, down to a limit, then switches to battery
Swell (high voltage)YesAVR bucks voltage down, or the unit goes to battery
Ordinary surges and spikesPartlyBuilt-in suppression is similar to a decent surge strip; check the joule rating
Direct or very close lightning strikeNoNo plug-in device can stop it; layered protection reduces risk
Electrical noisePartlyFilters reduce it; online units isolate the load more fully
Frequency drift (generator power)PartlyLine-interactive units often go to battery; online units handle it best
Bad building wiring (missing ground, reversed polarity)NoMany units show a site wiring fault light, but the fault must be fixed by an electrician
Surges on network, coax or phone linesOnly if routed through the UPSSome units have data line protection ports; most damage paths bypass the AC plug

Two gaps catch people out. Surges arriving on a cable modem coax or an Ethernet run from an outdoor camera bypass the UPS entirely, so see lightning and surges for the full picture. And a UPS's built-in suppression is modest; for serious surge exposure consider whole-house surge protection as an upstream layer.

Realistic runtime expectations

Runtime is the number most people misjudge. A desktop UPS battery is small: a common 1500 VA consumer unit carries two 12 V, 9 Ah blocks. That is about 216 Wh of nominal energy, comparable to a large laptop battery or two.

Worked example: why the label energy is not what you get

The naive calculation for a 450 W load on that unit looks generous:

216 Wh x 0.85 inverter efficiency / 450 W = 0.41 h, about 24 minutes

Real units deliver less, often around half that. Lead-acid batteries are rated at a slow 20-hour discharge, and at a 10-minute discharge rate they typically deliver only around half of their rated capacity. The UPS's own electronics also draw power on battery. Rerunning the math with roughly 45% usable capacity:

216 Wh x 0.45 x 0.85 / 450 W = 0.18 h, about 11 minutes

That is in line with what manufacturer runtime charts typically show for this class of unit at half load. The runtime explainer covers this nonlinearity in detail, and the runtime calculator models it.

Illustrative runtime for a 1500 VA / 900 W unit with 2 x 12 V 9 Ah batteries (new, at room temperature; check your model's chart)
LoadExample equipmentTypical runtime range
50 WModem, router, ONT1.5 to 2.5 hours
150 WOffice PC and monitor25 to 40 minutes
300 WSmall NAS plus workstation12 to 20 minutes
450 WGaming PC under load7 to 12 minutes
900 WFull rated load2 to 5 minutes

Two factors shrink these numbers over time: battery aging (capacity fades steadily over the service life) and heat (batteries kept above roughly 77 °F / 25 °C age faster). Plan on having noticeably less runtime in year three than in month one. If you need hours, look at extended runtime battery packs, a power station or a generator.

Who actually needs one

Not every device benefits equally. Use this as a quick screen.

Who benefits most from a UPS
SituationPriorityWhy
NAS, home server, homelabHighSudden power loss can corrupt file systems and RAID arrays; see UPS for NAS
Desktop PC used for paid workHighUnsaved work and interrupted writes; see UPS for home office
Modem, router and Wi-FiHigh, cheap to doKeeps internet and VoIP up through short outages at very low wattage; see UPS for modem and router
Security cameras and NVRMedium to highRecording gaps happen exactly when power is cut deliberately
Area with frequent flickers or brownoutsHighAVR and fast transfer fix daily annoyances, not just rare outages
Laptop on its own chargerLowIt already has a battery; only the network gear needs backup
Medical equipmentSpecial caseFollow the device maker's guidance; a UPS is never a substitute for a proper plan. See UPS for medical equipment

Keep these off battery outlets

Laser printers, space heaters, hair dryers, kettles and similar heating loads draw hundreds to over a thousand watts in bursts. They can overload the inverter instantly, and the surge-only outlets are the place for a laser printer if it must share the unit at all. Also avoid plugging a power strip or second surge protector into a UPS battery outlet unless the UPS maker explicitly allows it; see plugging a UPS into a power strip.

Misconceptions worth clearing up

"A bigger VA number means longer runtime"

Not necessarily. VA describes how much power the inverter can deliver at once; runtime depends on battery energy in watt-hours. Two units with the same VA rating can have very different batteries. Read VA vs watts for how the ratings relate.

"A UPS is just a surge protector with a battery"

The surge suppression is the least important part. The value is in the switching, regulation and shutdown signaling. The differences are covered in UPS vs surge protector.

"Once it's installed, I'm covered"

Batteries degrade silently. A unit that has never been tested may fail the first time it is needed. Run the self-test periodically and plan on battery replacement every few years; see when to replace a UPS battery and the maintenance checklist.

"Any UPS can back up a sump pump or fridge"

Motor loads draw a startup surge several times their running power and often need far more energy than a desktop unit stores. These are specialist jobs; see UPS for sump pump and UPS for refrigerator before buying.

Where to go next

If you are shopping, the logical order is: decide what must stay on and for how long (how much runtime do you need), measure the load, choose the topology, then size it with the sizing calculator. The buying guide pulls those steps into one checklist.

Frequently asked questions

How long will a UPS keep my computer running?

It depends on the battery size and how many watts you draw. A typical 1500 VA desktop unit with two small 12 V batteries runs a 150 to 200 W home office setup for very roughly 20 to 40 minutes and a 450 W gaming PC for about 5 to 12 minutes. Check the runtime chart for your exact model, or use a runtime calculator.

Should a UPS stay plugged in all the time?

Yes. A UPS is designed to sit on utility power permanently, keeping its battery at a float charge. Unplugging it for long periods actually harms lead-acid batteries, because they self-discharge and sulfate if left partially charged. If you must store one, charge it fully first and top it up every few months.

Is a UPS the same as a battery backup or a power station?

Battery backup is just another name for a UPS. A portable power station is different: it usually has a much bigger battery but is designed for portability, and many models switch over too slowly to keep a desktop PC running. Some newer power stations advertise UPS modes with fast switchover; check the stated transfer time.

Can a UPS damage my equipment?

A healthy UPS sized correctly will not. Problems come from mismatches: very sensitive loads on a simulated sine wave unit, overloading the inverter, or plugging motors and heaters into battery outlets. A failing battery can also cause unexpected shutdowns during an outage, which is why regular self-tests matter.

Does a UPS use a lot of electricity?

Usually not much. A small line-interactive or standby unit adds only a few watts of overhead while on utility power. Online double-conversion units waste more, often 5 to 10% of the load as heat, which can add up over a year for an always-on server rack.

Sources and further reading

  1. IEC 62040-3, Uninterruptible power systems (UPS): Method of specifying the performance and test requirements
  2. UL 1778, Standard for Uninterruptible Power Systems
  3. ENERGY STAR: Uninterruptible Power Supplies
  4. Call2Recycle: battery recycling programs