battery_std Utilities

How to Convert Battery Capacity Between mAh, Wh, and Ah - Complete Guide with Formula & Examples

Learn how to convert battery capacity between mAh, Wh, and Ah. Free step-by-step guide with formulas, real examples, and tips. Try our online calculator.

Ready to try it?

Use our free Battery Capacity Converter now — no signup required.

open_in_new Open Tool

What is Battery Capacity Conversion?

Battery capacity conversion is the process of translating battery specifications between different units of measurement. The three most common units are milliampere-hours (mAh), watt-hours (Wh), and ampere-hours (Ah). Understanding these conversions is essential when comparing batteries across devices like smartphones, laptops, power banks, and electric vehicles.

Manufacturers use different units depending on the device type. Smartphone batteries are typically rated in mAh, while laptop and aviation batteries often use Wh. This inconsistency makes it difficult to compare battery life or determine compatibility. For example, a 10,000mAh power bank and a 37Wh laptop battery can't be directly compared without conversion.

Battery capacity conversion is critical for travelers (airlines limit power banks to 100Wh), engineers designing power systems, and consumers comparing devices. Knowing how to convert between units helps you make informed decisions about battery purchases, understand actual energy storage, and ensure compliance with transportation regulations.

Battery Capacity Formula and Methodology

The key to converting between mAh and Wh is understanding that Wh = (mAh × Voltage) ÷ 1000. This formula accounts for voltage, which is the missing piece when comparing mAh values alone. A 3,700mAh battery at 3.7V stores 13.69Wh, while the same 3,700mAh at 12V stores 44.4Wh—over three times more energy.

Core Formulas:

  • mAh to Wh: Wh = (mAh × V) ÷ 1000
  • Wh to mAh: mAh = (Wh × 1000) ÷ V
  • mAh to Ah: Ah = mAh ÷ 1000
  • Ah to mAh: mAh = Ah × 1000

Voltage is critical: Without knowing the battery voltage, you cannot accurately convert between mAh and Wh. Common voltages include 3.7V for lithium-ion smartphone cells, 11.4V-12.6V for laptop batteries, and 3.2V for LiFePO4 cells.

Real-World Examples

Example 1: Smartphone Battery
A typical smartphone battery is rated at 4,000mAh with a nominal voltage of 3.7V. To find its energy capacity in Wh:
Wh = (4,000 × 3.7) ÷ 1000 = 14.8Wh
This means the battery stores 14.8 watt-hours of energy.

Example 2: Airline Travel Compliance
You have a power bank labeled 20,000mAh at 3.7V. Airlines allow carry-on power banks up to 100Wh. Is yours compliant?
Wh = (20,000 × 3.7) ÷ 1000 = 74Wh
Yes, 74Wh is under the 100Wh limit, so it's allowed in carry-on luggage.

Example 3: Laptop Battery Comparison
Two laptops advertise different battery specs: Laptop A has a 60Wh battery, while Laptop B has a 5,000mAh battery at 11.4V. Which has more capacity?
Laptop B: Wh = (5,000 × 11.4) ÷ 1000 = 57Wh
Laptop A's 60Wh is greater than Laptop B's 57Wh, despite the seemingly higher mAh on Laptop B.

Common Mistakes to Avoid

1. Ignoring voltage: The most common mistake is assuming mAh alone indicates total energy. A 5,000mAh 12V battery stores 60Wh, while a 5,000mAh 3.7V battery stores only 18.5Wh—over three times less.

2. Confusing nominal vs. maximum voltage: Lithium-ion batteries have a nominal voltage (typically 3.7V) but charge to 4.2V. Using 4.2V instead of 3.7V will overestimate capacity by about 14%.

3. Mixing up mAh and Ah: A 2.4Ah battery equals 2,400mAh, not 240mAh or 24,000mAh. Always multiply or divide by 1,000 correctly.

4. Assuming all power banks are 3.7V: USB output is 5V, but internal cells are 3.7V. When calculating capacity, use the internal cell voltage, not the output voltage.

