The watt-hour (Wh) is the everyday unit of electrical energy: one watt delivered for one hour, or 3600 joules. It is the number on laptop batteries, power banks, e-bike packs and solar batteries, and its big brother, the kilowatt-hour, is what your electricity bill counts.
This watt-hours calculator works in three directions. W × time multiplies a power by a duration — a 60 W screen on for 5 hours uses 300 Wh. mAh → Wh converts a battery’s charge rating into energy using its voltage, then estimates how long it will run a device. Wh → mAh goes the other way, which is useful when a label only gives watt-hours or when you want to know the largest power bank you can take on a plane.
Every result is also shown in joules, kilojoules, kilowatt-hours and BTU, and battery results are checked against the 100 Wh and 160 Wh limits that airlines apply to lithium-ion batteries.
How to use this calculator
- Pick a mode: W × time, mAh → Wh or Wh → mAh.
- For W × time, enter the power in watts and the time in seconds, minutes, hours or days.
- For a battery, enter the mAh printed on it and the nominal voltage of its cells (3.6–3.7 V for most lithium-ion packs, not the 5 V USB output).
- Optionally enter the power drawn by a device and the usable share of the energy to estimate runtime.
- Read the energy (switch the unit under the result to J, kJ or kWh), the conversions and the air-travel status.
The formula
Energy is power multiplied by time:
A battery’s energy is its charge times its voltage; dividing by 1000 turns milliamp-hours into amp-hours:
Runtime with a usable share : . Conversions: , .
Worked example
Screen. A 60 W monitor used for 5 hours: Wh, which is 0.3 kWh, 1,080 kJ or 1.08 MJ.
Power bank. A 20,000 mAh bank with 3.7 V cells stores Wh. Powering a 10 W load with 85 % of that energy usable lasts h, about 6 hours and 17 minutes. At 74 Wh it can travel in carry-on without airline approval.
Largest bank allowed without approval. At 3.7 V, 100 Wh corresponds to mAh. That is why so many "flight-friendly" power banks are rated 26,800 mAh: 99.16 Wh.
Flying with batteries: the 100 Wh and 160 Wh rules
Airlines follow the IATA Dangerous Goods Regulations, summarised for passengers by IATA and by the US FAA:
| Lithium-ion battery | Rule |
|---|---|
| Up to 100 Wh | Allowed without approval. Devices may be checked or carried, spares and power banks in cabin baggage only. |
| 101–160 Wh | Airline approval needed; at most two spare batteries per person, in the cabin. |
| Over 160 Wh | Not allowed in passenger baggage. |
Spare batteries must have their terminals protected (original packaging, tape or a pouch). Many airlines add their own rules, such as banning the use of power banks on board, so check before you fly. If a battery shows only mAh, use this calculator with its nominal voltage to find its Wh rating.
Why mAh alone is misleading
Milliamp-hours measure charge, not energy. A 3000 mAh lithium cell at 3.7 V holds 11.1 Wh, while a 3000 mAh NiMH cell at 1.2 V holds only 3.6 Wh. Power banks quote the mAh of their 3.7 V cells, but deliver it at 5 V or more through USB, after conversion losses, so a "20,000 mAh" bank yields roughly 11,000–13,000 mAh at 5 V. Comparing in watt-hours avoids the confusion. For full runtime planning, see the battery life calculator; to price energy from the grid, see the electricity cost calculator.
Frequently asked questions
How do I convert mAh to Wh?
Multiply the mAh by the nominal voltage and divide by 1000. A 5000 mAh battery at 3.85 V holds 5000 × 3.85 / 1000 = 19.25 Wh.
How many watt-hours is a kilowatt-hour?
1 kWh = 1000 Wh = 3.6 MJ. A 2000 W heater running for 30 minutes uses 1000 Wh, that is 1 kWh.
How many joules are in a watt-hour?
Exactly 3600 J, because a watt is one joule per second and an hour has 3600 seconds.
Can I take a 30,000 mAh power bank on a plane?
At 3.7 V it holds 111 Wh, above 100 Wh, so you need the airline’s approval and it must travel in the cabin. A 27,000 mAh bank at 3.7 V (99.9 Wh) stays under the limit.
Why does my power bank charge my phone fewer times than expected?
Converting 3.7 V to 5 V or more, heat in the cable and the phone’s own charging losses typically waste 15–30 % of the energy. Use the usable share field to account for it.
Sources
- BIPM — The International System of Units (SI Brochure, 9th ed.): watt, joule, hour
- IATA — Lithium Battery Guidance Document for passengers (PDF)
- FAA PackSafe — Lithium batteries
Last updated: