Plan your future with our Retirement Budget Calculator

Battery mAh to Wh Calculator

Enter your battery capacity in mAh and nominal voltage to instantly convert to watt-hours (Wh), joules, and estimated device runtime.
Loading...
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter the battery's capacity in mAh

    Provide the milliamp-hour rating, typically found on the battery label. For example, a common smartphone battery might have 3,000 mAh.

  2. 2

    Input the nominal voltage in Volts

    Specify the battery's nominal voltage. This is the average voltage during discharge, often 3.7V for a single Li-ion cell or 12V for a car battery.

  3. 3

    Review your results

    The calculator displays six result cards: Energy (Wh), Energy (Joules), Energy (kJ), Capacity (Ah), Runtime at 5W, and Runtime at 10W.

Example Calculation

A hobbyist converts a 3,000 mAh Li-ion cell at 3.7V to find its total energy content and estimate runtime.

Capacity (mAh)

3,000 mAh

Nominal Voltage (V)

3.7 V

Results

Energy (Wh)

11.100 (Well within airline carry-on limits)

Energy (Joules)

39960.0 (High stored energy)

Energy (kJ)

39.960 (High stored energy)

Capacity (Ah)

3.0000 (Mid-range capacity)

Runtime at 5W

2.22 hrs (Limited runtime at 5W)

Runtime at 10W

1.11 hrs (Limited runtime at 10W)

Tips

Consider Discharge Rates

While mAh to Wh conversion is constant, a battery's usable capacity can decrease under high discharge rates. Factor in the C-rate for applications like drones or power tools, where a 20C battery might only deliver 80% of its rated Wh at peak load.

Verify Nominal Voltage for Packs

For multi-cell battery packs, ensure you use the total nominal voltage (e.g., 3 cells in series at 3.7V each means 11.1V nominal). Using a single cell's voltage for a pack will significantly understate the total energy.

Factor in Efficiency Losses

When designing systems, remember that power conversion (e.g., DC-DC boost converters) is not 100% efficient. A typical DC-DC converter might be 85-95% efficient, meaning a 10Wh battery might only deliver 8.5-9.5Wh of usable power to the load.

Understanding Battery Energy Conversion

Calculating a battery's energy in Watt-hours (Wh) from its milliamp-hour (mAh) capacity and nominal voltage is fundamental for anyone working with portable electronics, electric vehicles, or power systems. This conversion provides a standardized measure of the total electrical energy a battery can deliver, crucial for determining runtime, comparing different battery types, or ensuring compliance with shipping regulations. For instance, many airlines restrict Li-ion batteries above 100 Wh in carry-on luggage, making accurate Wh calculation essential for travelers.

The Electrical Logic Behind Wh Conversion

The conversion from milliamp-hours (mAh) to Watt-hours (Wh) is a direct application of the power formula, where power (Watts) is the product of voltage (Volts) and current (Amps). Since mAh represents charge capacity over time, multiplying it by voltage yields energy. This calculation is vital for system designers and engineers to ensure components are adequately powered and to predict operational longevity.

The primary formula for converting mAh to Wh is:

energyWh = (capacity_mAh × nominal_voltage_V) / 1000

Where:

  • energyWh is the energy in Watt-hours.
  • capacity_mAh is the battery's capacity in milliamp-hours.
  • nominal_voltage_V is the battery's nominal voltage in Volts.
  • The division by 1000 converts milliamp-hours to Amp-hours before multiplying by voltage.

Additionally, the calculator provides:

energyJ = energyWh × 3600
capacityAh = capacity_mAh / 1000

energyJ converts Watt-hours to Joules (since 1 Wh = 3600 Joules), offering another common energy unit, while capacityAh simply converts milliamp-hours to Amp-hours.

💡 When designing electromechanical systems, the energy stored in a battery directly impacts the work it can perform. Our Torque Calculator can help you determine the rotational force needed for motors powered by these batteries.

Calculating Energy for a Drone Battery

Consider a drone enthusiast who needs to calculate the total energy content of their new 3400 mAh Li-ion battery, which has a nominal voltage of 3.7V, to estimate potential flight duration.

  1. Identify Capacity and Voltage: The battery has a capacity of 3400 mAh and a nominal voltage of 3.7 V.
  2. Convert mAh to Ah: First, convert milliamp-hours to Amp-hours: 3400 mAh / 1000 = 3.4 Ah
  3. Calculate Watt-hours (Wh): Multiply the Amp-hours by the nominal voltage: 3.4 Ah × 3.7 V = 12.58 Wh
  4. Calculate Joules (J): Convert Watt-hours to Joules: 12.58 Wh × 3600 J/Wh = 45288 J

