Utility July 13, 2026 · 8 Min Read

Battery Life Calculator – Guide & Formulas

Calculate the estimated runtime of a battery based on battery capacity, discharge safety margin, and continuous load current.

Try the free calculator

Put these formulas into practice with our instant, step-by-step Battery Life Calculator.

Open Calculator ›

Estimate battery runtime for your electronics, UPS, or solar backup. Input the battery capacity (mAh or Ah), voltage, load current (mA or Amps), and battery chemistry type to compute operational hours under load.

Key Takeaway

Use the free Battery Life Calculator to calculate the estimated runtime of a battery based on battery capacity, discharge safety margin, and continuous load current. Get instant results with step-by-step explanations.

How to Use the Battery Life Calculator

  1. Select the battery capacity unit (milliamp-hours mAh or Amp-hours Ah).
  2. Enter the battery capacity value (e.g., 2000 mAh for AA rechargeable, or 100 Ah for marine deep-cycle).
  3. Input the average continuous load current drawn by the device.
  4. Select the battery chemistry (Lithium-Ion, Alkaline, Lead-Acid, etc.) which sets default safe discharge depths.
  5. Adjust the safety/derating factor (standard is 15-20% losses to account for internal resistance, heat, and aging).
  6. Instantly read the estimated run duration in hours, minutes, or days.

The Formula

Runtime (hours) = (Capacity in Ah * Depth of Discharge) / Load Current in Amps * (1 - Losses%)

Variable Definitions

  • Capacity: The total electric charge a battery can deliver, typically in milliamp-hours (mAh) or Amp-hours (Ah)
  • Depth of Discharge (DoD): The percentage of battery capacity that can be safely drained without damaging the cells (e.g., 50% for Lead-Acid, 80-90% for Lithium)
  • Safety/Loss Factor: Efficiency penalty covering self-discharge, wiring heat, and ambient temperature impacts

Estimating UPS Backup Battery Runtime

Calculate the run duration of a 12V 100 Ah AGM Lead-Acid battery powering a continuous load of 8 Amps, with a safe 50% Depth of Discharge and a 10% thermal loss factor.

  1. Step 1: Check capacity: 100 Ah.
  2. Step 2: Factor in safe Depth of Discharge: AGM Lead-Acid shouldn't exceed 50% discharge, giving 100 Ah × 0.50 = 50 Ah usable capacity.
  3. Step 3: Apply the safety/loss factor: 50 Ah × (1 - 0.10) = 45 Ah effective capacity.
  4. Step 4: Compute runtime: 45 Ah / 8 Amps = 5.625 hours (which is 5 hours and 37 minutes).

Frequently Asked Questions

Why shouldn't I discharge a battery to 0%?

Deep discharging can cause irreversible chemical changes and physical stress inside the cells, dramatically reducing the battery's overall lifecycle. This is especially critical for Lead-Acid batteries, which shouldn't go below 50% state of charge.

How do I convert Wh (Watt-hours) to Ah (Amp-hours)?

Multiply or divide by Voltage: Amp-hours (Ah) = Watt-hours (Wh) / Voltage (V). For example, a 12V 480Wh battery has a capacity of 40 Ah (480 / 12).

How does cold temperature affect battery capacity?

Cold temperatures slow down the internal chemical reactions in batteries, temporarily reducing effective capacity and voltage output. At 32°F (0°C), standard batteries can lose up to 20% of their rated runtime.

What is a battery life calculator?

A battery life calculator estimates how long a battery will last based on its capacity, voltage, and the current draw of the connected device. It helps you plan usage and avoid unexpected shutdowns.

What is battery capacity?

Battery capacity is the total electric charge a battery can deliver, measured in milliamp-hours (mAh) or amp-hours (Ah). Higher capacity means longer runtime.

What is voltage?

Voltage is the electrical potential difference of a battery, measured in volts (V). It determines the power output and compatibility with devices.

What is current draw?

Current draw is the amount of electrical current a device consumes, measured in milliamps (mA) or amps (A). Lower current draw means longer battery life.

What is watt-hour (Wh)?

Watt-hour measures total energy capacity: Wh = Voltage × Amp-hours. It combines capacity and voltage into a single energy metric.

What is power consumption?

Power consumption is the rate of energy use, measured in watts (W): Power = Voltage × Current. It determines how quickly a battery drains.

What is depth of discharge (DoD)?

DoD is the percentage of battery capacity that has been used. 80% DoD means 80% consumed. Shallower discharge extends battery life.

What is state of charge (SoC)?

SoC is the remaining capacity percentage. 50% SoC means half the capacity remains. SoC = 100% - DoD.

What is battery cycle life?

