Battery Runtime Calculator

Estimate how long your battery will last under a specific load

Battery Runtime Estimator

85% usable capacity
85%
Li-ion: 80-90% | Lead-acid: 50% | Set 100% for theoretical max
Estimated Battery Runtime
--
Runtime visualization
Total Hours
--
Days
--
Usable Capacity
--
mAh
Current Draw
--
mA

Reference Tables

Common Battery Capacities

CR2032 Coin Cell220 mAh
AAA Alkaline1,000 mAh
AA Alkaline2,500 mAh
18650 Li-ion3,000 mAh
Smartphone4,000 mAh
Car Battery50 Ah

Typical Device Loads

Small LED20 mA
Arduino Uno50 mA
Raspberry Pi 4700 mA
Smartphone (active)500 mA
USB Fast Charge2.1 A
Laptop45 W

How It Works

Battery runtime is calculated by dividing the usable capacity by the current drawn by the device:

Runtime (hours) = (Capacity × Safety Factor) ÷ Load Current

  • Capacity is measured in mAh or Ah. We normalize to Ah internally.
  • Safety Factor prevents full discharge. 85% means only 85% of capacity is used.
  • Power mode converts watts to current: Current = Power / Voltage.

Why real-world runtime differs

Temperature, battery age, discharge rate (Peukert's law), and conversion losses all affect actual runtime. High current draw reduces effective capacity compared to slow discharge. These estimates assume constant load under ideal conditions.

Frequently Asked Questions

What safety factor should I use?

For Li-ion and LiFePO4 batteries, 80-90% is generally safe. For lead-acid batteries, 50% is recommended for maximum lifespan. Set 100% only for theoretical maximum runtime.

Why is my real-world runtime shorter than calculated?

Temperature, battery age, discharge rates (Peukert's law), self-discharge, and conversion losses all affect capacity. High current draw typically reduces effective capacity compared to slow discharge.

How do I find my device's current draw?

Check the device datasheet, label, or power adapter rating. For USB devices, you can use a USB power meter. For battery-powered electronics, measure with a multimeter in series.

Is this calculator accurate for lithium batteries?

This provides a good estimate for constant-load scenarios. Lithium batteries maintain relatively stable voltage throughout discharge, making the linear calculation reasonably accurate. For variable loads, actual runtime will differ.

Privacy & Limitations

  • All calculations run entirely in your browser -- nothing is sent to any server.
  • Results are computed using standard formulas and should be verified for critical applications.

Related Tools

Related Tools

View all tools

Battery Runtime Calculator FAQ

What is Battery Runtime Calculator?

Battery Runtime Calculator is a free engineering & physics tool that helps you Estimate battery life based on capacity, load, and safety factor.

How do I use Battery Runtime Calculator?

Enter your input values, review the calculated output, and adjust inputs until you reach the result you need. The result updates in your browser.

Is Battery Runtime Calculator private?

Yes. Calculations run locally in your browser. Inputs are not uploaded to a server by default, and refreshing the page clears session data.

Does Battery Runtime Calculator require an account or installation?

No. You can use this tool directly in your browser without sign-up or software installation.

How accurate are results from Battery Runtime Calculator?

This tool applies standard formulas or deterministic processing logic for estimates. For medical, legal, tax, or investment decisions, verify with a qualified professional.

Can I save or share outputs from Battery Runtime Calculator?

You can bookmark this page and copy outputs manually. Results are not persisted in your account and are typically not embedded in the URL.

Request a New Tool
Improve This Tool