Watt-hour Calculator

Turn watts and hours into watt-hours and kWh, convert battery mAh to Wh, estimate runtime and cost, and switch between Wh and joules.

🔋 Watt-hour Calculator
Power (P)
W
55000
Time (t)
Price per kWh (optional)
Battery rating
Nominal voltage (V)
V
Battery energy
Usable fraction
%
Load (P)
W
1500
Energy to convert
Energy used
—
Kilowatt-hours
—
Joules
—
Megajoules
—
Time in hours
—
Cost
—

Energy
—
Milliamp-hours
—
Amp-hours
—
Kilowatt-hours
—
Joules
—
Voltage used
—

Runtime
—
Hours and minutes
—
In days
—
Usable energy
—
Battery energy
—
Load
—

Watt-hours
—
Kilowatt-hours
—
Joules
—
Kilojoules
—
Megajoules
—
Kilocalories
—
BTU
—

🔋 What is a Watt-hour?

A watt-hour (Wh) is a unit of energy. It is the energy delivered or used when a power of one watt is sustained for one hour. Because one watt equals one joule per second and one hour has 3600 seconds, one watt-hour is exactly 3600 joules. A kilowatt-hour (kWh), the unit on household electricity bills, is 1000 watt-hours and equals 3.6 million joules. The watt-hour is not an SI unit, but it is used everywhere that electrical energy is measured because it matches how people think about devices: a power rating in watts and a running time in hours.

The calculator covers the four questions that come up most often. How much energy does a device use if it runs for a given time? What is the energy of a battery marked in milliamp-hours? How long will a battery run a particular load? And how do watt-hours relate to joules, kilojoules, kilocalories and BTU? Energy used is simply power multiplied by time, so a 100 W device running for 8 hours uses 800 Wh, or 0.8 kWh. Battery energy is charge multiplied by voltage, so a 5000 mAh cell at 3.7 V stores 18.5 Wh. Runtime is the usable energy divided by the load.

The most common mistake is mixing up power and energy. Watts tell you how fast energy is being used, while watt-hours tell you how much has been used or stored. Another frequent mistake is comparing batteries by mAh alone. A milliamp-hour counts charge, not energy, so it only tells you the energy once you multiply by the voltage. A 20000 mAh power bank at 3.7 V stores 74 Wh, which is much less than a 20000 mAh pack at 12 V. Finally, an ideal runtime is an upper bound. Voltage conversion losses, high discharge currents and cold weather make real runtimes shorter, which is why the runtime mode has a usable percentage.

Costs depend on your own tariff, so the cost box stays empty until you enter a price per kWh. The tool does not assume a price. For converting power units themselves, such as watts to horsepower, use the watt converter. For current from power, see the watts to amps calculator.

📐 Formula

EWh  =  PW × th
E = energy in watt-hours (Wh); divide by 1000 for kWh, multiply by 3600 for joules
P = power in watts (W)
t = time in hours; divide minutes by 60 and seconds by 3600, multiply days by 24
Battery: Wh = Ah × V and mAh = Wh × 1000 / V, where V is the nominal battery voltage
Runtime: t = ( Wh × usable fraction ) / P
Cost: cost = kWh × price per kWh, using your own tariff
Conversions: 1 Wh = 3600 J, 1 kWh = 3.6 MJ, 1 kcal = 4184 J (thermochemical), 1 BTU = 1055.05585 J (International Table)
Example: 100 W for 8 h = 800 Wh = 0.8 kWh = 2.88 MJ

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Energy used to turn watts and time into Wh and kWh, mAh and Wh to convert a battery rating, Battery runtime for how long a battery lasts, or Wh and joules to convert between energy units.
2
Enter your values. Type the power and the time with its unit, or the battery rating with its nominal voltage, or the battery energy, the load and the usable percentage. Add your own price per kWh if you want the cost.
3
Read the results. The main box gives the energy or runtime, the other boxes give the same quantity in other units, and the table or chart shows how the answer changes with time, voltage or load.

