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.

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.
| Quantity | Unit | What it tells you | Where you see it |
|---|---|---|---|
| Power | W, kW | What it draws at each moment | Device label, plug-in power meter |
| Energy | Wh, kWh | What it used over a period of time | Electric bill, meter, energy label |
| Service capacity | kW | Maximum the home can draw at once | Main 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:
| Device | Average power | Usage | kWh/month | $/year |
|---|---|---|---|---|
| Wi-Fi router | 10 W | 24 h, 30 days | 7.2 | 14.69 |
| Raspberry Pi as a server | 4 W | 24 h, 30 days | 2.88 | 5.88 |
| Gaming PC while gaming | 350 W | 3 h, 30 days | 31.5 | 64.26 |
| 3D printer with heated bed | 120 W | 4 h, 10 days | 4.8 | 9.79 |
| Refrigerator (120 W, 35% of the time) | 120 W | 8.4 h, 30 days | 30.24 | 61.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

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.

- Plug the power meter into the wall and the device into the meter.
- Reset the energy counter (kWh).
- 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.
- Write down the accumulated kWh and the hours that have passed.
- 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.



