How to Calculate Electricity Cost: Formula, kWh and Examples

In short

You calculate the electricity cost of a device in two steps: first, the power in watts and the running time give the energy in kilowatt-hours (kWh); then you multiply that energy by the price per kWh.

Energy in kWh = power in watts ÷ 1,000 × hours of use

Electricity cost in € = energy in kWh × price per kWh

All figures on this page are worked examples. They are based on stated assumptions and are not measurements or typical consumption values for specific appliances. Research date: 6 October 2026.

The electricity cost formula

The calculation consists of three small conversions:

  • Watts → kilowatts: power in watts ÷ 1,000 = power in kilowatts (kW).
  • Kilowatts × hours → kWh: power in kW × hours of use = energy in kilowatt-hours.
  • kWh × price → euros: energy in kWh × price per kWh = electricity cost in euros.

In one line: watts ÷ 1,000 × hours × price per kWh = electricity cost. The same formula is given by the German consumer advice service Verbraucherzentrale Energieberatung (see sources).

Example 1: cost per hour

Assume a device with a power of 1,000 watts (example value) that runs for one hour. As the price we use €0.37 per kWh in this example (explained below).

  • 1,000 W ÷ 1,000 = 1 kW
  • 1 kW × 1 h = 1 kWh
  • 1 kWh × €0.37 = €0.37

A 1,000-watt device therefore uses exactly 1 kWh in one hour. The cost per hour then equals the price of one kWh.

Example 2: daily use over a year

Another device is assumed to draw 150 watts and to run for 4 hours on every day of the year (365 days).

StepCalculationResult
Power in kW150 W ÷ 1,0000.15 kW
Energy per day0.15 kW × 4 h0.6 kWh
Energy per year0.6 kWh × 365 days219 kWh
Price per kWhexample value€0.37
Cost per year219 kWh × €0.37€81.03
Worked example with assumed values, not a measurement

Example 3: comparing month and year

Even small power levels can add up over a year if a device runs all the time. Two assumed cases with the same price of €0.37 per kWh:

Case A: continuous operationCase B: short, high-power use
Assumption10 W, 24 hours per day1,500 W, 10 minutes per day
Energy per day10 W × 24 h = 240 Wh = 0.24 kWh1,500 W × 10 min = 250 Wh = 0.25 kWh
Energy per year0.24 kWh × 365 = 87.6 kWh0.25 kWh × 365 = 91.25 kWh
Cost per year87.6 kWh × €0.37 = €32.4191.25 kWh × €0.37 = €33.76
Cost per month (year ÷ 12)€2.70€2.81
Worked example with assumed values

The example only shows that what matters is the product of power and time, not the wattage alone. It says nothing about how much a particular device uses in practice or could save.

Table: calculation paths for assumed use

The table shows the calculation path for six assumed combinations of power and use. They are freely chosen and not typical consumption values of any appliance. Price: €0.37 per kWh; year = 365 days; month = annual value ÷ 12. Rounding to whole cents happens only at the end; monthly and annual values are calculated from the unrounded energy.

PowerUse per dayEnergy per dayCost per dayCost per monthCost per year
10 W24 h0.24 kWh€0.09€2.70€32.41
60 W3 h0.18 kWh€0.07€2.03€24.31
150 W4 h0.6 kWh€0.22€6.75€81.03
1,000 W1 h1 kWh€0.37€11.25€135.05
1,500 W10 min0.25 kWh€0.09€2.81€33.76
2,000 W2 h4 kWh€1.48€45.02€540.20
All values are worked examples with assumed power and use

Watts, kW and kWh: what is the difference?

  • Watt (W) is the unit of power: how much energy a device draws per unit of time while it is running.
  • Kilowatt (kW) is 1,000 watts. So 1,500 W is 1.5 kW.
  • Kilowatt-hour (kWh) is the unit of energy: power in kW times time in hours. A 1 kW device uses 1 kWh in one hour.

Electricity is billed in kWh, not in watts. That is why a wattage always has to be combined with a length of time.

Which electricity price should I use?

Ideally your own price per kWh from your electricity contract or annual bill. It varies by tariff, supplier and region.

For the examples on this page we use a publicly documented average for Germany: according to the BDEW electricity price analysis, August 2026 edition (data as of 08/2026, in German), the average household electricity price in Germany in 2026 so far is 37.0 ct/kWh, i.e. €0.37. BDEW states the basis as an annual consumption of 3,500 kWh, with the base price included pro rata, for new-customer tariffs (tariff products and basic-supply tariffs). According to BDEW, the figure does not represent the average of existing contracts.

This is an example value for Germany at the stated date, not your tariff. The electricity cost calculator on this website is pre-filled with €0.30; that too is only a starting value that you should replace.

Why actual costs can differ

The formula is exact, but the result is only as good as its assumptions:

  • The wattage is not always the actual power. The rating plate often shows the maximum or rated power; many devices run at lower power part of the time.
  • Devices cycle. Devices with a thermostat or control loop do not run at full power all the time.
  • Standby is not counted if you only enter the operating power.
  • Duration and frequency of use are usually estimates.
  • The price depends on the tariff; base price, purchase and maintenance are not included.

We deliberately do not give percentages for these deviations, because they depend on the device and on how it is used.

Note on the calculator: the electricity cost calculator works with uses per week × 52, so for daily use it arrives at 364 instead of 365 days. Small differences from the examples here are therefore normal.

Measuring more accurately with an energy meter

If you want to know more precisely, you can measure consumption instead of taking the wattage from the rating plate. The Verbraucherzentrale Energieberatung (in German) describes the plug-in energy meter as the simplest way to measure consumption directly at the socket: the meter is plugged into the socket, the device is connected to the meter and switched on, and the meter shows the current consumption. Many meters also let you enter the electricity price so that the cost is calculated directly.

Editorial note: a single momentary reading in watts is only valid for that moment. If a device draws a fluctuating power, a value in kWh measured over a longer time says more. You can then multiply it by your own price.

Calculate your electricity cost

Enter watts, duration of use, frequency and your electricity price to see the estimated cost per use, day, month and year: go to the electricity cost calculator. More on electricity, costs and living: Energy & Living.

Frequently asked questions

How much does 1,000 watts cost per hour?

1,000 watts is 1 kW. In one hour that is 1 kWh. The cost equals the price of one kWh, in this example with €0.37 per kWh that is €0.37. With your own price you get your own result.

How do you calculate kWh from watts?

Divide the watts by 1,000 and multiply by the hours: 150 W × 4 h ÷ 1,000 = 0.6 kWh.

How do I calculate annual electricity cost?

Energy per day in kWh × days per year × price per kWh. Example: 0.6 kWh × 365 × €0.37 = €81.03. The calculator gives the annual value directly.

Is the wattage printed on the device its actual consumption?

Not necessarily. It is often the maximum or rated power. A plug-in energy meter shows what the device draws in everyday use.

Which electricity price should I use?

Your own price per kWh from your contract or bill. Averages such as BDEW’s 37.0 ct/kWh (as of 08/2026) are only suitable for examples.

Sources and methodology

Calculation assumptions: all examples use the formula above, the example price €0.37 per kWh, 365 days per year and rounding to whole cents only at the end. The examples are our own calculations, not measurements or tests. More about how we work: Methodology & Sources. More topics: Topics.

Share your love