The battery stores 12.58 Watt-hours of energy, equivalent to 45288 Joules, and has a capacity of 3.4 Amp-hours. This information allows the hobbyist to better understand the battery's capabilities for their drone.

💡 Understanding DC battery energy is critical for portable devices. If you're working with larger scale power systems or grid connections, our AC Power Calculator can help you analyze alternating current loads and generation.

Safety & Tolerances in Battery Systems

Battery systems, especially those with high energy density, require careful consideration of safety and operational tolerances. A common Li-ion cell (like an 18650) typically operates with a nominal voltage of 3.6V to 3.7V, but its full charge voltage can reach 4.2V. Overcharging beyond this can lead to thermal runaway, a dangerous condition where internal temperatures rapidly escalate, potentially causing fire or explosion. Most battery management systems (BMS) are designed with a safety margin, typically cutting off charge at 4.2V per cell and discharge around 2.5V per cell to prevent damage. For instance, a 12V lead-acid battery should not be discharged below 10.5V to avoid permanent sulfation, which can drastically reduce its lifespan. Component ratings also play a role; a wire rated for 10A should not continuously carry 15A, even if the battery can supply it, as this could lead to overheating and insulation breakdown.

When battery mah to wh gives misleading results

While the mAh to Wh conversion is a fundamental calculation, there are specific scenarios where relying solely on this number can be misleading, particularly for practical applications.

  1. Variable Discharge Rates: The stated mAh capacity of a battery is usually determined at a low, standardized discharge rate (e.g., C/10 or C/20). When a battery is subjected to much higher discharge rates, its actual usable capacity can be significantly reduced due to internal resistance and voltage sag. For example, a 2000 mAh battery might only deliver 1800 mAh (and thus less Wh) when discharged at 5C (10A) compared to 0.5C (1A). In such cases, consult the battery's discharge curve provided by the manufacturer or perform real-world testing.
  2. Temperature Extremes: Battery chemistry is highly sensitive to temperature. Operating a battery in very cold conditions (e.g., below 0°C) can drastically reduce its effective capacity and voltage, leading to a much lower actual Wh output than calculated. Conversely, high temperatures (above 45°C) can cause accelerated degradation and reduce the battery's overall lifespan, even if the immediate Wh calculation seems correct. For critical applications in extreme environments, derate the battery capacity based on temperature specifications.
  3. Aging and Degradation: The mAh capacity printed on a new battery label represents its initial state. Over time, through cycles of charging and discharging, and exposure to environmental factors, a battery's internal resistance increases, and its capacity degrades. A 5000 mAh battery after 500 cycles might only retain 80% of its original capacity (4000 mAh), meaning its real-world Wh output will be lower than what a calculation based on the original label would suggest. For older batteries, it's more accurate to use a capacity tester to determine the current actual mAh for Wh calculations.

Frequently Asked Questions

Why is battery energy expressed in Wh instead of just mAh?

Milliamp-hours (mAh) only represent charge capacity and don't account for voltage. Watt-hours (Wh) provide a true measure of energy, integrating both current and voltage, which is essential for comparing batteries with different voltages. For example, a 5000 mAh 3.7V battery (18.5 Wh) stores less energy than a 5000 mAh 12V battery (60 Wh).

What is the difference between nominal voltage and peak voltage?

Nominal voltage is the battery's average operating voltage during discharge, used for energy calculations. Peak voltage is the maximum voltage a fully charged battery reaches, typically around 4.2V for a Li-ion cell. The nominal voltage (e.g., 3.7V) is a more practical value for estimating energy over the battery's lifespan.

How does temperature affect battery capacity and energy?

Extreme temperatures significantly impact battery performance. Cold temperatures (below 0°C) can temporarily reduce usable capacity by 20-50% due to slower chemical reactions, while excessively hot temperatures (above 45°C) can accelerate degradation, leading to permanent capacity loss over time.

Can I use this calculator for all battery chemistries?

Yes, this calculator works for any battery chemistry (Li-ion, NiMH, Lead-Acid, etc.) as long as you input the correct nominal voltage and milliamp-hour capacity. The underlying energy conversion formula remains consistent across different types.