InputTestHub

Battery & Power Bank Runtime Calculator

Converts mAh into watt-hours and works out real runtime or how many phone charges a power bank actually delivers.

Lab Nothing uploaded No sign-up Free, unlimited
Lab tool
85
Enter your figures and press Calculate runtime.
In short Milliamp-hours are not a measure of energy, which is why a 20,000 mAh power bank does not give four full charges to a 5,000 mAh phone. The missing term is voltage: watt-hours equal mAh times volts divided by 1000, and a power bank's cells run at about 3.7 V while it outputs at 5 V or higher. Converting up costs energy, and the conversion in the bank plus the conversion in the phone plus heat typically loses 30 to 40% of the nominal figure. Two and a half charges from that 20,000 mAh bank is a realistic expectation, and a bank advertising four is quoting cell capacity rather than delivered capacity. Comparing banks on watt-hours rather than mAh is the fix, and it is also the number airlines use: the common limit is 100 Wh in hand luggage without approval, which is roughly a 27,000 mAh bank at 3.7 V — larger ones need airline permission and are generally refused above 160 Wh. For runtime of a device rather than charges, divide the watt-hours by the device's average draw in watts, and remember that peak draw and average draw are very different numbers for anything with a screen.

How to use the Battery & Power Bank Runtime Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Battery & Power Bank Runtime Calculator

The Battery & Power Bank Runtime Calculator converts mAh into watt-hours and works out real runtime or how many phone charges a power bank actually delivers. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Working out how many phone charges a power bank really gives.
  • Checking a battery against the 100 Wh airline cabin limit.
  • Sizing a battery for a camping or project build.

The maths behind it

This tool uses watt-hours = mAh ÷ 1000 × cell voltage. Runtime = usable watt-hours ÷ load in watts. Every intermediate value is shown on screen, so the result can be checked by hand.

Frequently asked questions

Why does my 20,000 mAh bank not give four charges to a 5,000 mAh phone?
Because the ratings are taken at different voltages. The bank's cells sit at about 3.7 V while USB delivers 5 V, and converting between them wastes 10 to 20% as heat. Compare watt-hours, not milliamp-hours, and the numbers stop surprising you.
What can I take on a plane?
Most airlines allow up to 100 Wh in the cabin without approval, which is roughly 27,000 mAh at 3.7 V. Between 100 and 160 Wh usually needs airline permission. Check your carrier, and note that the limit is always stated in watt-hours for exactly this reason.
Is the Battery & Power Bank Runtime Calculator free?
Free, unlimited, and no email address required. You can use it a hundred times a day and nothing changes.
Is what I paste into the Battery & Power Bank Runtime Calculator stored?
No. The Battery & Power Bank Runtime Calculator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
How is the result calculated?
It uses watt-hours = mAh ÷ 1000 × cell voltage. Runtime = usable watt-hours ÷ load in watts. The full working is printed under the result, so you can follow every step rather than trusting a black box.
When would I actually need the Battery & Power Bank Runtime Calculator?
The jobs it is built for: working out how many phone charges a power bank really gives. Checking a battery against the 100 Wh airline cabin limit. Sizing a battery for a camping or project build. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Can I rely on this for exact work?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related lab tools

All 30
01

Aspect Ratio Calculator

Simplifies any dimensions to a ratio, solves for a missing side, and shows how much crop each…