Skip to content
GEEKnodes

Electronics

Electricity Cost Calculator: How Many kWh Does a Device Use?

Work out how many kWh a device uses and what it costs per month and per year. Watts vs. kWh, standby power and how to measure it with a plug-in power meter.

How much does it cost to leave your router on all year? What about a gaming PC, a Raspberry Pi or your 3D printer? The answer comes from a simple multiplication, but only if you get the units right and know the device’s actual power draw. Here’s the calculator, the formula and worked examples with real numbers.

In short

  • Energy (kWh) = power (W) × hours / 1000. The cost is that energy times the price per kWh.
  • The wattage on the label or the power supply is a maximum: the real average draw is usually much lower.
  • A plug-in power meter is the most reliable and cheapest way to find out how much a device really uses.

Calculator

Energy per day
—
Energy per month
—
Cost per month
—
Cost per year
—

The default price is $0.17/kWh, a ballpark figure. Replace it with the rate on your electric bill. If you’re on a time-of-use plan, use an average price.

Watts and kWh are not the same thing

This is the most common mix-up when talking about energy use:

  • The watt (W) measures power: the energy the device uses at any given moment.
  • The kilowatt-hour (kWh) measures energy: that power sustained over a period of time.
Comparison: 1,000 W for one hour and 100 W for ten hours use the same energy, 1 kWh
The watt is power at any given moment; the kWh is that power sustained over time

A 1,000 W device running for one hour uses 1 kWh. A 100 W one needs 10 hours to use the same amount. Your utility bills you for energy in kWh; your home’s service capacity (in kW) is something else: the maximum you can draw at the same time.

QuantityUnitWhat it tells youWhere you see it
PowerW, kWWhat it draws at each momentDevice label, plug-in power meter
EnergyWh, kWhWhat it used over a period of timeElectric bill, meter, energy label
Service capacitykWMaximum the home can draw at onceMain breaker rating, utility service

The formula

kWh/day   = W × hours per day / 1000
kWh/month = kWh/day × days per month
$/month   = kWh/month × price per kWh
$/year    = $/month × 12

The calculator treats the power you enter as the average power during the hours you specify. If the device runs on and off, you need to account for that (you’ll see how with the refrigerator).

Worked example 1: router that’s always on

A router that draws 10 W on average, 24 hours a day, 30 days a month, at $0.17/kWh:

kWh/day   = 10 × 24 / 1000 = 0.24 kWh
kWh/month = 0.24 × 30      = 7.2 kWh
$/month   = 7.2 × 0.17     ≈ $1.22
$/year    = 1.224 × 12     ≈ $14.69

Worked example 2: gaming PC 3 hours a day

A computer that measures 350 W on average while you’re gaming, 3 hours a day, 30 days a month:

kWh/day   = 350 × 3 / 1000 = 1.05 kWh
kWh/month = 1.05 × 30      = 31.5 kWh
$/month   = 31.5 × 0.17    ≈ $5.36
$/year    = 5.355 × 12     ≈ $64.26

Notice that the power supply’s rating isn’t used. A 750 W power supply doesn’t draw 750 W: that’s the most it can deliver. The PC only asks for what it needs at each moment, and at the desktop it can drop to a fraction of what it uses while gaming.

Examples of common devices

These are ballpark average consumption figures. They depend a lot on the model and how you use it, so measure yours if you want a reliable number. Costs at $0.17/kWh:

DeviceAverage powerUsagekWh/month$/year
Wi-Fi router10 W24 h, 30 days7.214.69
Raspberry Pi as a server4 W24 h, 30 days2.885.88
Gaming PC while gaming350 W3 h, 30 days31.564.26
3D printer with heated bed120 W4 h, 10 days4.89.79
Refrigerator (120 W, 35% of the time)120 W8.4 h, 30 days30.2461.69

Raspberry Pi: not much, but 24 hours a day

A Raspberry Pi running Pi-hole or a small server uses just a few watts. Even if it’s always on, its yearly cost is just a few dollars. That’s why it’s so popular for home services that need to be available all day, compared with leaving on a PC that can use ten times as much while idle.

3D printer: the heated bed rules

On a Cartesian-style 3D printer, the biggest power hog is heating the bed. At the start, the power draw is high; once the bed and the hotend reach temperature, the heaters cycle on and off to hold it and the average drops. That’s why it’s worth measuring a complete print rather than trusting the peak at the beginning. If you want the total cost of a part, filament included, use the 3D printing cost calculator.

Refrigerator: the duty cycle

A refrigerator doesn’t run nonstop. The compressor starts, cools and stops: that’s its duty cycle. If the compressor draws 120 W and runs 35% of the time, it’s the same as having it on for 8.4 hours a day:

equivalent hours = 24 × 0.35 = 8.4 h
kWh/day = 120 × 8.4 / 1000   ≈ 1.01 kWh
Chart of the refrigerator compressor turning on and off: 35% of the day equals 8.4 hours at 120 W
The compressor runs in bursts: 35% of the time equals 8.4 hours a day

In the calculator, enter 120 W and 8.4 hours. The cycle depends on the kitchen temperature, how often you open the door and the condition of the door seals. A more reliable figure is the yearly energy use in kWh on the EnergyGuide label: divide it by 12 and you’ll have the kWh per month.

Standby power

Many devices keep drawing power when they’re off: TVs, plugged-in chargers, set-top boxes, speakers, consoles in quick-resume mode. One watt sounds like nothing, but that’s 8,760 hours a year:

1 W × 8760 h / 1000 = 8.76 kWh/year ≈ $1.49/year

A single one doesn’t matter. Ten devices at 2 W each add up to 175 kWh a year, about $30. Efficiency regulations limit the standby power of many new devices, but those that stay connected to the network so they can be turned on remotely can use quite a bit more. A power strip with a switch cuts everything off at once.

How to measure energy use with a plug-in power meter

A plug-in power meter goes between the wall outlet and the device. It shows the instantaneous power and adds up the energy used.

Steps for measuring with a plug-in power meter: plug it in, reset it, use the device, write down the kWh and calculate the average power
Measure the kWh over a real period and divide by the hours to get the average power
  1. Plug the power meter into the wall and the device into the meter.
  2. Reset the energy counter (kWh).
  3. Use the device normally for a representative period: a full day for a refrigerator or router, a whole session for a PC or a complete print for the 3D printer.
  4. Write down the accumulated kWh and the hours that have passed.
  5. Calculate the average power: kWh × 1,000 / hours. That’s the value to enter in the calculator.

Example: the refrigerator racks up 2.4 kWh in 48 hours. Average power = 2.4 × 1,000 / 48 = 50 W. In the calculator: 50 W, 24 hours, 30 days.

For devices with very little load, such as a charger with no phone attached, many cheap meters lose accuracy at very low readings. Measure several at once on a power strip and divide.

Common mistakes

  • Using the wattage on the label or power supply: that’s the maximum, not the average. The result comes out heavily inflated.
  • Looking only at the instantaneous power: on devices that cycle (refrigerator, 3D printer, space heater with a thermostat), the number keeps changing. Use the accumulated kWh.
  • Mixing up W and kWh: saying a device “uses 100 kWh” without stating the time makes no sense.
  • Calculating your whole bill: the calculator only counts energy. Fixed monthly charges, meter fees and taxes are separate and don’t depend on how much you use any particular device.
  • Forgetting standby power: a device you use for one hour a day can spend the other 23 drawing power on standby.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor