Battery Life Calculator – Calculate Runtime Using t = C / I with Step-by-Step Solutions
Battery life is one of the most common questions in electronics, engineering, and everyday life. How long will this battery last? Will my device run long enough? What size battery do I need?
The fundamental formula is simple: t = C / I, where t is runtime, C is battery capacity, and I is the current draw. But real-world factors like efficiency, discharge rates, and temperature can make a significant difference.
This calculator handles three different calculation modes based on what information you have available. Whether you need to find battery life from capacity and current, required capacity from desired runtime, or maximum current draw from capacity and runtime, this tool handles the math and unit conversions automatically.
Quick access: Use our free battery life calculator here
What Does This Calculator Do?
This tool calculates battery-related values using the fundamental formula: t = C / I.
Three calculation modes:
Calculate Battery Life (t = C / I) – Find runtime from capacity and current draw
Calculate Battery Capacity (C = t × I) – Find required capacity from desired runtime and current
Calculate Current Draw (I = C / t) – Find maximum current from capacity and desired runtime
Here's a quick example:
A 2.5 Ah battery powering a device drawing 0.5 A:
- Battery life: 5 hours
- Capacity: 2.5 Ah
- Current draw: 0.5 A
The calculator shows you exactly how it got the answer, including any unit conversions needed.
Understanding Battery Life Calculations
The Fundamental Formula
t = C / I
Where:
- t = Battery life / runtime (hours)
- C = Battery capacity (Ah or mAh)
- I = Current draw (A or mA)
Rearranged Formulas
- t = C / I – Find runtime from capacity and current
- C = t × I – Find required capacity from runtime and current
- I = C / t – Find maximum current from capacity and runtime
Key Concepts
- Capacity (C): Total charge a battery can store, measured in Ah (amp-hours) or mAh (milliamp-hours)
- Current (I): Rate of energy consumption, measured in A (amperes) or mA (milliamperes)
- Runtime (t): How long the battery can power the device, measured in hours, minutes, or seconds
Real-World Factors
- Peukert Effect: Higher current reduces effective capacity
- Temperature: Cold reduces capacity; heat degrades battery life
- Depth of Discharge (DoD): Deeper discharge reduces cycle life
- Efficiency: Real-world efficiency is rarely 100%
- Battery Chemistry: Different chemistries have different characteristics
Unit Support
This calculator handles all common battery units automatically:
Capacity Units
| Unit | Symbol | Conversion to Ah |
|---|---|---|
| Amp-hours | Ah | 1 |
| Milliamp-hours | mAh | 0.001 |
| Kiloamp-hours | kAh | 1000 |
| Watt-hours | Wh | 1/3.7 ≈ 0.27027 |
| Kilowatt-hours | kWh | 1000/3.7 ≈ 270.27 |
Current Units
| Unit | Symbol | Conversion to A |
|---|---|---|
| Amperes | A | 1 |
| Milliamperes | mA | 0.001 |
| Microamperes | µA | 0.000001 |
| Kiloamperes | kA | 1000 |
Time Units
| Unit | Symbol | Conversion to hours |
|---|---|---|
| Hours | hours | 1 |
| Minutes | minutes | 1/60 ≈ 0.01667 |
| Seconds | seconds | 1/3600 ≈ 0.000278 |
| Days | days | 24 |
How to Use the Calculator
Step 1: Choose Your Mode
Select one of three calculation modes:
- Battery Life – Use t = C / I
- Capacity – Use C = t × I
- Current – Use I = C / t
Step 2: Enter Your Values
Depending on the mode, enter the required values with their units:
For "Battery Life" mode:
- Battery capacity (C) with unit
- Current draw (I) with unit
For "Capacity" mode:
- Desired runtime (t) with unit
- Current draw (I) with unit
For "Current" mode:
- Battery capacity (C) with unit
- Desired runtime (t) with unit
Step 3: Optional Efficiency
Toggle the efficiency factor on and enter a percentage (e.g., 85%). This accounts for real-world losses in the battery system.
Step 4: Select Result Unit
Choose your preferred unit for the result.
Step 5: Calculate
Click the "Calculate" button. The results appear instantly.
Step 6: Review the Solution
The calculator shows detailed steps explaining how the result was derived, including all unit conversions and intermediate calculations.
Step-by-Step Examples for Each Mode
Example 1: Calculate Battery Life
Problem: A 2.5 Ah battery is powering a device that draws 0.5 A. How long will the battery last?
Step 1: Identify the given values
- C = 2.5 Ah
- I = 0.5 A
Step 2: Apply the formula
- t = C / I
- t = 2.5 / 0.5
- t = 5 hours
Result: The battery lasts 5 hours.
Example 2: Calculate Required Capacity
Problem: You need a device to run for 8 hours drawing 0.5 A. What battery capacity do you need?
Step 1: Identify the given values
- t = 8 hours
- I = 0.5 A
Step 2: Apply the formula
- C = t × I
- C = 8 × 0.5
- C = 4 Ah
Result: You need a 4 Ah battery.
Example 3: Calculate Maximum Current Draw
Problem: A 10 Ah battery needs to last 5 hours. What is the maximum current draw?
Step 1: Identify the given values
- C = 10 Ah
- t = 5 hours
Step 2: Apply the formula
- I = C / t
- I = 10 / 5
- I = 2 A
Result: The maximum current draw is 2 A.
Real-World Examples
Example 1: Smartphone Battery
| Parameter | Value |
|---|---|
| Battery Capacity | 5 Ah (5000 mAh) |
| Device Current Draw | 0.5 A (500 mA) |
| Calculated Runtime | 10 hours |
Step-by-step:
- C = 5 Ah, I = 0.5 A
- t = 5 / 0.5 = 10 hours
Example 2: LED Flashlight
| Parameter | Value |
|---|---|
| Battery Capacity | 2.5 Ah |
| LED Current Draw | 0.02 A (20 mA) |
| Calculated Runtime | 125 hours |
Step-by-step:
- C = 2.5 Ah, I = 0.02 A
- t = 2.5 / 0.02 = 125 hours
Example 3: Electric Bike
| Parameter | Value |
|---|---|
| Battery Capacity | 20 Ah |
| Motor Current Draw | 10 A |
| Calculated Runtime | 2 hours |
Step-by-step:
- C = 20 Ah, I = 10 A
- t = 20 / 10 = 2 hours
Example 4: With Efficiency Factor
| Parameter | Value |
|---|---|
| Battery Capacity | 2.5 Ah |
| Current Draw | 0.5 A |
| Efficiency | 85% |
| Theoretical Runtime | 5 hours |
| Actual Runtime | 4.25 hours |
Step-by-step:
- Theoretical: t = 2.5 / 0.5 = 5 hours
- With 85% efficiency: 5 × 0.85 = 4.25 hours
Understanding Battery Capacity
What is Ah (Amp-hour)?
An amp-hour (Ah) is a unit of electric charge. It represents the amount of charge a battery can deliver over time. A 1 Ah battery can deliver 1 A for 1 hour, or 0.5 A for 2 hours.
Common Capacity Examples
| Device | Typical Capacity | Runtime at 100mA |
|---|---|---|
| AA Battery | 2.5 Ah | 25 hours |
| Smartphone | 5 Ah | 50 hours |
| Tablet | 8 Ah | 80 hours |
| Laptop | 40-60 Wh | 5-8 hours |
| Car Battery | 50-70 Ah | 500-700 hours |
| Electric Vehicle | 60-100 kWh | 300-500 km |
Capacity vs. Runtime
- Larger capacity → Longer runtime (all else equal)
- Higher current draw → Shorter runtime (all else equal)
- Runtime = Capacity ÷ Current
When to Use Each Mode
Use "Battery Life" when you have:
- Battery capacity rating
- Current draw of device
- Want to know how long it will last
Typical scenarios:
- Choosing a battery for a project
- Estimating how long a device will run
- Comparing battery options
Use "Capacity" when you have:
- Desired runtime
- Current draw of device
- Want to know what battery size to buy
Typical scenarios:
- Designing a battery-powered device
- Selecting a replacement battery
- Upgrading battery capacity
Use "Current" when you have:
- Battery capacity
- Desired runtime
- Want to know what current is sustainable
Typical scenarios:
- Determining device power budget
- Checking if a battery can power a device
- Setting current limits for battery protection
Comparison Table
| Mode | Formula | When to Use | Example |
|---|---|---|---|
| Battery Life | t = C / I | Have capacity and current | "How long will this battery last?" |
| Capacity | C = t × I | Have runtime and current | "What battery size do I need?" |
| Current | I = C / t | Have capacity and runtime | "What current can I draw?" |
Common Questions About Battery Life
Q: What is battery life?
Battery life (or runtime) is the amount of time a battery can power a device before needing recharge. It depends on battery capacity and the device's current draw.
Q: What's the formula for battery life?
The formula is t = C / I, where t is runtime, C is capacity in Ah, and I is current in A.
Q: What is the difference between Ah and mAh?
Ah (amp-hours) and mAh (milliamp-hours) are both units of battery capacity. 1 Ah = 1000 mAh. mAh is often used for smaller batteries like in smartphones and AA batteries.
Q: What is Wh (watt-hour)?
Watt-hour (Wh) measures battery energy capacity. It's calculated as voltage (V) × Ah. A 3.7V 2.5Ah battery has 9.25Wh of energy. The calculator supports Wh and kWh conversions.
Q: What is the Peukert Effect?
The Peukert Effect describes how higher discharge rates reduce a battery's effective capacity. Drawing more current means the battery delivers less total capacity than its rating suggests.
Q: How does efficiency affect battery life?
Real-world efficiency is rarely 100%. Factors like heat, internal resistance, and conversion losses reduce the effective runtime. This calculator includes an efficiency factor to account for these losses.
Q: Why consider Depth of Discharge (DoD)?
Depth of Discharge (DoD) affects battery cycle life. For lead-acid batteries, keeping above 50% DoD significantly extends lifespan. For lithium batteries, 80% DoD is common.
Q: What current do common devices draw?
- LED: 20-50 mA
- Arduino: 50-200 mA
- Smartphone: 500-2000 mA
- Laptop: 1-4 A
- Motor (small): 1-10 A
- Motor (large): 10-100+ A
Tips for Getting the Best Results
Choose the right mode. Make sure you're calculating what you need — battery life, capacity, or current.
Check your units. The calculator handles conversions automatically, but make sure you're entering the right values with the right units.
Consider efficiency. Real-world efficiency is rarely 100%. Use the efficiency toggle for more accurate results.
Double-check your inputs. A single digit error changes everything. Take a moment to verify each number.
Review the steps. The step-by-step solution helps you understand the process and verify the calculation.
Account for Peukert Effect. For high-current applications, remember that effective capacity decreases with higher current draw.
Consider temperature. Battery performance changes with temperature — cold reduces capacity, heat degrades battery life.
How This Calculator Helps Different Users
Students
- Check homework answers
- Learn from step-by-step solutions
- Understand battery calculations
- Build problem-solving skills
Engineers
- Quick design verification
- Unit conversion automation
- Reliable calculation results
- Time savings on routine checks
Makers & Hobbyists
- Estimate battery life for projects
- Select the right battery
- Optimize power consumption
- Avoid battery over-discharge
Everyone
- No manual unit conversions
- Instant, accurate results
- Clear explanations
- Free and accessible
What Makes This Calculator Different
Three calculation modes. Covers battery life, capacity, and current — all from the same fundamental relationship.
Complete unit support. Capacity (Ah, mAh, Wh, kWh), current (A, mA, µA, kA), and time (hours, minutes, seconds, days) are all covered.
Efficiency factor. Includes a toggle for real-world efficiency to give more accurate results.
Step-by-step solutions. Shows every calculation, not just the final answer. Learn as you calculate.
Real-world notes. Includes information about Peukert Effect and Depth of Discharge.
Free and accessible. Available to anyone with an internet connection.
Final Thoughts
Understanding battery life is essential for anyone working with electronics, designing battery-powered devices, or simply choosing the right battery for a project. The formula t = C / I is simple but powerful — it connects capacity, current, and runtime in a way that applies to everything from smartphones to electric vehicles.
This calculator handles all three variants of the battery formula, making it a comprehensive tool for battery calculations. Whether you're estimating runtime, sizing a battery, or checking current draw, this tool handles the math while you focus on understanding the power system.
Calculate Battery Life Now – Free Tool
Tags: battery life calculator, battery runtime calculator, battery capacity calculator, battery current calculator, t = C / I calculator, battery life formula, battery calculator, electronics calculator, power calculator, battery Ah calculator, battery mAh calculator, runtime calculator, battery discharge calculator, power electronics calculator, step by step calculator, engineering calculator, electronics tool, battery efficiency calculator, Peukert effect calculator, how to calculate battery life, battery runtime formula, battery capacity formula, battery current formula, battery discharge rate, battery life estimation, electronics formulas, power formulas, free battery calculator, online battery life calculator









