Watt-Hours Calculator

Calculate energy in watt-hours from power and time, Ah and voltage, or estimate battery run time and required capacity. Includes DoD, efficiency, cost estimation, and battery comparison visual.

W
hours
For Ah calculation
V
$/kWh
Energy
480.00 Wh
0.4800 kWh
Amp-hours
40.00 Ah
40,000 mAh at 12 V
Megajoules
1.7280 MJ
1,728,000 J
Kilocalories
413.00
413,002 cal
Run Time
8.00 hours
480 minutes
Electricity Cost
$0.06
At $0.12/kWh

Battery Comparison

AA battery (1.5V, 3 Wh)
โ‰ˆ 160ร—
18650 Li-ion (3.7V, 12 Wh)
โ‰ˆ 40.0ร—
Phone (3.7V, 15 Wh)
โ‰ˆ 32.0ร—
Laptop (11.4V, 60 Wh)
โ‰ˆ 8.0ร—
E-bike (48V, 500 Wh)
โ‰ˆ 1.0ร—
Powerwall (50V, 13.5 kWh)
โ‰ˆ 0.0ร—

Energy Unit Conversion Table

UnitValue
Milliwatt-hours (mWh)480,000.00
Watt-hours (Wh)480.0000
Kilowatt-hours (kWh)0.480000
Joules (J)1,728,000
Kilojoules (kJ)1,728.00
Megajoules (MJ)1.7280
Calories (cal)413,002
Kilocalories (kcal)413.00
BTU1,637.76
Amp-hours (Ah) @ 12V40.000
Planning notes, formulas, and examples

About the Watt-Hours Calculator

A watt-hour (Wh) is a unit of energy equal to one watt sustained for one hour, or 3,600 joules. It is the standard billing unit for electricity (as kWh) and the rating unit for batteries. Understanding watt-hours is essential for sizing batteries, estimating run times, calculating electricity costs, and comparing energy storage devices.

The basic relationship is Energy = Power ร— Time. A 100 W light bulb running for 10 hours consumes 1,000 Wh = 1 kWh. Battery capacity is often given in milliamp-hours (mAh) or amp-hours (Ah), which must be multiplied by voltage to get watt-hours: Wh = Ah ร— V. A 20,000 mAh power bank at 3.7 V stores 74 Wh.

This calculator handles four modes: compute Wh from power and time, convert between Ah and Wh, estimate battery run time (accounting for depth of discharge and inverter efficiency), and calculate required battery size for a given load and duration. A battery comparison visual puts your result in context from AA cells to home Powerwalls.

When This Page Helps

Battery datasheets mix mAh, Ah, Wh, and kWh. Converting between them requires knowing the voltage. Run time estimates must account for depth of discharge (you shouldn't drain LiFePO4 below 20%) and inverter losses. This calculator handles all these conversions and adjustments in one place, so you can size packs, estimate run time, and compare storage options without doing the voltage math by hand.

How to Use the Inputs

  1. Select the calculation mode: energy from power ร— time, Ah โ†’ Wh, run time, or battery sizing.
  2. Enter the known values (power, time, battery capacity, load).
  3. For battery modes, set the depth of discharge (typical: 80% for lithium, 50% for lead-acid) and inverter efficiency (90-95%).
  4. Enter the voltage for Ah โ†” Wh conversion.
  5. Set your electricity rate for cost estimation.
  6. Compare your energy value against common battery sizes in the visual.
Formula used
Energy (Wh) = Power (W) ร— Time (h) Energy (Wh) = Capacity (Ah) ร— Voltage (V) Run Time (h) = (Wh ร— DoD ร— ฮท) / Load (W) Required Battery (Wh) = (Load ร— Hours) / (DoD ร— ฮท) Where DoD = depth of discharge (0โ€“1), ฮท = inverter efficiency (0โ€“1)

Example Calculation

Result: Run time = 3.6 hours

A 500 Wh battery with 80% DoD provides 400 Wh of usable energy. At 90% inverter efficiency, 360 Wh reaches the load. Dividing by 100 W gives 3.6 hours of run time. The actual capacity needed to run 100 W for 3.6 hours would be exactly 500 Wh.

Tips & Best Practices

  • Lithium-ion batteries should typically not be discharged below 20% (80% DoD). Lead-acid batteries: 50% DoD for longevity.
  • Power banks often advertise mAh at cell voltage (3.7V). To charge a 5V device, actual usable capacity is lower: 20,000 mAh ร— 3.7V / 5V = ~14,800 mAh at 5V.
  • Airline carry-on limit for lithium batteries is 100 Wh per battery (160 Wh with airline approval).
  • To estimate monthly electricity cost: kWh per day ร— 30 ร— rate. A 1,500 W space heater running 8 h/day: 12 kWh/day ร— 30 ร— $0.12 = $43.20/month.
  • Peukert's law: at higher discharge rates, batteries deliver less total energy. A battery rated 100 Ah at C/20 may deliver only 80 Ah at C/5.
  • For off-grid solar, size batteries for 2-3 days of autonomy: daily Wh ร— 3 / DoD.

Battery Chemistry and Energy Density

Not all watt-hours are created equal. Lead-acid batteries store about 30-50 Wh/kg. Lithium-ion (NMC) achieves 150-260 Wh/kg. LiFePO4 provides 90-160 Wh/kg but with superior cycle life. Solid-state batteries promise 400+ Wh/kg. Energy density determines how compact and light a battery can be for a given Wh rating โ€” critical for EVs, drones, and portable electronics.

Grid-Scale Energy Storage

Utility companies measure energy in megawatt-hours (MWh) and gigawatt-hours (GWh). A Tesla Megapack stores 3.9 MWh. The Hornsdale Power Reserve in Australia stores 194 MWh. Pumped hydro, the most common grid storage, can store GWh by pumping water uphill during surplus and generating during demand โ€” converting between kinetic and electrical energy measured in watt-hours at enormous scale.

Watt-Hours in Everyday Life

A smartphone battery (15 Wh) stores enough energy to lift a 55 kg person about 10 meters โ€” surprisingly little. A Tesla Model 3 battery (60 kWh) stores the energy equivalent of about 2 gallons of gasoline (though the EV uses it 3-4ร— more efficiently). Understanding watt-hours helps compare energy sources: 1 gallon of gasoline โ‰ˆ 33.7 kWh, 1 kg of lithium battery โ‰ˆ 0.2 kWh, 1 kg of TNT โ‰ˆ 1.2 kWh.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Wh (watt-hours) measures energy. Ah (amp-hours) measures charge. Wh = Ah ร— V. A 100 Ah battery at 12V stores 1,200 Wh. At 48V, the same 100 Ah stores 4,800 Wh. Always use Wh for energy comparisons across different voltage systems.