TTKTheTextKit

Battery Life Calculator

Type the capacity of one cell in mAh, Ah or Wh and the load in mA, A or W. The calculator gives the runtime in days, hours and minutes. Set the cells in series and in parallel for a pack, the share of the capacity you can use, and the voltage of a cell when you mix charge units with power units. Tick the sleep box for a load that is active only part of the time, or the Peukert box for a lead-acid battery. Everything runs in your browser.

Parallel cells add their capacity.

Series cells add their voltage.

Needed only to mix mAh or Ah with a load in watts, or Wh with a load in amps.

Runtime
20 h
20 hours
Whole pack
2 Ah at 3.7 V, 7.4 Wh
1 in parallel, 1 in series

The runtime is the usable capacity divided by the load. A capacity in mAh or Ah is a charge, so it is divided by a current: 2,000 mAh at 100 mA lasts 20 hours. A capacity in Wh is an energy, so it is divided by a power. To mix the two, the voltage turns a charge into an energy, since watt-hours are amp-hours times volts. Cells in parallel add their capacity and cells in series add their voltage, and the tool uses the voltage of one cell times the number in series. If the load sleeps part of the time, the average load is the active load times its share of the time plus the sleep load times the rest. The usable share is yours to choose, because a battery should not always be drained fully and its real capacity changes with age, temperature and how fast it is drawn. At high currents a battery gives less than its rating, and the optional Peukert exponent models that with the formula t = H x (C / (I x H)) ^ k, where H is the rated discharge time. Treat the result as an estimate. Everything runs in your browser.

Related Tools

[5 suggestions]

About the Battery Life Calculator

The runtime is the usable capacity divided by the load. A capacity in mAh or Ah is a charge, and a load in mA or A is a current, so a 2,000 mAh battery with a 100 mA load lasts 20 hours, and 80 percent usable makes it 16 hours. A capacity in Wh is an energy and a load in W is a power. To mix the two you need the voltage, because watt-hours are amp-hours times volts: 3,000 mAh at 3.7 V is 11.1 Wh, and a 2 W load drains it in 5.55 hours, which is 5 hours and 33 minutes. Cells in parallel add their capacity and cells in series add their voltage, so two cells of 2,500 mAh and 3.7 V in series and two such strings in parallel make 5 Ah at 7.4 V, which is 37 Wh. A load that sleeps most of the time has an average load: 100 mA for 10 percent of the time and 1 mA the rest is 10.9 mA, and 2,000 mAh then lasts about 7 days 15 hours. Wikipedia explains that the capacity of a battery falls as the discharge current rises, following Peukert's law, with an exponent that is typically between 1.1 and 1.3 for lead-acid batteries. Its example of a 100 Ah battery rated over 20 hours, with an exponent of 1.2 and a 10 A load, lasts about 8.7 hours and not 10. The usable share and the exponent are yours to choose, and real batteries age and lose capacity in the cold, so treat the result as an estimate.

How do you calculate battery life?▾

Divide the capacity by the load. A 2,000 mAh battery with a 100 mA load lasts 2,000 divided by 100, which is 20 hours. Multiply the capacity by the share you can use if you do not want to drain the battery fully.

How do I convert mAh to watt-hours?▾

Multiply the capacity in amp-hours by the voltage. 3,000 mAh is 3 Ah, and at 3.7 V that is 11.1 Wh. Enter the cell voltage in the calculator and it does this when the capacity and the load are in different kinds of unit.

What is the Peukert effect?▾

It is the drop in the capacity you get when you draw a larger current. Wikipedia gives the discharge time as H times (C divided by (I times H)) to the power k, with k typically 1.1 to 1.3 for lead-acid. A 100 Ah battery at 10 A and k of 1.2 lasts about 8.7 hours.

How do cells in series and parallel change the result?▾

Parallel cells add capacity, so the runtime for a current load grows. Series cells add voltage and not capacity, so they do not change the runtime for a current load, but they raise the energy in watt-hours and the voltage of the pack.

Is my data uploaded?▾

No. The calculation runs in your browser and nothing you enter is sent anywhere.