How long will your battery last?
Runtime from battery capacity (mAh, Ah or Wh) and load, with an allowance for losses.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
More options
Runtime
16 hours
2,000 mAh with 80% usable gives 5.92 Wh, and a load of 100 mA draws 0.37 W.
Runtime from battery capacity (mAh, Ah or Wh) and load, with an allowance for losses.
How to use
- Enter the capacity printed on the battery and choose mAh, Ah or Wh.
- Enter the average load of the device and its unit: milliamps, amps or watts.
- Under More options set the voltage if you mix charge and power units, and the usable share. Copy the link to share the result.
How it works
A battery stores a certain amount of charge or energy, and a device draws it at some rate. Divide one by the other and you get how long it lasts. Real batteries give back less than their label says, so the calculator lets you keep an allowance.
Capacity in amp-hours (Ah) is charge; multiplied by the voltage it becomes energy in watt-hours: Wh = Ah × V, so 2000 mAh at 3.7 V is 7.4 Wh. A load in amps multiplied by the voltage is power in watts: 0.1 A × 3.7 V = 0.37 W. The runtime is the usable energy divided by the power: 7.4 Wh × 80 % ÷ 0.37 W = 16 hours. When both are charge (mAh and mA) or both energy (Wh and W), the voltage cancels out.
The usable share is a planning allowance, not a physical constant: it covers conversion losses, the cut-off voltage at which a device stops and the loss of capacity with age and cold. Set it to 100 % for the ideal runtime. A real device rarely draws a steady load, so use a measured average, and expect a heavy draw to deliver less than a light one.
Worked example
How long does a 2,000 mAh battery last at a 100 mA load?
- Battery energy: 2,000 mAh × 3.7 V ÷ 1000 = 7.4 Wh; 80% of it is usable: 5.92 Wh.
- Load power: 100 mA × 3.7 V ÷ 1000 = 0.37 W.
- Runtime = 5.92 Wh ÷ 0.37 W = 16 h.
About 16 hours.
Method
No outside data is used: the result is worked out directly from the formula t = E ÷ P, explained under How it works.
Frequently asked questions
Can I compare two batteries by mAh alone?
Only if their voltages are the same. Compare watt-hours when the voltages differ, because the same charge can store different amounts of energy.
How many times can a power bank charge my phone?
Convert both batteries to watt-hours (mAh × volts ÷ 1000), divide the power bank's by the phone's and keep a margin, because the power bank loses part of its energy converting the voltage.
Should I enter the maximum current or the average current?
Use the average over the kind of use you want to estimate. A peak current describes a brief demand and will usually predict too short a runtime if treated as constant.
Can I use the output current printed on a USB charger?
That is usually the charger’s maximum output, not the device’s average draw. If the device runs at a different voltage from the battery, enter its power in watts and the battery’s own voltage.
Can this estimate how long charging takes?
No. It estimates discharge runtime; charging current often falls as a battery fills, so reversing the calculation would miss that change.
Next you might need
More in Electronics & cabling
- E-series preferred values, private, runs on your device
- LED resistor calculator, private, runs on your device
- Logic gates, private, runs on your device
- RC circuit calculator, private, runs on your device
- Resistor colour code calculator, private, runs on your device
- Series and parallel calculator, private, runs on your device