💡 Example Calculations

Example 1 — A 100 W Device Running 8 Hours

P = 100 W, t = 8 h, illustrative price 0.15 per kWh

1
E = 100 W × 8 h = 800 Wh
2
kWh = 800 / 1000 = 0.8 kWh, and joules = 800 × 3600 = 2,880,000 J (2.88 MJ)
3
Cost = 0.8 kWh × 0.15 = 0.12. The price of 0.15 per kWh is only an illustration, so use your own tariff.
Energy = 800 Wh = 0.8 kWh, cost = 0.12
Try this example →

Example 2 — A 1500 W Heater for 90 Minutes

P = 1500 W, t = 90 min, illustrative price 0.20 per kWh

1
90 minutes = 90 / 60 = 1.5 h
2
E = 1500 W × 1.5 h = 2250 Wh = 2.25 kWh, which is 8.1 MJ
3
Cost = 2.25 kWh × 0.20 = 0.45 at the illustrative price
Energy = 2,250 Wh = 2.25 kWh, cost = 0.45
Try this example →

Example 3 — Phone Battery from mAh to Wh

5000 mAh at a nominal 3.7 V

1
5000 mAh = 5 Ah
2
Wh = 5 Ah × 3.7 V = 18.5 Wh
3
In joules this is 18.5 × 3600 = 66,600 J, and in kWh it is 0.0185
Energy = 18.5 Wh (5 Ah)
Try this example →

Example 4 — Laptop Battery from Wh to mAh

60 Wh pack at a nominal 11.1 V

1
Ah = Wh / V = 60 / 11.1 = 5.405405 Ah
2
mAh = 5.405405 × 1000 = 5405.41 mAh
3
The same 60 Wh would be 16,216 mAh at 3.7 V, which is why mAh figures cannot be compared across voltages
Capacity = 5405.41 mAh (5.40541 Ah)
Try this example →

Example 5 — Runtime of a 99 Wh Battery

99 Wh battery, 15 W load, 90 percent usable (illustrative)

1
Usable energy = 99 × 0.90 = 89.1 Wh
2
Runtime = 89.1 Wh / 15 W = 5.94 h
3
0.94 h × 60 = 56.4, so the runtime is about 5 h 56 min. With 100 percent usable it would be 6.6 h.
Runtime = 5.94 h (5 h 56 min)
Try this example →

Example 6 — One Kilowatt-hour in Other Units

1 kWh converted to Wh, J, MJ, kcal and BTU

1
1 kWh = 1000 Wh
2
Joules = 1000 × 3600 = 3,600,000 J = 3600 kJ = 3.6 MJ
3
kcal = 3,600,000 / 4184 = 860.421 and BTU = 3,600,000 / 1055.05585 = 3412.14
1 kWh = 3,600,000 J = 860.421 kcal = 3412.14 BTU
Try this example →

❓ Frequently Asked Questions