5. Not accounting for efficiency losses: Real-world conversion efficiency is 85-95%. A 10,000mAh power bank at 3.7V (37Wh) delivers only ~31-35Wh at 5V USB output due to conversion losses.

Step-by-Step Guide

  1. 1

    Step 1 - Gather Your Data

    Find the battery's capacity rating (in mAh, Wh, or Ah) and its nominal voltage. This information is printed on the battery label, in device specifications, or on the manufacturer's website. For lithium-ion batteries, typical voltages are 3.7V (smartphones), 11.4V-12.6V (laptops), and 3.2V (LiFePO4).

  2. 2

    Step 2 - Enter Your Values

    Input the battery capacity value and voltage into the converter tool. Select your starting unit (mAh, Wh, or Ah) and the unit you want to convert to. Ensure the voltage is accurate for precise results.

  3. 3

    Step 3 - Calculate

    Click the calculate button to perform the conversion. The tool applies the formula Wh = (mAh × V) ÷ 1000 or its inverse, automatically handling all unit conversions and displaying results instantly.

  4. 4

    Step 4 - Interpret Results

    Review the converted values. If converting mAh to Wh, you now know the actual energy capacity. For airline travel, compare your Wh result to the 100Wh limit. For device comparisons, higher Wh means longer runtime regardless of mAh differences.

  5. 5

    Step 5 - Take Action

    Use the results to make informed decisions. Choose compatible batteries, verify airline compliance, compare device battery life accurately, or calculate how long a device will run. For power banks, remember that actual output is 85-95% of the rated capacity due to conversion losses.

Tips & Best Practices

  • lightbulb Always check the nominal voltage before converting—without it, mAh-to-Wh conversion is impossible. Most smartphone batteries are 3.7V, while laptop batteries range from 11.4V to 12.6V.
  • lightbulb For airline travel, power banks must be under 100Wh for carry-on. A 27,000mAh battery at 3.7V equals exactly 99.9Wh, the maximum allowed without special approval.
  • lightbulb When comparing batteries, Wh is the most accurate metric. A 50Wh battery will last longer than a 35Wh battery in the same device, regardless of their mAh ratings.
  • lightbulb USB power banks advertise mAh at 3.7V internal cells, but output at 5V. A 10,000mAh (37Wh) power bank delivers only about 7,400mAh at 5V due to voltage conversion.
  • lightbulb For off-grid solar or backup systems, calculate daily consumption in Wh. A device drawing 5W for 10 hours needs 50Wh daily. A 100Wh battery would last approximately 2 days.

Frequently Asked Questions

What's the difference between mAh and Wh? expand_more
mAh (milliampere-hours) measures charge capacity, while Wh (watt-hours) measures energy capacity. Wh accounts for both charge and voltage, making it a more accurate comparison metric. To convert: Wh = (mAh × Voltage) ÷ 1000.
Can I convert mAh to Wh without knowing voltage? expand_more
No, voltage is essential for accurate conversion. Without voltage, you cannot determine the actual energy stored. However, for standard lithium-ion cells, you can assume 3.7V as a rough estimate, though this may not be precise for all battery types.
What is the maximum power bank size allowed on airplanes? expand_more
The FAA and most airlines allow power banks up to 100Wh in carry-on luggage without approval. Power banks between 100-160Wh require airline approval. Anything over 160Wh is prohibited. A typical 20,000mAh power bank at 3.7V equals 74Wh, which is allowed.
Why do two 5,000mAh batteries have different Wh ratings? expand_more
Different voltages cause the difference. A 5,000mAh battery at 3.7V equals 18.5Wh, while the same capacity at 12V equals 60Wh. Voltage determines the energy potential, so higher voltage batteries store more energy at the same mAh rating.
How do I know if my battery is 3.7V or another voltage? expand_more
Check the battery label or device specifications. Smartphone and single-cell lithium-ion batteries are typically 3.7V. Laptop batteries are usually 11.4V, 11.55V, or 12.6V. Multi-cell batteries multiply: a 3S configuration is 11.1V (3 × 3.7V), and a 4S is 14.8V (4 × 3.7V).

Related Tools