Watt-hour
Calculator
Convert mAh to Wh, calculate energy consumption from power and time, and estimate battery runtimes — with device presets, joule conversion, and kWh cost estimation.
—
Watt-hour Calculator: Convert Battery Capacity and Energy Instantly
Whether you’re comparing laptop battery specifications, designing a solar energy storage system, figuring out how many phone charges you’ll get from a power bank, or calculating how much an appliance costs to run per year — the watt-hour (Wh) is the single most important unit of electrical energy you need to understand. This free watt-hour calculator supports two modes: battery mode (mAh × Voltage → Wh) for converting battery capacity ratings from milliampere-hours into energy-equivalent watt-hours, and power consumption mode (Watts × Hours → Wh) for calculating how much energy any device consumes over time. Results include kWh for electricity billing, joules for physics applications, equivalent mAh at different voltages, and real-world runtime estimates at common power draw levels.
Understanding watt-hours matters more than ever as we rely on increasingly diverse battery technologies — from tiny 300 mAh smartwatch cells to 75,000 Wh electric vehicle packs. Because batteries operate at different voltages, milliampere-hours alone can’t tell you how much total energy a battery contains. A “5,000 mAh” label on a phone battery and a “5,000 mAh” label on a laptop battery describe completely different amounts of stored energy if their voltages differ. Watt-hours solve this problem by combining charge and voltage into a single, universally comparable energy figure.
⚡ Core formulas:
Battery mode: Wh = (mAh × Voltage) ÷ 1000 · Or: Wh = Ah × Voltage
Power mode: Wh = Watts × Hours
Example: 5,000 mAh at 3.7V = (5,000 × 3.7) ÷ 1000 = 18.5 Wh
Example: 60W device for 2 hours = 60 × 2 = 120 Wh
What Is a Watt-hour? The Core Concept Explained
A watt-hour (Wh) is a unit of electrical energy representing the amount of energy produced or consumed when one watt of power flows for one hour. Think of it like this: power (watts) is the rate at which energy flows — like the speed of water through a pipe. Time (hours) is how long that flow continues. Energy (watt-hours) is the total volume of water that passed through — the accumulated result of power flowing over time.
The mathematical relationship is simple and exact: Energy (Wh) = Power (W) × Time (h). A 100W light bulb burning for 10 hours uses 1,000 Wh = 1 kWh of electricity. A 10W phone charger running for 1 hour uses 10 Wh. This relationship scales linearly — double the power or double the time, and you double the energy consumed.
For batteries, watt-hours represent the total energy stored in the cell, calculated from the battery’s capacity and voltage: Wh = (mAh × V) ÷ 1000. A battery with 5,000 mAh capacity at 3.7V stores 18.5 Wh of energy. That same cell at a different voltage would store a different amount of energy entirely — which is why voltage is inseparable from capacity in any meaningful energy comparison.
The unit hierarchy in electrical energy: 1 Wh = 3,600 joules (J) = 0.001 kWh (kilowatt-hours). Your electricity bill is measured in kWh — each kilowatt-hour is 1,000 watt-hours. A typical household might consume 30 kWh per day (30,000 Wh), while your laptop battery stores about 50–65 Wh. The scale difference is enormous, which is why we use different prefixes for different contexts.
mAh vs Wh: What’s the Actual Difference?
mAh (milliampere-hours)
Measures electrical charge — how many milliamperes of current can be supplied for one hour. It describes the volume of charge a battery can deliver, but says nothing about the energy voltage at which it’s delivered. Two batteries with identical mAh ratings but different voltages contain completely different amounts of energy. mAh is commonly used for consumer marketing because it produces larger, more impressive-sounding numbers than Wh.
Wh (watt-hours)
Measures electrical energy — the true, voltage-independent measure of how much work a battery can perform. Wh = mAh × V ÷ 1000. Wh is the standard used by aviation regulators (airlines use Wh limits for carry-on batteries), engineering specifications, solar system design, and the EU’s mandatory battery labelling regulation. When comparing batteries across devices, Wh is always the correct unit.
Power bank mAh deception
Power banks advertise capacity at their internal cell voltage (typically 3.7V), not the 5V USB output voltage. A “20,000 mAh” power bank contains 74 Wh internally. Converting to 5V equivalent: 74 Wh ÷ 5V × 1000 = 14,800 mAh — and then conversion efficiency (85–90%) further reduces this. The effective charging capacity is typically 60–70% of the advertised mAh figure at USB voltage.
Solar and storage applications
Solar battery storage is always specified in Wh or kWh — never in mAh — because the voltage of storage systems varies widely (12V, 24V, 48V, 400V+). A 10 kWh home battery stores the same amount of energy regardless of its internal voltage configuration. For solar design, compare panel output in watt-hours per day (W × peak sun hours) directly to battery capacity in Wh to determine days of autonomy.
How to Calculate Watt-hours: Step-by-Step
From battery mAh and voltage: Find the battery’s capacity in milliampere-hours and its nominal voltage. Multiply capacity by voltage, then divide by 1,000 to get watt-hours. For a phone battery rated 4,500 mAh at 3.87V: (4,500 × 3.87) ÷ 1,000 = 17.4 Wh. This tells you the phone’s battery stores 17.4 watt-hours of energy — enough to run a 17.4W device for exactly one hour, or a 5W device for 3.5 hours (minus efficiency losses).
From power consumption and time: Identify the device’s power draw in watts from its specification label, power supply, or measurement. Multiply by the hours of operation. For a 65W laptop charger running for 3 hours: 65 × 3 = 195 Wh of energy consumed. For shorter periods: convert minutes to hours first. A 1200W microwave running for 3 minutes: 1,200 × (3/60) = 1,200 × 0.05 = 60 Wh per use.
Calculating runtime: Divide battery capacity (Wh) by device power consumption (W). A 50 Wh laptop battery powering a device drawing 25W: 50 ÷ 25 = 2 hours theoretical runtime. Apply a real-world efficiency factor of 0.85–0.90 for practical estimates: 2 × 0.87 ≈ 1.74 hours. This formula works for any battery/device combination.
Common Device Watt-hour Reference
| Device | Typical capacity | Voltage | Wh | Runtime estimate |
|---|---|---|---|---|
| Smartphone | 3,500–5,000 mAh | 3.87V | 13.5–19.4 Wh | 12–30 hrs typical |
| Tablet (iPad-class) | 7,000–9,000 mAh | 3.8V | 26.6–34.2 Wh | 8–12 hrs |
| Laptop (14″) | 45–65 Wh | 11.1V | 45–65 Wh | 5–14 hrs |
| Power bank (20K) | 20,000 mAh | 3.7V cell | 74 Wh | 3–5 phone charges |
| Smart watch | 250–400 mAh | 3.8V | 0.95–1.52 Wh | 1–7 days |
| Wireless earbuds (case) | 400–700 mAh | 3.7V | 1.5–2.6 Wh | 3–6 charges |
| E-bike battery | 10,000–20,000 mAh | 36–48V | 360–960 Wh | 40–120 km range |
| EV car (Tesla Model 3) | ~75,000 Wh usable | ~400V | 75,000 Wh (75 kWh) | 350+ km range |
| AA alkaline | 2,500–3,000 mAh | 1.5V | 3.75–4.5 Wh | Device dependent |
| 18650 Li-ion cell | 2,000–3,500 mAh | 3.6V | 7.2–12.6 Wh | Used in packs |
Battery Voltage Types and Their Wh Impact
Lithium battery chemistry determines nominal voltage, and voltage directly affects energy content. Understanding voltage types helps you use this calculator correctly and avoid common mAh-to-Wh conversion errors.
Lithium-ion (Li-ion): 3.6–3.7V nominal. The most common chemistry in consumer electronics — smartphones, laptops, power tools. Fully charged: 4.2V. Discharged cutoff: 2.5–3.0V. Most phone and tablet batteries are Li-ion. Use 3.7V as the standard nominal voltage for mAh-to-Wh conversion.
Lithium polymer (LiPo): 3.7V nominal (same as Li-ion, different physical construction). Used in drones, RC vehicles, wearables, and slim-profile devices where a flexible pouch form factor is needed. Slightly higher energy density than cylindrical Li-ion. Same voltage for calculations.
Lithium iron phosphate (LFP): 3.2V nominal. Lower energy density but dramatically better cycle life (2,000–10,000 cycles vs 300–500 for standard Li-ion) and improved thermal safety. Increasingly common in home battery storage (Tesla Powerwall, BYD), solar systems, and EVs. Use 3.2V for LFP mAh-to-Wh conversion.
Lithium nickel manganese cobalt (NMC): 3.6–3.7V nominal. High energy density, used in EV batteries (BMW, GM, Nissan) and high-performance power tools. Similar nominal voltage to standard Li-ion for calculation purposes.
Electricity Cost Calculation Using Watt-hours
Converting device energy consumption to electricity cost requires one additional step: dividing watt-hours by 1,000 to get kilowatt-hours (kWh), then multiplying by your electricity rate. Most residential electricity rates globally range from $0.10–$0.30 per kWh.
Practical examples: A 1,500W electric kettle boiling water for 3 minutes uses 1,500 × (3/60) = 75 Wh = 0.075 kWh. At $0.20/kWh: $0.015 per boil. Used 5 times daily for a year: $27.38 annually. A 65W laptop running 8 hours daily: 65 × 8 = 520 Wh/day = 0.52 kWh/day. At $0.20/kWh: $0.104/day = $37.96/year. A 3.5W LED bulb replacing a 60W incandescent for 4 hours/day: LED saves 56.5W × 4h = 226 Wh/day = 82.5 kWh/year. At $0.20/kWh: $16.49/year saved per bulb.
Related Energy and Electronics Calculators
Frequently Asked Questions
Common Mistakes When Working With Watt-hours
Even experienced electronics users make predictable errors when calculating or comparing watt-hours. Understanding these pitfalls helps you use this calculator correctly and interpret battery specifications accurately.
Mistake 1: Using the wrong voltage for mAh conversion. Phone manufacturers often quote battery capacity in mAh at the cell’s nominal voltage (3.7–3.87V), while USB charger outputs operate at 5V. A “20,000 mAh power bank” contains 74 Wh at 3.7V internally. At 5V USB output, that’s equivalent to 74,000 ÷ 5 = 14,800 mAh — already 26% less than advertised, before factoring in the 10–15% conversion efficiency loss. The effective capacity at 5V is typically 12,000–13,000 mAh, not 20,000 mAh. Always apply the output voltage when calculating effective charging capacity.
Mistake 2: Treating nominal voltage as constant. Battery voltage changes throughout the discharge cycle. A lithium-ion cell starts at 4.2V (fully charged), sits at 3.7V nominal during most of its discharge, and cuts off around 3.0V. The energy calculation uses nominal (average) voltage, which is accurate for total stored energy but means instantaneous power delivery varies across the discharge curve. High-precision energy calculations integrate voltage over the full discharge profile — this calculator uses nominal voltage, which is accurate to within 2–5% for most practical purposes.
Mistake 3: Ignoring conversion efficiency losses. Energy conversion is never 100% efficient. When a power bank converts its internal 3.7V cell to 5V USB output, it uses a boost converter with typically 88–93% efficiency. When a charger converts AC mains to DC, another 85–90% efficiency applies. These losses compound: charging a phone from a power bank via two conversion stages can result in only 75–80% of the battery’s rated Wh being delivered to the device. For system design, always account for these efficiency losses in your energy budget.
Mistake 4: Comparing mAh across different voltages. A “10,000 mAh” drone battery at 22.2V (6-cell LiPo) stores 222 Wh. A “10,000 mAh” phone power bank at 3.7V stores 37 Wh. Same mAh, six times different energy. This is the fundamental reason why watt-hours exist as a unit — to make energy comparisons valid across different voltage systems. Never compare mAh ratings between devices with different battery voltages without first converting to Wh.
Watt-hours in Real-World Applications
Understanding watt-hours becomes practically valuable in a range of everyday and professional scenarios. Here are the most common applications where accurate Wh calculation makes a meaningful difference.
Camping and off-grid power planning: Portable solar panels and power stations are rated in watt-hours. A 300 Wh portable power station can run a 20W fan for 15 hours, charge a 60W laptop 5 times (allowing for 85% efficiency), or power a 50W portable refrigerator for 6 hours. Planning a camping trip requires summing all device power draws × hours of use to determine the Wh capacity needed from your portable power station.
Electric vehicle range estimation: EV energy consumption is measured in Wh per kilometre (Wh/km) or kWh per 100 km. A Tesla Model 3 consumes approximately 150–180 Wh/km. With a 75 kWh usable battery: range = 75,000 Wh ÷ 165 Wh/km ≈ 454 km theoretical. Real-world range is 80–90% of theoretical due to heating, air conditioning, regenerative braking capture, and highway speed efficiency differences.
UPS (Uninterruptible Power Supply) sizing: UPS systems protect equipment from power outages. Sizing requires calculating total connected load (W) × required backup time (h) = Wh needed from the UPS battery. A home server drawing 200W that needs 30 minutes of backup: 200 × 0.5 = 100 Wh minimum. Add 25% for efficiency: 125 Wh UPS battery needed. Most UPS units specify battery capacity in Wh or VA (volt-amperes, approximately equal to watts for most loads) to simplify this calculation.
IoT and sensor device battery life: Battery-powered IoT devices operate in sleep/wake cycles where understanding Wh requirements is critical for predicting service intervals. A sensor drawing 1 mA at 3.3V when active (0.0033W) for 1 second every 10 minutes, and 1 µA at 3.3V when sleeping: active energy = 0.0033W × (1/3600)h per wake = 0.00000092 Wh. Sleep energy = 0.0000033W × (9.98/60)h per cycle = 0.0000000005 Wh per cycle. Over 8,760 hours (1 year), at 6 wake cycles per hour: approximately 0.048 Wh consumed. A 1,000 mAh × 3.3V = 3.3 Wh battery would last about 3.3 ÷ 0.048 ≈ 69 years — demonstrating why ultra-low-power IoT devices can run for years on a single coin cell.
Maximising Battery Life and Energy Efficiency
Knowing your device’s watt-hour capacity is only the first step — extending how long that energy lasts requires understanding the factors that affect battery efficiency and longevity.
For portable devices, screen brightness is typically the single largest power draw. Reducing brightness from 100% to 50% can extend battery life by 20–40% on smartphones and laptops. Disabling connectivity features (Bluetooth, Wi-Fi, GPS, cellular radio) when not needed reduces background power consumption significantly — combined, these radios can draw 500 mW to 2W continuously.
Temperature management preserves Wh capacity over the battery’s lifetime. Lithium batteries stored or operated at elevated temperatures (above 35°C) degrade faster — a battery consistently kept at 40°C may retain only 65% of its original capacity after two years, compared to 85–90% at 20°C. Avoid leaving devices in hot cars or direct sunlight during summer.
Partial charging strategies extend cycle life. Keeping a lithium battery between 20% and 80% state of charge (rather than 0–100%) reduces stress on electrode materials and can extend useful battery life from 300–500 full cycles to 1,000+ partial cycles. Many modern smartphones include settings for “optimised charging” or “battery care” that implement this automatically.
For rechargeable systems (power banks, laptops, EVs), understanding your actual Wh usage versus rated capacity becomes more important as the battery ages. A battery that originally held 74 Wh at 100% capacity may only hold 59 Wh after 300 cycles (80% retention). Recalculating runtime expectations based on current capacity rather than original spec is essential for accurate planning — re-run this calculator with your observed usage patterns rather than manufacturer specifications for aged batteries.
Watt-hours and the Future of Energy Storage
The watt-hour is becoming an increasingly central unit in everyday life as electrification of transport, home heating, and industrial processes accelerates. Understanding how to work with Wh calculations prepares you to make better decisions across a rapidly expanding range of product categories and energy systems.
Home energy storage systems (residential batteries like Tesla Powerwall, Sonnen, and Enphase) are sized in kWh and are designed to store solar-generated electricity for use during evening hours or grid outages. A 13.5 kWh Powerwall can supply 13,500 Wh — enough to run a typical home’s essential loads (refrigerator, lights, phone charging, router) for 24–36 hours. Sizing these systems correctly requires accurate calculation of household daily Wh consumption, which starts with exactly the kind of device-by-device power × time analysis this calculator performs.
Grid-scale energy storage — measured in MWh (megawatt-hours) and GWh (gigawatt-hours) — uses the same fundamental watt-hour unit scaled up. A 100 MWh grid battery can supply 100,000 kWh (100,000,000 Wh) of electricity. The unit relationships: 1 GWh = 1,000 MWh = 1,000,000 kWh = 1,000,000,000 Wh. The physics and formulas are identical — only the scale changes.
As you evaluate new electronic products, battery-powered vehicles, or energy storage investments, the watt-hour provides the most reliable basis for comparison. Always calculate and compare Wh rather than mAh when assessing products across different voltage specifications, and factor in real-world efficiency losses when translating rated capacity to practical performance. This calculator gives you the foundation to make those comparisons instantly and accurately.
Quick Reference: Watt-hour Conversion Factors
For engineers, students, and anyone working regularly with electrical energy calculations, the following conversion factors are useful to memorise alongside the core watt-hour formula. All conversions are exact by definition of their respective units.
- 1 Wh = 3,600 joules (J) — the SI base unit of energy
- 1 kWh = 1,000 Wh = 3,600,000 J = 3.6 MJ — standard electricity billing unit
- 1 Wh at 1V = 1,000 mAh — the mAh/Wh bridge at unit voltage
- 1 Wh at 3.7V ≈ 270 mAh — common Li-ion conversion reference
- 1 Wh at 5V = 200 mAh — USB standard output reference
- 1 calorie (food) ≈ 0.00116 Wh — biological vs electrical energy comparison
- 1 BTU ≈ 0.293 Wh — HVAC and thermal energy conversion
- 1 horsepower-hour ≈ 745.7 Wh — mechanical energy conversion
These conversion factors allow you to move fluidly between energy units in different professional contexts — from electrical engineering (Wh, kWh, joules) to thermodynamics (BTU, calories) to mechanical engineering (horsepower-hours). The underlying physical quantity is always the same; only the measurement scale changes.
Calculate watt-hours instantly
mAh to Wh, W × h, kWh, joules, runtime estimates — free, electrical engineering accurate.
Calculate watt-hours ↑