What is a watt-hour?+
A watt-hour (Wh) is the energy used by a load of one watt running for one hour. It equals 3600 joules, because one watt is one joule per second and one hour is 3600 seconds. A 100 W device used for 8 hours consumes 800 Wh.
How do I calculate watt-hours?+
Multiply the power in watts by the time in hours: Wh = W x h. A 60 W bulb on for 3 hours uses 180 Wh. If the time is in minutes, divide by 60 first, so 1500 W for 90 minutes is 1500 x 1.5 = 2250 Wh.
How do I convert watt-hours to kilowatt-hours?+
Divide by 1000. 800 Wh is 0.8 kWh and 2250 Wh is 2.25 kWh. Electricity meters and bills use kWh, and one kWh equals 3.6 million joules.
How do I convert mAh to Wh?+
Divide the mAh by 1000 to get Ah, then multiply by the battery voltage: Wh = (mAh / 1000) x V. A 5000 mAh battery at 3.7 V is 5 Ah x 3.7 V = 18.5 Wh. The voltage matters, because mAh counts charge and Wh counts energy.
How do I convert Wh to mAh?+
Divide the watt-hours by the voltage to get amp-hours, then multiply by 1000: mAh = Wh x 1000 / V. A 60 Wh pack at 11.1 V holds about 5405 mAh. At a different voltage the same Wh gives a different mAh figure.
How long will a battery last at a given load?+
Runtime in hours is the usable battery energy in Wh divided by the load in watts. A 99 Wh battery with 90 percent usable capacity running a 15 W load lasts 99 x 0.9 / 15 = 5.94 hours, about 5 h 56 min.
How many joules are in a watt-hour?+
Exactly 3600 joules. One kilowatt-hour is 3.6 megajoules. A joule is a watt-second, so a watt-hour is 3600 watt-seconds.
How do I find the cost of running an appliance?+
Work out the energy in kWh and multiply by your price per kWh. For 1.5 kW running 90 minutes that is 2.25 kWh, so at an illustrative 0.20 per kWh the cost is 0.45. Replace the price with the rate on your own bill.
Is Wh the same as W?+
No. Watts are power, the rate of using energy. Watt-hours are energy, the amount used over time. Saying a battery is 50 W is as incomplete as saying a tank holds 50 litres per minute.
Why is a battery's real runtime shorter than the calculated runtime?+
The calculation divides the full energy by the load. In practice, voltage conversion wastes some energy, high currents reduce the usable capacity, cold temperatures lower it, and devices shut down before the cells are completely empty. Use the usable percentage to account for this.

What is a watt-hour?

A watt-hour (Wh) is the energy used by a load of one watt running for one hour. It equals 3600 joules, because one watt is one joule per second and one hour is 3600 seconds. A 100 W device used for 8 hours consumes 800 Wh.

How do I calculate watt-hours?

Multiply the power in watts by the time in hours: Wh = W x h. A 60 W bulb on for 3 hours uses 180 Wh. If the time is in minutes, divide by 60 first, so 1500 W for 90 minutes is 1500 x 1.5 = 2250 Wh.

How do I convert watt-hours to kilowatt-hours?

Divide by 1000. 800 Wh is 0.8 kWh and 2250 Wh is 2.25 kWh. Electricity meters and bills use kWh, and one kWh equals 3.6 million joules.

How do I convert mAh to Wh?

Divide the mAh by 1000 to get Ah, then multiply by the battery voltage: Wh = (mAh / 1000) x V. A 5000 mAh battery at 3.7 V is 5 Ah x 3.7 V = 18.5 Wh. The voltage matters, because mAh counts charge and Wh counts energy.

How do I convert Wh to mAh?

Divide the watt-hours by the voltage to get amp-hours, then multiply by 1000: mAh = Wh x 1000 / V. A 60 Wh pack at 11.1 V holds about 5405 mAh. At a different voltage the same Wh gives a different mAh figure.

How long will a battery last at a given load?

Runtime in hours is the usable battery energy in Wh divided by the load in watts. A 99 Wh battery with 90 percent usable capacity running a 15 W load lasts 99 x 0.9 / 15 = 5.94 hours, about 5 h 56 min.

How many joules are in a watt-hour?

Exactly 3600 joules. One kilowatt-hour is 3.6 megajoules. A joule is a watt-second, so a watt-hour is 3600 watt-seconds.

How do I find the cost of running an appliance?

Work out the energy in kWh and multiply by your price per kWh. For 1.5 kW running 90 minutes that is 2.25 kWh, so at an illustrative 0.20 per kWh the cost is 0.45. Replace the price with the rate on your own bill.

Is Wh the same as W?

No. Watts are power, the rate of using energy. Watt-hours are energy, the amount used over time. Saying a battery is 50 W is as incomplete as saying a tank holds 50 litres per minute.

Why is a battery's real runtime shorter than the calculated runtime?

The calculation divides the full energy by the load. In practice, voltage conversion wastes some energy, high currents reduce the usable capacity, cold temperatures lower it, and devices shut down before the cells are completely empty. Use the usable percentage to account for this.