Free online tools

Battery Runtime Calculator

Estimate how long a battery can power a device at a steady average load. Use the battery’s watt-hours, or enter amp-hours and its nominal voltage.

Enter your values

Used for Ah and mAh. If the label gives Wh, voltage is ignored.

Use your own usable-energy estimate or enter 100% for the full rated capacity.

For a battery-to-device energy estimate, enter the share reaching the load. Use 100% if your load measurement already includes the losses.

This tool processes your input in your browser.

Result

Convert the rating to watt-hours

Watt-hours measure energy. At nominal battery voltage, Wh is approximately Ah × V, and 1,000 mAh equals 1 Ah. A label of 20,000 mAh at 3.7 V corresponds to about 74 Wh. If the label lists watt-hours directly, use that value.

Account for usable energy and conversion losses

Multiply the rated watt-hours by both percentages as fractions. At 85% efficiency with all 74 Wh counted as usable, about 62.9 Wh reaches the device. At a steady 10 W, the estimate is 6.29 hours, or approximately 6 hours and 17 minutes.

Match the inputs to how the device operates

Use an average load measured during the kind of use you want to estimate. A brief peak and an average are different quantities. Published capacity depends on the test conditions, and real usable energy can vary with age, temperature, discharge rate and the device’s cutoff.

Frequently asked questions

Should I use the USB output voltage or the battery voltage?

Use the nominal battery voltage that goes with the capacity rating. Many power banks print a cell-voltage mAh rating even when the output port delivers a different voltage.

What do W and Wh mean?

Watts measure the rate of energy use. Watt-hours measure a quantity of energy. A constant 10 W load uses 20 Wh in two hours.

Does this calculate maximum power a battery can supply?

It estimates duration from a given device load. Check the battery and device documentation for their output and input limits.

Why did the battery run out before the estimate?

Actual use may draw more energy than the chosen average, or usable capacity and conversion efficiency may be lower than expected.