Battery Life Calculator
Estimate battery life based on battery capacity and device power consumption.
This free online battery life calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Battery capacity in milliamp-hours
Average current draw of the device in milliamps
Results
Battery Life
20 hours
Battery Life
0.83 days
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Battery Life Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Battery Life Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Battery Life Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Battery Life Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
About This Calculator
The Battery Life Calculator is a free, browser-based calculation tool for engineers, students, and technical professionals. Estimate battery life based on battery capacity and device power consumption. It implements standard formulas and supports both metric (SI) and imperial unit systems with automatic unit conversion. All calculations are performed instantly in your browser with no data sent to a server. Use this calculator as a quick reference and sanity-check tool during design, analysis, and learning. Always verify results against primary engineering references and applicable standards for any safety-critical application.
About Battery Life Calculator
The Battery Life Calculator estimates how long a battery will last based on its capacity and the device's power consumption. This is useful for electronics projects, IoT devices, portable equipment, and understanding smartphone battery claims. Enter the battery capacity in milliamp-hours (mAh) and the average current draw in milliamps (mA) to calculate the expected runtime.
The Math Behind It
Formula Reference
Battery Life
Life (hours) = Capacity (mAh) / Consumption (mA)
Variables: Capacity = battery capacity in milliamp-hours, Consumption = average current draw in milliamps
Worked Examples
Example 1: IoT sensor battery life
A wireless sensor uses a 5000mAh battery and draws an average of 250mA.
The sensor will run for approximately 20 hours theoretically, or about 16 hours accounting for real-world efficiency losses.
Common Mistakes & Tips
- !Not accounting for the Peukert effect, where high discharge rates reduce effective capacity.
- !Ignoring self-discharge; batteries lose charge over time even when not in use.
- !Using peak power consumption instead of average, leading to overly pessimistic estimates.
- !Forgetting to convert between mAh and Ah (1 Ah = 1000 mAh).
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
Why does my device not last as long as calculated?
Real-world battery life is typically 70-80% of the theoretical value due to voltage sag, internal resistance, temperature effects, and the fact that devices cannot fully drain batteries without risking damage.
Does temperature affect battery life?
Yes, significantly. Cold temperatures reduce battery capacity (a lithium-ion battery may lose 20-30% capacity at freezing temperatures), while high temperatures increase self-discharge and accelerate degradation.