Battery Capacity Calculator

Calculate battery capacity, runtime, and energy in mAh, Wh, and Ah. Estimate how long a battery will power your device with load and efficiency factors.

Battery Capacity Calculator

Estimated Runtime
17h
17.00 hours (1020 minutes) at 500 mA with 85% efficiency
Energy (Wh)
37.00 Wh
Total energy: 10.000 Ah ร— 3.7 V = 37.00 Wh
Capacity (mAh / Ah)
10000 mAh / 10.000 Ah
Battery charge capacity in milliamp-hours and amp-hours
Energy (kWh)
0.0370 kWh
Energy in kilowatt-hours, useful for larger battery systems
Energy (Joules)
133200 J
Energy in joules (SI unit): Wh ร— 3600
Load Power (W)
1.850 W
Power draw: 500 mA ร— 3.7 V = 1.850 W
Discharge Rate (C)
0.050C
C-rate indicates how fast the battery is being discharged. 1C = full discharge in 1 hour. Current rate: 0.050C
Runtime Visual
17h
Load (mA)Power (W)RuntimeC-Rate
1000.3785h0.010C
2500.9334h0.025C
5001.8517h0.050C
10003.708h 30m0.100C
15005.555h 40m0.150C
20007.404h 15m0.200C
300011.102h 50m0.300C
Battery Chemistry Reference
ChemistryNominal VEnergy DensityCycle LifeSelf-Discharge
Li-ion3.7V150-250 Wh/kg300-5002-3%/month
LiPo3.7V130-200 Wh/kg300-5003-5%/month
LiFePO43.2V90-120 Wh/kg2000+1-3%/month
NiMH1.2V60-120 Wh/kg500-100015-30%/month
Alkaline1.5V80-160 Wh/kgN/A2-3%/year
Lead-Acid2.0V/cell30-50 Wh/kg200-3003-20%/month
Planning notes, formulas, and examples

About the Battery Capacity Calculator

The Battery Capacity Calculator helps you determine battery runtime, convert between capacity units (mAh, Ah, Wh), and size batteries for your specific power needs. Whether you're designing a portable electronics project, choosing a power bank, or sizing a solar battery system, understanding battery capacity is essential.

Battery capacity is typically rated in milliamp-hours (mAh) or watt-hours (Wh). While mAh tells you the charge stored, Wh accounts for voltage and gives a more accurate picture of total energy. This calculator converts between all common units and estimates actual runtime based on your device's power consumption, discharge rate, and efficiency losses.

Real-world battery performance differs from rated specifications due to temperature, discharge rate (Peukert effect), age, and conversion efficiency. This calculator includes adjustable efficiency and discharge factors so you can get realistic estimates rather than theoretical maximums. Use the preset device profiles or enter custom values for your specific application. That makes it easier to compare a battery pack against the actual load you plan to run.

When This Page Helps

Use this calculator when you want a realistic battery runtime estimate instead of a nameplate-only number. It is useful for portable devices, power banks, and small battery systems where voltage, load, and efficiency all matter. That helps you size capacity before the battery is already in the build and avoid a pack that comes up short in practice.

How to Use the Inputs

  1. Enter the battery capacity in mAh or Ah
  2. Enter the battery nominal voltage (e.g., 3.7V for Li-ion, 1.5V for alkaline)
  3. Enter your device's power draw in milliamps (mA) or watts (W)
  4. Adjust the efficiency factor to account for real-world losses (typically 80-90%)
  5. Select a common device preset or enter custom values
  6. Review runtime estimate, energy in Wh, and other conversion results
  7. Use the comparison table to see runtime across different load levels
Formula used
Runtime (hours) = (Battery Capacity in mAh ร— Efficiency) / Load in mA. Energy (Wh) = Capacity (Ah) ร— Voltage (V). Capacity (Ah) = Capacity (mAh) / 1000. Adjusted for Peukert effect: Effective Capacity = Rated Capacity ร— (Rated Discharge Rate / Actual Discharge Rate)^(k-1), where k is the Peukert exponent.

Example Calculation

Result: 17.0 hours

A 10,000 mAh battery at 3.7V with 85% efficiency powering a 500 mA load: (10000 ร— 0.85) / 500 = 17.0 hours runtime. Energy = 10 Ah ร— 3.7V = 37 Wh.

Tips & Best Practices

  • Always use nominal voltage, not fully-charged voltage, for capacity calculations
  • Li-ion batteries should not be discharged below 20% for longevity โ€” factor this into runtime
  • Power bank efficiency is typically 75-85% due to voltage conversion losses
  • For solar systems, size batteries for 2-3 days of autonomy as a rule of thumb
  • Higher discharge rates reduce effective capacity โ€” use conservative estimates for high-drain devices
  • Battery capacity decreases with age; expect 80% capacity after 300-500 charge cycles for Li-ion

Understanding Battery Capacity Units

Battery capacity can be expressed in several units, and understanding the differences is crucial for proper sizing. Milliamp-hours (mAh) is the most common rating for small batteries and tells you how many milliamps a battery can deliver for one hour. However, mAh doesn't account for voltage, so it's not ideal for comparing batteries of different chemistries.

Watt-hours (Wh) is a more universal energy unit that factors in voltage. Airlines use Wh to regulate lithium batteries (100 Wh carry-on limit). Kilowatt-hours (kWh) is used for larger battery systems like electric vehicles and home energy storage.

Battery Chemistry Comparison

Different battery chemistries have different characteristics. Lithium-ion batteries offer high energy density (150-250 Wh/kg) and low self-discharge, making them ideal for portable electronics. Lead-acid batteries are cheaper but heavier (30-50 Wh/kg) and suffer more from the Peukert effect. NiMH batteries offer moderate performance with better environmental characteristics.

When sizing a battery system, consider not just capacity but also maximum discharge rate (C-rating), operating temperature range, cycle life, and self-discharge rate. A battery rated at 2000 mAh with a 1C maximum discharge can only deliver 2A continuous current.

Practical Battery Sizing Guidelines

For portable projects, calculate your worst-case power draw and multiply by desired runtime with a 20-30% safety margin. For solar off-grid systems, size your battery bank for 3 days of autonomy at 50% depth of discharge. For electric vehicles, consider both total energy (range) and peak power delivery (acceleration).

Sources & Methodology

Last updated:

Frequently Asked Questions

  • mAh (milliamp-hours) measures charge capacity without considering voltage. Wh (watt-hours) measures total energy by accounting for voltage: Wh = Ah ร— V. Wh is more useful for comparing batteries at different voltages.