Battery Runtime Calculator

Runtime, capacity and backup energy from entered load, efficiency, usable share and prices.

Runtime (hours)
—
Runtime (h:m)
—
Required nominal capacity (mAh)
—
Nominal battery energy (Wh)
—
Charge capacity (Ah)
—
Energy (J)
—
Runtime without losses (h)
—
Full discharges per 24 h at this load
—
Minimum whole-mAh requirement
—
Selected capacity (mAh)
—
Load energy during backup (kWh)
—
Battery energy before usable-share allowance (kWh)
—
Required nominal energy (kWh)
—
Entered battery cost estimate
—

Enter your own efficiency, usable share and prices. The capacity list is editable; a listed capacity must cover the requirement. Runtime estimates assume constant load and nominal voltage.

Use the displayed units and your chosen coefficients. Approximate results show up to 12 significant digits. t=mAh·ηu/mA ∨ Wh·u/(W/η+W₀); mAh=mA·t/(ηu); Wh=mAh·V/1000.

How battery runtime is estimated

Runtime, capacity and backup energy from entered load, efficiency, usable share and prices.

Use the displayed units and your chosen coefficients. Approximate results show up to 12 significant digits. t=mAh·ηu/mA ∨ Wh·u/(W/η+W₀); mAh=mA·t/(ηu); Wh=mAh·V/1000.

Approximate results show up to 12 significant digits.

Enter your own efficiency, usable share and prices. The capacity list is editable; a listed capacity must cover the requirement. Runtime estimates assume constant load and nominal voltage.

Frequently asked questions

Why isn't the runtime just capacity divided by current?

That gives the theoretical maximum, but real batteries lose some capacity to internal resistance, voltage sag, and temperature — the efficiency factor adjusts for these real-world losses.

What efficiency factor should I use?

80–90% is typical for consumer batteries under moderate loads. Use a lower value for high-drain devices, cold environments, or older/degraded batteries, since those conditions reduce the usable capacity further.

Does this work for any battery chemistry?

The formula is chemistry-agnostic as long as you use the battery's rated capacity in mAh and an appropriate efficiency factor — though different chemistries (like lithium-ion vs. alkaline) typically have different realistic efficiency ranges.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mode = Required capacity
Required nominal capacity (mAh): 3529.41176471
Minimum whole-mAh requirement: 3530
Selected capacity (mAh): 4000
2
Mode = Required capacity
Load current (mA) = 800
Target runtime (h) = 5
Efficiency (%) = 100
Required nominal capacity (mAh): 4000
Minimum whole-mAh requirement: 4000
Selected capacity (mAh): 4000
3
Mode = Required capacity
Target runtime (h) = 0
Required nominal capacity (mAh): 0
Minimum whole-mAh requirement: 0
Selected capacity (mAh): 0
4
Mode = Unit conversion (mAh → Ah, Wh, J)
Charge capacity (Ah): 2
Nominal battery energy (Wh): 7.4
Energy (J): 26640
5
Mode = Unit conversion (mAh → Ah, Wh, J)
Capacity (mAh) = 100000
Voltage (V) = 12.8
Charge capacity (Ah): 100
Nominal battery energy (Wh): 1280
Energy (J): 4608000
6
Mode = Backup energy budget
Daily load energy (kWh/day) = 14.4
Target runtime (h) = 36
Efficiency (%) = 95
Usable fraction (%) = 90
Price per nominal capacity kWh (optional) = 420
Load energy during backup (kWh): 21.6
Battery energy before usable-share allowance (kWh): 22.7368421053
Required nominal energy (kWh): 25.2631578947
Entered battery cost estimate: 10610.5263158

How we test our calculators →

Also try:

Back to category →