Account

What new tool do you want?

Science & Engineering

Battery Life Calculator

Estimate how long a battery will run a device from its capacity (mAh or Wh), the device's current or power draw, and usable capacity.

How to use

  1. 1Enter the battery capacity and voltage.
  2. 2Enter the device's average current (mA) or power (W).

How it's calculated

Runtime (h) = capacity (mAh) × usable fraction ÷ load (mA). With watts: runtime = Wh × usable fraction ÷ W, where Wh = mAh × V ÷ 1000.

Frequently asked questions

Why doesn't my battery last as long as calculated?

Real capacity drops with high current, cold temperatures and age, and converters waste some energy. The 'usable' setting accounts for this.

How do I convert mAh to Wh?

Wh = mAh × voltage ÷ 1,000. A 10,000 mAh power bank at 3.7 V holds 37 Wh.

How do I find a device's current draw?

Check its specs, or measure it with a USB power meter or multimeter; use the average for devices that sleep and wake.

Worked example: Battery Life Calculator

A 3,000 mAh, 3.7 V battery holds 3,000 × 3.7 ÷ 1,000 = 11.1 Wh of energy — the tool's own example. Drawing 150 mA continuously, and assuming 100% of the rated capacity is usable, gives a runtime of 3,000 ÷ 150 = 20 hours. Drop the usable-capacity slider to a more realistic 85% (accounting for the fact that real cells rarely deliver their full nameplate rating before their voltage sags below what the device needs) and that falls to 3,000 × 0.85 ÷ 150 = 17 hours — a 3-hour difference from one assumption alone.

Why mAh alone can't be compared across batteries

Milliamp-hours measure charge, not energy — a 3,000 mAh cell at 3.7 V and a 3,000 mAh cell at 1.5 V don't store the same amount of usable energy, because energy is charge times voltage. Converting to watt-hours (Wh = mAh × V ÷ 1,000) is what makes comparisons fair across different battery chemistries and voltages, which is why this tool reports both the runtime and the Wh figure rather than just the mAh-based hours.

Why real runtime usually falls short of the number here

This calculator assumes a constant current draw for the whole runtime, but most real devices don't behave that way — a phone alternates between a sleeping radio and a screen at full brightness, and that average is hard to pin down precisely. There's also a real nonlinear effect called the Peukert effect, where pulling more current from a battery than it's rated for reduces its *effective* capacity, not just its runtime proportionally — a battery discharged quickly can deliver meaningfully less total energy than the same battery discharged slowly. The usable-capacity field is a deliberately simple way to build in a safety margin for both effects, rather than modeling either one directly.

Watts use the stored energy, milliamps ignore voltage

Capacity starts at 3,000 milliamp-hours, 3.7 volts, a 150 milliamp load, and 85 percent usable. In milliamp mode the runtime is capacity times the usable fraction divided by the load, and the voltage is not part of that division. It still shows the stored energy, 11.1 watt-hours, from capacity times volts divided by 1,000. Switch the load to watts and the runtime uses that watt-hour figure times the usable fraction, divided by the watt load, so voltage suddenly matters. The load has to be greater than zero. Beside the decimal hours I also get a hours-and-minutes line, with the minutes rounded from the fraction of an hour.

Related tools

More: Science & Engineering