sodcalculator

08 Everyday Math

Battery Run Time Calculator: How Long Will It Last?

Tag 08-3830 · Updated · Standard formula, shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator estimates how long a lithium-ion battery will power a device before needing a recharge. You enter the battery’s capacity in amp-hours (Ah) or milliamp-hours (mAh), the system voltage, and the average current draw in amps, and it returns the run time in hours and minutes. It works for any DC-powered device—phones, laptops, power tools, e-bikes, solar storage—as long as you know the load.

Formula

The basic equation is simple: Run Time (hours) = Battery Capacity (Ah) ÷ Current Draw (A). In the calculator above, capacity is entered in milliamp-hours, so it is divided by 1000 to convert to amp-hours first.

Symbolically: t = C ÷ I

  • t = run time in hours (h)
  • C = battery capacity in amp-hours (Ah) = mAh ÷ 1000
  • I = average current draw in amps (A)

This is the theoretical maximum. Real-world run time is always lower because of conversion losses, battery internal resistance, and the fact that most devices don’t draw a constant current.

Worked Example

Using the default values from the calculator: a 3000 mAh (3 Ah) battery at 3.7 V powering a device that draws 1 A.

  1. Convert capacity: 3000 mAh ÷ 1000 = 3 Ah
  2. Divide by load: 3 Ah ÷ 1 A = 3 hours
  3. In minutes: 3 × 60 = 180 minutes

The calculator shows 3.00 hours and 180 minutes, which matches.

What Affects Real-World Run Time

The simple formula assumes 100% efficiency and a constant load. In practice, several factors reduce the actual time:

  • Conversion losses: If your device uses a voltage regulator or inverter (e.g., 12V to 5V USB), energy is lost as heat—typically 10–20%.
  • Battery internal resistance: Higher current draw increases voltage sag, which can cause the device to shut off before the battery is truly empty.
  • Temperature: Cold batteries deliver less usable capacity. At 0°C, a lithium-ion cell may only deliver 70–80% of its rated capacity.
  • Age and cycles: Capacity fades with each charge cycle. A battery at 80% health will only give 80% of its rated run time.
  • Non-constant load: Phones, laptops, and power tools draw varying current. Use the average draw for a good estimate.

For a more accurate estimate, multiply the result by an efficiency factor (e.g., 0.85 for 85% efficiency).

How to Choose the Right Battery

If you are designing a system or replacing a battery, work backwards from your required run time.

  1. Measure the average current draw of your device with a multimeter or use the spec sheet.
  2. Decide how many hours you need.
  3. Multiply: Capacity (Ah) = Current (A) × Time (h).
  4. Add 20–30% headroom for efficiency losses and aging.

For example, a security camera drawing 0.5 A that must run for 24 hours needs 12 Ah. Add 25% headroom → 15 Ah. Choose a 16 Ah battery if available.

Common Mistakes

  • Mixing units: Using mAh with amps without converting. Always convert to the same unit.
  • Ignoring voltage: A 3000 mAh battery at 3.7V stores about 11.1 Wh, while a 3000 mAh at 7.4V stores 22.2 Wh. The run time at the same wattage load differs.
  • Using peak current instead of average: A motor may draw 10A at startup but only 2A cruising. Use the average for run time.
  • Assuming 100% discharge: Most devices shut off at 3.0–3.3V per cell, leaving 5–10% of capacity unused.

Limits of the Calculator

This calculator assumes a constant DC load and a battery that delivers its full rated capacity. It does not account for:

  • Temperature effects
  • Battery age and health
  • Voltage conversion efficiency
  • Discharge rate (a battery under heavy load delivers less than rated capacity)

For critical applications (medical devices, aviation, emergency systems), always consult the battery manufacturer’s datasheet and test the actual system.

Frequently Asked Questions

How do I measure the current draw of my device?

Use a multimeter in series with the power lead, or use a USB power meter for USB devices. For larger systems, a clamp meter on the positive wire works. Measure over a typical usage cycle and average the readings.

What is the difference between mAh and Wh?

mAh (milliamp-hours) measures charge, while Wh (watt-hours) measures energy. Wh = mAh ÷ 1000 × V. Two batteries with the same mAh but different voltages store different amounts of energy. For comparing batteries of different voltages, use Wh.

Why does my battery run out faster than the calculator says?

Most likely because the device draws more current than you estimated, or because the battery is old and has lost capacity. Also, if the device uses an inverter or regulator, conversion losses reduce run time. Try measuring the actual current draw and adding an 85% efficiency factor.

Can I use this calculator for lead-acid batteries?

Yes, the basic formula works for any battery chemistry. However, lead-acid batteries should not be discharged below 50% depth of discharge to avoid damage, so the usable capacity is half the rated. Lithium-ion can typically use 80–90% of rated capacity.

How do I calculate run time for a device that draws power in watts?

First convert watts to amps: Amps = Watts ÷ Voltage. Then use the calculator with that amp value. For example, a 10W device on a 12V battery draws 10 ÷ 12 = 0.83 A.

What is the C-rate and how does it affect run time?

C-rate is the discharge current relative to battery capacity. A 1C discharge means the current equals the capacity in Ah (e.g., 3A from a 3Ah battery). Higher C-rates reduce effective capacity due to internal resistance. Most lithium-ion cells deliver near rated capacity at 0.5C or lower, but at 2C or higher, you may get only 80–90% of rated.

Related

Formula used
in cap | Battery Capacity | mAh | 3000 | 1 | 1000000
in v | Voltage | V | 3.7 | 0.1 | 1000
in load | Current Draw | A | 1 | 0.001 | 1000
out h | Run Time | h | cap / 1000 / load | 2
out min | Run Time | min | cap / 1000 / load * 60 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More in this bed

The whole Everyday Math bed →