Cycle life is the number of charge-discharge cycles before capacity significantly degrades. Lithium-ion: 500-1000 cycles. Lead-acid: 200-300 cycles.

What is C-rate?

C-rate is the discharge current relative to capacity. A 1C rate discharges the full capacity in 1 hour. 0.5C = 2 hours. 2C = 30 minutes.

What is lithium-ion battery?

Li-ion is a rechargeable battery type with high energy density, used in phones, laptops, and EVs. Typical DoD: 80-90%. Cycle life: 500-1000 cycles.

What is lead-acid battery?

Lead-acid is a rechargeable battery type used in cars, UPS systems, and solar storage. Typical DoD: 50%. Cycle life: 200-300 cycles.

What is alkaline battery?

Alkaline is a primary (non-rechargeable) battery type used in remote controls, clocks, and toys. Typical capacity: 2000-3000 mAh for AA.

What is NiMH battery?

Nickel-metal hydride is a rechargeable battery type used in cameras, hybrid cars, and power tools. Typical capacity: 2000-3000 mAh for AA.

What is battery efficiency?

Battery efficiency is the ratio of energy output to energy input during charging/discharging. Li-ion: 95-99%. Lead-acid: 80-85%.

How do I calculate battery life?

Enter battery capacity (mAh) and device current draw (mA). The calculator computes hours = mAh / mA. For Wh, divide by power draw in watts.

How do I use this battery life calculator?

Input battery capacity, voltage, and device power consumption. Select chemistry for DoD. Click "Calculate" for estimated runtime in hours.

How do I calculate for mAh and mA?

Enter mAh capacity and mA current draw. Battery life = mAh / mA hours. For example, 3000 mAh / 150 mA = 20 hours.

How do I calculate for Wh and W?

Enter Wh capacity and W power draw. Battery life = Wh / W hours. For example, 50 Wh / 10 W = 5 hours.

How do I calculate for different voltages?

Enter voltage and capacity. Convert between mAh and Wh: Wh = mAh × V / 1000. The calculator handles conversions.

How do I calculate for smartphones?

Enter phone battery capacity (typically 3000-5000 mAh) and average usage current. Consider screen-on vs standby times.

How do I calculate for laptops?

Enter laptop battery Wh capacity (typically 30-100 Wh) and power adapter wattage. Consider workload intensity.

How do I calculate for tablets?

Enter tablet battery capacity (typically 5000-10000 mAh) and typical usage current.

How do I calculate for cameras?

Enter camera battery mAh and average current draw. Consider shooting mode (video uses more power).

How do I calculate for power tools?

Enter tool battery voltage and amp-hour capacity. Consider load intensity during use.

How do I calculate for electric vehicles?

Enter EV battery kWh capacity and average consumption (kWh/100mi). Consider driving conditions and speed.

How do I calculate for solar systems?

Enter battery bank capacity and daily load requirements. Consider seasonal sunlight variations.

How do I calculate for UPS systems?

Enter UPS battery capacity and connected load wattage. Consider runtime needed during outages.

How do I calculate for drones?

Enter drone battery capacity (mAh) and flight current draw. Consider flight conditions and payload.

How do I calculate for IoT devices?

Enter device sleep/wake current and duty cycle. IoT devices often run on batteries for years with efficient power management.

How do I calculate for wearables?

Enter wearable battery capacity and usage patterns. Smartwatches typically have 200-500 mAh batteries.

How do I calculate for emergency lighting?

Enter battery capacity and LED current draw. Emergency lights typically need 90 minutes of operation.

How do I calculate for medical devices?

Enter device battery capacity and operating current. Consider reliability requirements for medical applications.

How do I calculate for RC vehicles?

Enter RC battery capacity and motor current draw. Consider throttle patterns during use.

How do I calculate for remote controls?

Enter remote battery capacity and typical usage. Remotes use very low current and last months or years.

Why is battery life calculation important?

Understanding battery life helps plan usage, prevent unexpected shutdowns, and optimize performance for critical devices.

Why is battery capacity important?

Capacity determines how much energy is available, directly affecting runtime. Higher capacity = longer battery life.

Why is current draw important?

Lower current draw extends battery life. Understanding consumption helps optimize usage and extend runtime.

Why is voltage important?

Voltage affects power output and compatibility with devices. Using incorrect voltage can damage devices.

Why is depth of discharge important?

Shallow discharge extends battery life. Deep discharge can damage batteries, especially lead-acid types.

Why is battery life important for mobile devices?

Mobile devices depend on battery life for usability throughout the day. Knowing runtime helps plan charging.

Why is battery life important for electric vehicles?

EV range depends on battery capacity and efficiency. Knowing range helps plan trips and charging stops.

Why is battery life important for solar systems?

