b2KIT

Battery Life Calculator

Estimate battery runtime from capacity (mAh), load current, and efficiency factor.

Tested tool guide Tested browser tools Checked August 15, 2026

What Battery Life Calculator does, with a checked example

Enter a battery's rated capacity in mAh, the current your device draws under load in mA, and an efficiency factor between 0 and 1, and the tool divides capacity by current and multiplies by efficiency to return an estimated runtime in hours and minutes. The efficiency factor is what people skip or misunderstand: it's meant to absorb real-world losses like voltage sag and higher-than-rated discharge current, not the battery's own capacity rating. The formula assumes capacity and current are both referenced to the same voltage; if the load current was measured on the output side of a voltage-changing converter, this calculation doesn't apply and you need a watt-hour based comparison instead. Leaving efficiency at 1.0 gives a best-case number that real devices rarely hit.

Worked example

A concrete input and expected output from the current implementation.

Input

Capacity: 3000 mAh, Load current: 500 mA, Efficiency: 0.85

Expected output

5.1 hours (5 hours 6 minutes)

3000 mAh x 0.85 = 2550 usable mAh, and 2550 mAh / 500 mA = 5.1 hours.

How the result is produced

1

Runtime formula

The tool computes runtime (hours) = capacity (mAh) x efficiency / load current (mA), then converts the decimal result into hours and minutes for display. Capacity and load current must be in the same current unit (mAh and mA) for the division to be meaningful; the tool does not convert between Ah and mAh for you.

2

Efficiency factor as a fudge term

Efficiency is a single 0-1 multiplier you set to represent everything the raw formula ignores: internal resistance, regulator conversion loss, and capacity drop-off at higher discharge rates. It is a manual estimate, not a measured value, so the output is only as good as the number you enter - the calculator has no way to derive it from the battery chemistry or datasheet.

Good uses

  • Checking how long a 12V battery will run a directly wired accessory, such as a dash cam or CB radio, at its rated current draw
  • Checking whether a set of AA or 18650 cells will last through an LED flashlight or headlamp session
  • Estimating how many hours a battery-powered sensor or IoT device will run between charges at a known duty-cycle current

Limits and checks

  • The formula assumes a constant, steady load current; for bursty or pulsed draw (radios, motors, camera flashes), the direction of error depends on how the current figure was obtained - using peak current will underestimate runtime, while a correctly time-weighted average current gives a more realistic estimate
  • It does not model temperature effects or battery aging, both of which reduce usable capacity below the nameplate mAh figure
  • Because efficiency is a single manually-entered multiplier, it can't distinguish between different sources of shortfall - downstream conversion loss, a higher-than-assumed discharge rate, or an inflated mAh rating on the battery itself all show up the same way, so a low measured runtime doesn't tell you which one is the culprit

Common questions

What efficiency value should I actually type in?

There is no single correct value - it depends on your regulator, wiring, and discharge rate. A DC-DC converter might run 0.80-0.90; a direct connection with minimal loss could be closer to 0.95. If you know an actual measured runtime for one scenario, back-solve for efficiency and reuse that number rather than guessing.

Why did my device die sooner than the calculator predicted?

Likely causes are a higher effective discharge rate than assumed (capacity drops faster at high current, known as the Peukert effect), a cold environment, or an aged battery with reduced real capacity. Try lowering the efficiency factor to match observed behavior rather than treating the first estimate as fixed.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools