HomeEveryday Life › Electricity Cost Calculator

Electricity Cost Calculator

Converts an appliance's power draw and daily usage into kilowatt-hours and the running cost per day, over a chosen number of days, per 30-day month and per 365-day year, using the US DOE energy-use formula.

When to use

You want to know what a heater, fridge, computer, light or EV charger costs to run, or compare two appliances by energy cost.

Do not use when: The appliance cycles or has standby modes with unknown duty cycle (use a measured kWh figure or plug-in meter), or you need to convert energy units (use energy).

Formula

kWh/day = power_watts × hours_per_day / 1000; cost/day = kWh/day × price_per_kwh; period = × days; month = × 30; year = × 365

Assumes constant power while running. Appliances with thermostats or motors (fridges, heaters, pumps) run only part of the time, so use their measured average draw or reduce hours_per_day accordingly.

Inputs

ParameterTypeUnitRequiredDescription
power_wattsnumberWyesPower draw in watts while running (1 kW = 1000 W). Range: > 0, ≤ 1000000
hours_per_daynumberh/dayyesHours the appliance actually draws that power each day. Range: ≥ 0, ≤ 24
price_per_kwhnumberper kWhyesTariff per kilowatt-hour in your currency (from your bill). Range: ≥ 0, ≤ 100
daysintegerdaysdefault 30Length of the billing period to report. Range: ≥ 1, ≤ 3660

Outputs

OutputTypeUnitDescription
kwh_per_daynumberkWh/daypower_watts × hours_per_day / 1000.
cost_per_daynumberkwh_per_day × price_per_kwh.
kwh_for_periodnumberkWhkwh_per_day × days.
cost_for_periodnumbercost_per_day × days.
cost_per_monthnumbercost_per_day × 30.
cost_per_yearnumbercost_per_day × 365.

Example

100 W for 5 h/day at 0.15/kWh, 30 days: {"power_watts":100,"hours_per_day":5,"price_per_kwh":0.15,"days":30}{"kwh_per_day":0.5,"cost_per_day":0.075,"kwh_for_period":15,"cost_for_period":2.25,"cost_per_month":2.25,"cost_per_year":27.38}

1500 W heater 8 h/day at 0.30/kWh, 90 days: {"power_watts":1500,"hours_per_day":8,"price_per_kwh":0.3,"days":90}{"kwh_per_day":12,"cost_per_day":3.6,"kwh_for_period":1080,"cost_for_period":324,"cost_per_month":108,"cost_per_year":1314}

GET https://tttkmbb.com/api/v1/calculate/electricity-cost?power_watts=100&hours_per_day=5&price_per_kwh=0.15&days=30

Machine access

Sources

FAQ

Where do I find the wattage?

On the appliance label or in its manual; if only amps are given, watts = volts × amps (e.g. 230 V × 0.5 A = 115 W). A plug-in power meter gives the real average draw.

Does the price include taxes and standing charges?

Use the all-in price per kWh from your bill (energy price plus per-kWh levies); fixed daily standing charges are not per-kWh and are not included.

Related calculators