Battery storage capacity determines backup duration during outages. Proper sizing ensures reliable power.

Why is battery life important for UPS systems?

UPS runtime determines how long equipment stays powered during outages. Critical for data centers and medical equipment.

Why is battery life important for IoT devices?

IoT devices often run on batteries for years, requiring efficient power management and accurate runtime estimates.

Can I calculate battery life for any device?

Yes. Enter the device's power requirements and battery capacity for any electronic device.

Can I calculate for different battery types?

Yes. Calculate for Li-ion, lead-acid, alkaline, NiMH, and other battery chemistries.

Can I calculate for different voltages?

Yes. Enter any voltage for capacity and power calculations across different battery configurations.

Can I calculate for different capacities?

Yes. Enter any mAh, Ah, or Wh capacity for your battery.

Can I calculate for different current draws?

Yes. Enter any mA or A current consumption for your device.

Can I calculate for variable usage patterns?

Yes. Enter average current for mixed usage scenarios to estimate typical runtime.

Can I calculate for parallel batteries?

Yes. Calculate combined capacity for parallel configurations. Parallel increases capacity, not voltage.

Can I calculate for series batteries?

Yes. Calculate total voltage for series configurations. Series increases voltage, not capacity.

Can I calculate for temperature effects?

Yes. Account for capacity reduction at extreme temperatures. Cold reduces capacity; heat accelerates degradation.

Can I calculate for aging effects?

Yes. Account for capacity degradation over battery life. Batteries lose 20-30% capacity after 500+ cycles.

Can I calculate for different discharge rates?

Yes. Calculate capacity at different C-rates. Higher discharge rates reduce effective capacity.

Can I calculate for charging time?

Yes. Calculate time to charge based on charger output current and battery capacity.

Can I calculate for energy consumption?

Yes. Calculate total energy used over time in watt-hours or kilowatt-hours.

Can I calculate for cost per hour?

Yes. Calculate operating cost based on electricity rates and power consumption.

Is this battery life calculator accurate?

Yes. The calculator uses standard formulas for accurate runtime estimates based on your inputs.

Is this calculator free to use?

Yes. The battery life calculator is completely free with no registration required.

Is this calculator private?

Yes. All calculations are performed in your browser with no data transmitted.

Is this calculator reliable?

Yes. The calculator implements standard battery calculations used by engineers and technicians.

Is this calculator suitable for consumers?

Yes. The calculator helps consumers understand device battery life and plan usage accordingly.

Is this calculator maintained?

Yes. The calculator is regularly updated to ensure accuracy and current battery specifications.

Is this calculator mobile-friendly?

Yes. The calculator works on smartphones, tablets, and desktop computers.

Is this calculator better than manufacturer specs?

The calculator provides estimates. Actual battery life depends on usage conditions, temperature, and battery age.

Is this calculator suitable for engineers?

Yes. Engineers use similar calculations for battery system design and power budget planning.

Is this calculator suitable for education?

Yes. The calculator teaches battery concepts, energy calculations, and electrical fundamentals.

What is the difference between mAh and Wh?

mAh measures charge capacity. Wh measures energy capacity. Wh = mAh × V / 1000. Wh is better for comparing batteries of different voltages.

What is the difference between capacity and runtime?

Capacity is total energy stored. Runtime is how long that capacity lasts at a given current draw.

What is the difference between battery types?

Different chemistries have different energy densities, cycle lives, and characteristics. Li-ion: high density. Lead-acid: low cost. Alkaline: disposable.

What is the difference between series and parallel?

Series increases voltage (add voltages). Parallel increases capacity (add capacities). Series-parallel combines both.

What is the difference between rated and actual capacity?

Rated is manufacturer specification at standard conditions. Actual varies with temperature, age, and discharge rate.

What is the difference between C-rate and current?

C-rate is relative to capacity (e.g., 1C = capacity in 1 hour). Current is absolute measurement (e.g., 2A).

What is the difference between DoD and SoC?

DoD is percentage used. SoC is percentage remaining. DoD + SoC = 100%.

What is the difference between battery life and cycle life?

Battery life is runtime per charge. Cycle life is total charge cycles before capacity degrades.

What is the difference between battery calculator and power calculator?

Battery calculator estimates runtime. Power calculator determines consumption rate.

When should I calculate battery life?

Calculate when choosing devices, planning usage, designing battery systems, or sizing solar/UPS systems.

When is battery life important for purchases?

When comparing devices with different battery specifications to choose the best option.

When is battery life important for travel?

When planning device usage during travel without charging access.

When is battery life important for work?

When ensuring devices last through work shifts, meetings, or field operations.

When is battery life important for emergencies?

When planning backup power duration for critical equipment during outages.