Battery runtime calculator

Estimate how long a battery will power a device, from the battery's capacity and the device's power draw.

Result

Estimated runtime

How to use this calculator

  1. Find the battery's capacity in watt-hours (Wh) — if it's given in mAh, multiply by the voltage and divide by 1000 to get Wh.
  2. Find the device's power draw in watts, from its label or spec sheet.
  3. Read the estimated runtime.

Assumptions

Technical details: what the fields mean
Battery capacity batteryCapacityWh
Battery capacity in watt-hours. If your battery is rated in mAh (common for phone/tool batteries), Wh = mAh × voltage ÷ 1000.
Device power draw devicePowerWatts
The device's power draw in watts while running — check its label or spec sheet.
Methodology

Runtime (hours) = battery capacity (Wh) ÷ device power draw (W) — a direct division.

Worked example

100Wh battery, 20W device

Inputs: batteryCapacityWh=100, devicePowerWatts=20

Result: 5.00 hours

Practical guidance
Common mistakes

FAQs

How do I convert mAh to Wh?

Multiply the mAh rating by the battery's voltage, then divide by 1000 — e.g. a 3000mAh, 3.7V battery is about 11.1Wh.

How long will my battery last?

Divide its capacity in Wh by the device's power draw in watts — this calculator does that directly.