Homelab power cost calculator

Always-on gear feels free because it never sends you a bill with its name on it — but the NAS, the mini PC, the switch and the router are metering away around the clock. This tool turns each device's watts and hours into kilowatt-hours and dollars per month and year, then answers the follow-up question: how long would your UPS actually hold that load? Pair it with the NAS storage planner — that one sizes the space, this one sizes the power bill.

Private by design. Everything on this page runs locally in your browser. Your device list and electricity rate are never uploaded or sent anywhere.

1 — What your gear costs to run

Enter each device's average watts — measured if you can, estimated if you can't — and how many hours a day it runs. One row holds one state: a PC that idles at 40 W and games at 300 W is two rows, or one row at its real daily average. The starter list below is a typical small lab; edit it into yours.

0.17 is roughly the current US residential average — replace it with the rate on your own bill; it is the single biggest lever in every number below.

DeviceAverage wattsHours / daykWh / year$ / month$ / yearOn UPS

Presets — typical measured averages, as starting points:

Cost per year
$0.00
Cost per month
$0.00
Energy per year
0.0 kWh
Energy per month
0.0 kWh
Total connected load
0 W
Equivalent constant draw
0.0 W
Heat from 24/7 gear
0 BTU/h

Two totals worth understanding: total connected load is everything switched on at once — the number your circuit and UPS care about. Equivalent constant draw re-expresses the whole lab, part-timers included, as a single always-on wattage, which is the fair way to compare setups. Rows are rounded for display; totals are summed before rounding, so the rows may not add up to the total to the last cent. A "month" here is one twelfth of a 365-day year.

2 — How long will your UPS hold it?

Tick the devices that plug into the UPS in the table above and the load fills itself in (edit it freely). Then describe the battery. If your UPS spec sheet lists volts and amp-hours — most lead-acid units do, on the battery itself — use the battery-spec path; it models how lead-acid batteries behave under load. If all you have is a watt-hour figure, as with lithium power stations, use the rough path and treat the answer as a planning number.

Battery capacity

The defaults — 24 V, 9 Ah — are the battery inside a common 1500 VA-class UPS: two 12 V 9 Ah batteries in series, 216 Wh in total. Batteries in series add volts; batteries in parallel strings add amp-hours.

Estimated runtime

— estimate

How this works / the math

The one formula. Watts × hours ÷ 1000 = kilowatt-hours. A kilowatt-hour is one kilowatt running for one hour, and it is the unit your bill charges for — so a device that averages 45 W and never sleeps uses 45 × 8.76 = 394.2 kWh a year (8.76 is just 24 × 365 ÷ 1000, the always-on shortcut). Cost is kWh × your rate, nothing more. The traps are all in the inputs: the figure that matters is the average draw, and the average is almost never the number on the box. A power supply's wattage is a ceiling, not a reading — measure with a plug-in meter over a day or two, or log it with an energy-monitoring smart plug, and your totals stop being guesses.

Why the UPS number is an estimate, and which estimate. A lead-acid battery drained hard gives up less total energy than the same battery drained gently — Peukert's law. The battery-spec path models that directly, with a Peukert exponent of 1.15 (typical for AGM; real batteries range roughly 1.1–1.3 with age and design) and an 85% inverter efficiency, and it never claims more than the battery's nameplate energy would allow even with a perfect inverter. Worked example: the default 24 V 9 Ah string (216 Wh) at a 100 W load draws about 4.9 A and the estimate lands at 1 h 17 min — right in the 60–80 minute band real units of that class deliver. The watt-hour path skips the battery physics and applies one planning factor instead (× 0.80 lithium, × 0.65 lead-acid), which is why its answers differ slightly from the battery-spec path on the same battery: both are labeled, and the page always names the model behind the number it shows you. Manufacturer runtime charts, measured once in best-case conditions, flatter everything — expect real runtime to land at or below any careful estimate, this one included.

What a UPS is for. Riding out blips and short cuts, and shutting everything down cleanly when the power stays out. It is not a way to work through an outage — if the estimate above comes back under ten minutes, read it as shutdown time, and make sure your NAS is set to shut itself down on UPS signal well inside it. The sizing side of that decision — watts versus VA, pure sine wave, USB signaling — is covered in the UPS sizing guide.

Every watt is heat. All of the electricity your lab uses ends up as warmth in the room — about 3.4 BTU per hour for every watt of 24/7 gear. Seventy-five watts is a small heater that never switches off; fine in a living room, a real problem in a closed closet. The totals above include the heat figure for exactly that reason.

Frequently asked questions

How do I work out what a device costs to run?

Multiply its average watts by the hours it runs each day and divide by 1000 — that is kilowatt-hours per day, and a kilowatt-hour is the unit your electricity bill charges for. A 45 W NAS running around the clock uses 45 × 24 / 1000 = 1.08 kWh a day, 394.2 kWh a year; at 16 cents per kWh that is $63.07 a year. The calculator above does this per device and adds the lab up.

Should I use the wattage printed on the power supply or box?

No. A power supply's rating is the most it can deliver, not what the device draws — a PC with a 650 W PSU might idle at 40 W and game at 300 W. Use a measured average instead: a plug-in power meter (Kill A Watt style) over a day or two gives you the real number, and smart plugs with energy monitoring can log it continuously.

Why is the UPS runtime only an estimate?

Because batteries are not buckets. A lead-acid battery drained hard gives up less total energy than the same battery drained gently — that is Peukert's law — and the inverter that turns battery DC into mains AC wastes roughly 15% as heat. Manufacturer runtime charts are measured in best-case conditions and flatter every model. This tool states its model openly: Peukert with an exponent of 1.15 and 85% inverter efficiency for lead-acid, so you can see exactly what the number assumes.

Will a UPS keep my homelab running through a power outage?

That is not what it is for. A typical desktop UPS holds a small lab for minutes to maybe an hour — enough to ride out blips and short cuts, and to shut everything down cleanly (or let your NAS shut itself down over USB) when the power stays out. Running a lab through a long outage takes a generator or a very large battery, not a bigger UPS.

Related guides & tools