Battery Runtime Calculator

Estimate how long a battery will last under a specific load.

Save

Inputs

mAh
mA

Your values stay on this device.

Results

Estimated Runtime
In Minutes1,020

Report

Export and share

Document

Copy and share

Assumptions

  • Capacity and current draw should be entered in matching mAh and mA-style units.
  • The estimate uses a fixed 85% efficiency factor rather than a chemistry-specific discharge curve.
  • Battery runtime is undefined when the load current is zero or negative.

Sensitivity preview

Battery Capacity -10%: Estimated Runtime 15.3 Hours

Battery Capacity Current: Estimated Runtime 17 Hours

Battery Capacity +10%: Estimated Runtime 18.7 Hours

Formula: Time = (Capacity * 0.85) / Load

Related Tools

View All

About this Battery Life Calculator

Whether you are building an Arduino project, planning a camping trip with a power bank, or testing an IoT sensor, knowing your battery life is essential. This calculator uses the standard capacity formula adjusted for real-world efficiency losses.

Who this calculator is for

  • Makers, electronics hobbyists, and embedded developers estimating runtime from a known battery pack.
  • Field teams planning portable power banks, radios, or sensor deployments.
  • Anyone checking whether a device load is realistic for a given battery size.

When to use it

  • Use it to estimate runtime for a low-power microcontroller, modem, or appliance.
  • Use it when comparing battery capacities before buying a power bank or pack.
  • Use it as a quick planning estimate before measuring real runtime with test equipment.

How to use this calculator

  1. Enter the Battery Capacity (usually printed in mAh or Ah).
  2. Enter the Device Consumption (Load) in mA.
  3. The result is the estimated Runtime in hours.

Key assumptions

  • Capacity and current draw should be entered in matching mAh and mA-style units.
  • The estimate uses a fixed 85% efficiency factor rather than a chemistry-specific discharge curve.
  • Battery runtime is undefined when the load current is zero or negative.

Accuracy and testing

Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.

View accuracy page

How this calculator works

The theoretical formula is `Capacity / Load`. However, batteries are never 100% efficient due to internal resistance, temperature, and voltage drop. We apply a standard 0.85 (85%) efficiency factor (Peukert's Law simplification) to provide a realistic estimate. Time = (Capacity × 0.85) / Load
Time = (Capacity * 0.85) / Load

Inputs explained

Capacity (mAh)

Milliamp-hours. The total amount of energy stored. 1000 mAh = 1 Ah.

Consumption (mA)

The current draw of the device. Check the spec sheet or use a multimeter.

Understanding your results

The result is an estimate. High discharge rates (heavy loads) reduce effective capacity more than light loads. Extreme cold also reduces battery life.

Example scenarios

IoT Sensor

2000 mAh battery. 10 mA load. Runtime ≈ 170 hours (7 days).

LED Strip

5000 mAh battery. 500 mA load. Runtime ≈ 8.5 hours.

Key Features

  • Efficiency Factor included
  • Instant Estimation
  • Hours & Minutes output

Tips & Best Practices

  • If using a Lead-Acid battery, the effective capacity drops significantly at high loads (Peukert effect).
  • For Li-Ion batteries, avoid draining to 0% to extend lifespan.
  • If your battery lists Watt-hours (Wh), calculate mAh = (Wh / Voltage) * 1000.

Glossary of Terms

mAh
Milliamp-hour. A unit of electric charge.
Derating
Reducing the rated capability of a component to account for operating conditions.
Peukert's Law
A formula that expresses how the capacity of a lead-acid battery decreases as the rate of discharge increases.

Frequently Asked Questions

Why is the result not just Capacity / Load?
Batteries lose energy as heat due to internal resistance. Also, voltage converters (DC-DC) are not 100% efficient. The 0.85 factor accounts for these real-world losses.
How do I measure consumption?
Use a multimeter in series with the battery to measure the Amps (or milliamps) flowing to the device.
Does this work for all battery types?
It is most accurate for Lithium-Ion and NiMH batteries under moderate loads. Lead-Acid batteries perform worse under heavy loads.