Calculate battery runtime from mAh capacity and current draw, the mAh capacity you need, or convert mAh to Wh and Ah at a nominal voltage.
- All Unit Converters
- mA to Voltage Calculator
- kWh to Amps Calculator
- LED Inrush Current Calculator
- Watts To Amps Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Battery runtime | Finds how many hours a battery lasts at a steady current draw | Requires the rated charge capacity in mAh or Ah and the average current in mA or A |
| Required rated capacity | Finds the mAh rating needed to supply a current for a set time | Requires the average current and the duration in hours, minutes or days |
| Average current draw | Finds the current that drains a battery in a set time | Requires the rated charge capacity and the duration |
| Watt-hours from mAh | Converts a mAh rating to energy in watt-hours | Requires the rated charge capacity and the nominal battery voltage, which starts at 3.7 V |
| Milliamp-hours from Wh | Converts an energy rating in Wh or mWh to mAh | Requires the energy and the nominal battery voltage |
The first three functions have an optional Usable rated capacity (%), for a battery that delivers only part of its rating. Left blank it is 100%. Their results also give the charge in Ah and the duration in minutes and days.
Milliamp-Hour Formulas
| C | Charge capacity (mAh) |
| I | Average current (mA) |
| t | Time (hours) |
A milliamp-hour is a milliamp multiplied by an hour, not milliamps per hour. It is a unit of electric charge: one amp-hour is 3,600 coulombs [1], and 1 Ah = 1,000 mAh.
Battery runtime
u is the usable fraction of the rated capacity, which is 1 unless a percentage is entered. A 3,000 mAh battery feeding a 150 mA load runs for 3,000 ÷ 150 = 20 hours. With 80% usable, the same battery runs for 3,000 × 0.8 ÷ 150 = 16 hours.
Milliamp hours to hours
A mAh rating does not convert to hours by itself, because the hours depend on the current being drawn. Hours are the mAh rating divided by the current in mA: 300 mAh lasts 3 hours at 100 mA and 30 hours at 10 mA. The table gives the hours for common ratings with the full rating usable, and multiplying by 60 gives minutes.
| Capacity | At 10 mA | At 100 mA | At 500 mA | At 1 A |
|---|---|---|---|---|
| 300 mAh | 30 h | 3 h | 0.6 h | 0.3 h |
| 450 mAh | 45 h | 4.5 h | 0.9 h | 0.45 h |
| 1,000 mAh | 100 h | 10 h | 2 h | 1 h |
| 3,500 mAh | 350 h | 35 h | 7 h | 3.5 h |
| 5,000 mAh | 500 h | 50 h | 10 h | 5 h |
| 10,000 mAh | 1,000 h | 100 h | 20 h | 10 h |
| 20,000 mAh | 2,000 h | 200 h | 40 h | 20 h |
Required rated capacity
A device drawing 74 mA for 20 hours needs 74 × 20 = 1,480 mAh. If only 80% of a battery’s rating is usable, the rating has to be 1,480 ÷ 0.8 = 1,850 mAh.
Average current draw
A 5,000 mAh battery that lasts 10 hours has supplied an average of 5,000 ÷ 10 = 500 mA.
Watt-hours from mAh
The mAh rating is divided by 1,000 to get amp-hours and multiplied by the battery voltage [2]. A 10,000 mAh power bank at a nominal 3.7 V holds 10 × 3.7 = 37 Wh. The usable capacity percentage is not applied to this conversion.
Milliamp-hours from Wh
A 96 Wh battery at 12 V holds 96 ÷ 12 × 1,000 = 8,000 mAh, or 8 Ah.
Limits of This Estimate
- Runtime is an ideal figure for a steady current. Real capacity and runtime change with discharge current, temperature, battery age, cutoff voltage and the device’s circuitry.
- The current is the current drawn from the battery itself. Where a converter changes the voltage, such as a 3.7 V power bank with a 5 V output, the output current is not the battery current.
- Watt-hours use one nominal voltage, while a battery’s voltage falls as it discharges. The marked Wh rating on a battery takes priority over a calculated one.
Sources
- NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: the ampere hour as 3,600 coulombs of charge
- Federal Aviation Administration, Airline Passengers and Batteries: watt-hours from volts and amp-hours, and from milliamp-hours
