Battery runtime • backup time • mAh to hours

Battery Life Calculator with Formula, Examples and Full Guide

Estimate battery backup time from battery capacity and device load. Enter mAh, Ah, or Wh, add current or watt use, and see runtime, usable energy, practical reserve, and the working formula in one place.

Phone, router and UPS checks Use one page for everyday battery questions, from power banks and sensors to routers and backup packs.
mAh, Ah, Wh and watts Match battery units with device draw and avoid the common mistakes that cause wrong answers.
Formulas, tables and examples Read a full battery life guide with practical examples for routers, CCTV, power banks, sensors, and LED loads.

Battery Runtime Calculator

Enter battery capacity, add the device load, and the calculator will estimate battery backup time. You can calculate from current draw or from watts, and you can also use a battery type option for a practical starting point.

Use the number printed on the battery or pack.
Wh is useful for laptops, power stations, and larger packs.
Enter the current draw of the device.
Choose mA or A for current-based calculation.
Needed for Wh inputs and for watt-based runtime.
Leave some reserve if you do not want to drain the battery fully.
This covers energy lost as heat and conversion loss.
Lower this value if the battery is older or no longer holds a full charge.
Use less than 100% if the device is active only part of the time.
Leave 0 if the device has no separate standby draw.
Useful when you want to see how many days the battery may last in daily use.
Enter battery and load details to see runtime, usable energy, and the formula used.
Ideal runtime 12.50 hours Full battery and no extra reductions.
Practical runtime 11.25 hours Main estimate after usable share, efficiency, and battery health.
Conservative runtime 9.80 hours Safer lower estimate with a little more reserve.
Days + hours 0d 11h 15m Easy to read when the answer is long.
Time before last 20% 9.00 hours Helpful when you do not want the battery to get too low.
Days at daily use 1.41 days Based on the daily-use hours entered above.
Usable battery energy 54.00 Wh Energy available after reserve, efficiency, and battery health are applied.
Average current 0.40 A Average current after active time and standby are included.
Average power 4.80 W Useful when you compare battery size with device load.
Usable capacity 4.50 Ah Battery capacity actually counted in the estimate.
Working formula Ah × share ÷ A The full formula appears below the bars.
Battery health effect 100% Shows how much of the original battery size is still counted.
Ideal vs practical -10% Gap caused by reserve, efficiency, and battery health.
Standby share 0% How much of the average load comes from standby time.
Battery energy 60.00 Wh Full battery energy before any reductions.
Reserve left 10% Part of the battery left untouched by your chosen settings.
Usable share90%
Efficiency96%
Duty cycle100%

What a Battery Life Calculator Really Tells You

A battery life calculator answers one very practical question: how long will a battery keep my device running? That question sounds simple, but the answer depends on more than one number. Battery capacity matters, of course, yet the load also matters, the voltage matters, the safe reserve matters, and the way the device is used matters too. A phone that streams video continuously will not last as long as the same phone sitting mostly idle. A router running around the clock behaves differently from a small sensor that wakes up for a few seconds and then sleeps. A 12 V backup battery running a steady light is very different from a pack feeding a high starting load.

This is why a useful battery life calculator should do more than show one ideal answer. It should help you move between mAh, Ah, Wh, watts, amps, and volts without guessing. It should let you keep some capacity in reserve instead of pretending every battery should be drained to zero. It should let you add efficiency so the estimate feels closer to daily use. And it should explain the math in a way that makes sense even if you are not reading electrical numbers every day.

On this page, the calculator and the article work together. The calculator gives the answer quickly. The guide article tells you why the answer looks the way it does. That makes the result easier to trust, easier to explain to someone else, and easier to adjust when your battery or load changes.

Simple idea: battery life goes up when capacity goes up, and battery life goes down when load goes up. Everything else on this page helps you turn that simple idea into a result that feels more realistic.

Battery Life Formula, Written the Easy Way

The simplest battery life formula is:

Battery life (hours) = Battery capacity ÷ Current draw

This version works well when both values use matching units. For example, if your battery is 5000 mAh and your device draws 500 mA, the ideal estimate is:

5000 mAh ÷ 500 mA = 10 hours

That is the clean starting point, but not always the number you will actually experience. Many batteries should not be taken all the way down in normal use. Some energy is lost as heat. Some power is lost in conversion. A load can rise and fall. For those reasons, a more practical version is:

Battery life (hours) = (Battery capacity × usable capacity × efficiency) ÷ average load

Here is what each part means:

  • Battery capacity is the amount of stored charge or energy available before any adjustments.
  • Usable capacity is the share of the battery you plan to use. A reserve margin keeps some capacity untouched.
  • Efficiency is the share that remains after practical losses.
  • Average load is the current or power your device uses over time, not just the highest short burst.

If a battery pack is listed in watt-hours instead of amp-hours, you can still use the same idea. First convert the value into a matching unit:

Amp-hours (Ah) = Watt-hours (Wh) ÷ Voltage (V)

If your load is listed in watts, convert watts to amps:

Current (A) = Power (W) ÷ Voltage (V)

Once the units match, the estimate becomes much clearer.

mAh, Ah, Wh, Watts and Volts: The Unit Guide That Saves Time

Many battery questions become confusing because the battery and the device are not described in the same unit. A phone power bank may say mAh. A deep-cycle battery may say Ah. A portable power pack may say Wh. A light or router may show W instead of A. When you know how these numbers connect, the calculation becomes much easier.

Unit What it tells you Common place you see it Quick conversion
mAh Milliamp-hours. Useful for smaller batteries and electronics. Phones, earbuds, sensors, small battery packs. 1000 mAh = 1 Ah
Ah Amp-hours. A larger capacity unit for batteries and backup packs. Lead-acid batteries, AGM batteries, LiFePO4 packs. Ah = mAh ÷ 1000
Wh Watt-hours. Energy stored in the battery. Laptops, portable stations, larger packs. Wh = Ah × V
W Watts. Power used by the device. Routers, lights, televisions, cameras, fans. A = W ÷ V
V Volts. Electrical pressure level of the battery or device. 12 V, 24 V, 48 V packs, USB devices, laptops. Needed to move between Wh, Ah, and W

Suppose you have a 12 V battery rated at 10 Ah. Its ideal energy is:

Wh = 10 Ah × 12 V = 120 Wh

Now imagine your device uses 24 W. The ideal runtime would be:

120 Wh ÷ 24 W = 5 hours

If you want a safer estimate and only use 80% of the battery with 90% efficiency, then:

Runtime = (120 Wh × 0.80 × 0.90) ÷ 24 W = 3.6 hours

That is a good example of why the practical result can look very different from the ideal one.

How to Use the Battery Life Calculator Step by Step

A lot of people search for a battery life calculator because they want a fast answer and do not want to waste time correcting the units. The steps below keep the estimate clear and consistent.

  1. Read the battery label first. Check whether the battery is marked in mAh, Ah, or Wh. Enter that same unit in the capacity section.
  2. Pick current mode or power mode. Use current mode when the load is listed in mA or A. Use power mode when the load is shown in watts.
  3. Enter battery voltage. Voltage is essential when your battery uses Wh or when your load uses watts. Without voltage, watts cannot be turned into current and Wh cannot be turned into Ah.
  4. Set the usable capacity percentage. This keeps part of the battery in reserve. It is especially helpful when you want a safer estimate rather than the absolute maximum possible drain.
  5. Set efficiency. This accounts for loss that happens in daily use.
  6. Add duty cycle if the device is not active all the time. If it runs only part of the time, enter the active share.
  7. Calculate and compare. Try a second value or a second preset to see how much runtime changes when the load rises or the reserve grows.

This method works for many common situations: a phone power bank, a small LED setup, a battery-backed router, a CCTV camera, a Wi-Fi sensor, a portable fan, a camping setup, or a home backup check for a low-power device. You do not need a complicated sheet. You only need the right unit, the correct voltage, and a sensible reserve.

Best when you know current draw

Use current mode for electronics listed in mA or A. This is common for smaller devices and data sheets.

Best when you know power draw

Use power mode for routers, lights, fans, screens, and other devices that are usually described in watts.

Worked Battery Life Examples You Can Reuse

Examples are often the fastest way to understand a battery life calculator. The cases below show how the same method works across different battery sizes and device loads.

Example Battery details Load details Runtime idea
Phone power bank 5000 mAh battery, 90% usable, 96% efficiency 400 mA average draw (5000 × 0.90 × 0.96) ÷ 400 = 10.8 hours
12 V router backup 12 Ah at 12 V, 85% usable, 92% efficiency 10 W router load Energy = 144 Wh → usable = 112.6 Wh → runtime ≈ 11.3 hours
CCTV camera battery 9 Ah at 12 V, 80% usable, 90% efficiency 0.7 A load (9 × 0.80 × 0.90) ÷ 0.7 ≈ 9.26 hours
Sleep mode sensor 2400 mAh, 85% usable, 95% efficiency 60 mA active draw at 25% duty cycle Effective load = 15 mA → runtime ≈ 129.2 hours
LED strip from 12 V pack 10 Ah at 12 V, 80% usable, 90% efficiency 24 W strip Usable energy = 86.4 Wh → runtime = 3.6 hours

Notice how the numbers change when the load is written as watts instead of current. In watt-based examples, voltage becomes the bridge that lets you compare battery energy with device power. This is also why 12 V, 24 V, and 48 V battery questions usually need one extra step before the runtime becomes obvious.

Battery Type Guide: Why Chemistry Changes the Estimate

Not every battery behaves the same way. Two batteries may have a similar label and still deliver different practical runtime because the safe reserve and everyday efficiency are not identical. A battery life calculator becomes much more useful when it lets you start with a battery type preset.

Battery type Usable share people often start with Why it matters Common use
Lithium-ion About 85% to 95% Good energy density and strong portable use, but practical runtime still depends on the load and protection reserve. Phones, laptops, power banks, portable devices
LiFePO4 About 90% to 100% Often chosen for strong usable capacity and backup use. Solar backup, RV packs, portable power packs
Lead-acid / AGM About 50% to 60% Many users keep a larger reserve for better battery health and more dependable long-term use. UPS backup, emergency lighting, larger 12 V setups
NiMH About 70% to 85% A practical middle-ground starting point when you need a conservative estimate. AA packs, rechargeable household cells

These are not hard rules for every situation, but they are useful starting points. The more valuable idea is this: a battery label does not automatically equal fully usable daily energy. A smart estimate should reflect how carefully you want to use the battery.

12 V, 24 V and 48 V Battery Runtime Calculations

Searches for a battery life calculator often come from people using common voltages such as 12 V, 24 V, or 48 V. The good news is that the logic stays the same. The only thing that changes is how easily watts turn into current and how much energy is stored at a given amp-hour rating.

Imagine three batteries, all rated at 10 Ah:

  • 10 Ah at 12 V = 120 Wh
  • 10 Ah at 24 V = 240 Wh
  • 10 Ah at 48 V = 480 Wh

The amp-hour number stays the same, but the stored energy increases with voltage. That is why amp-hours alone are not enough when you compare battery packs at different voltages. A 10 Ah battery is not always equal to another 10 Ah battery if the voltage is different.

Example: a 48 W load on a 12 V battery means:

A = 48 W ÷ 12 V = 4 A

If the battery is 12 Ah, the ideal runtime is:

12 Ah ÷ 4 A = 3 hours

The same 48 W load on a 24 V battery only draws:

A = 48 W ÷ 24 V = 2 A

If that battery is also 12 Ah, the ideal runtime becomes:

12 Ah ÷ 2 A = 6 hours

This is one of the clearest examples of why voltage matters so much in battery runtime questions.

Average Current, Duty Cycle and Sleep Mode

Some devices do not use the same amount of power every second. A sensor may wake briefly, send data, and go back to sleep. A camera may switch modes. A wireless device may have a low standby draw but a much higher active draw. In those cases, the battery life calculator should focus on average load, not only peak load.

Duty cycle is a simple way to handle this. If a device draws 80 mA when active but is active only 25% of the time, the effective average draw is:

Average current = 80 mA × 0.25 = 20 mA

Now a 2400 mAh battery with 85% usable capacity and 95% efficiency has:

Usable capacity = 2400 × 0.85 × 0.95 = 1938 mAh

The runtime estimate becomes:

1938 mAh ÷ 20 mA = 96.9 hours

That one adjustment can completely change the estimate. It is especially helpful for small electronics, Wi-Fi devices, IoT equipment, data loggers, alarms, and other devices that spend most of their time idle.

Why Real Battery Runtime Is Usually Lower Than the Ideal Result

Many people calculate battery life once, then wonder why the real result is shorter. That happens because the ideal formula does not automatically include daily-use conditions. Below are the most common reasons for the gap.

  • Reserve margin: you may decide not to use the whole battery, especially if you want a safer lower limit.
  • Efficiency loss: some energy disappears as heat or conversion loss.
  • Changing load: a device does not always draw the same current every second.
  • Temperature: cold or very hot conditions can reduce practical performance.
  • Battery age: older batteries often deliver less useful runtime than new ones.
  • Voltage cutoff: the device may stop working before every remaining bit of battery energy can be used.

This is exactly why the calculator on this page gives you usable capacity, efficiency, battery health, standby load, and active time inputs. They help close the gap between the perfect answer and the answer that feels believable in real use.

Practical rule: if your first number feels too high, do not throw the formula away. Add a safer reserve, lower the efficiency, and check whether your average load is larger than you first assumed.

How to Estimate Backup Time from Watts

A large share of battery backup questions start with the load written in watts, not amps. A router might list 10 W. A screen might list 36 W. A light bar might list 24 W. A battery life calculator should make this easy rather than forcing you to work backward on paper.

The method is simple:

  1. Convert battery capacity into energy if needed: Wh = Ah × V.
  2. Apply the usable capacity percentage and efficiency.
  3. Divide the usable watt-hours by the load in watts.

Example:

Battery = 20 Ah at 12 V → 240 Wh Usable energy = 240 × 0.80 × 0.90 = 172.8 Wh Load = 36 W → Runtime = 172.8 ÷ 36 = 4.8 hours

This approach is especially helpful for UPS-style questions, home router backup, camping lights, CCTV battery checks, portable fans, and small DC appliances.

How Big a Battery Do You Need for a Target Runtime?

Sometimes the question is not “how long will this battery last?” but “how large should the battery be?” You can turn the formula around to answer that too. If you know the runtime you want, the load you expect, and the reserve you want to keep, the required capacity becomes much easier to estimate.

Required usable capacity = Average load × Target runtime

Then account for reserve and efficiency:

Required total capacity = Required usable capacity ÷ (usable × efficiency)

Example: you want a 10 W router to run for 8 hours from a 12 V battery, with 85% usable capacity and 92% efficiency.

Required usable energy = 10 W × 8 h = 80 Wh Required total energy = 80 ÷ (0.85 × 0.92) ≈ 102.3 Wh Required Ah = 102.3 Wh ÷ 12 V ≈ 8.53 Ah

Since battery sizes come in standard values, you would usually choose the next size above that number for a more comfortable result.

Common Battery Life Mistakes and How to Avoid Them

Small unit mistakes can create a very wrong result. These are the errors people run into most often when using a battery life calculator.

Mixing mAh and Ah

Always convert before dividing. A battery listed as 5000 mAh is 5 Ah, not 5000 Ah.

Ignoring voltage

Voltage matters whenever you move between Ah and Wh or between watts and amps.

Using peak load as if it were average load

If the device sleeps or cycles, use the average draw instead of the short burst value.

Assuming 100% of the battery is usable

A reserve margin can make the estimate more believable and more useful.

Skipping efficiency

Real power delivery is rarely perfect, especially when conversion is involved.

Forgetting battery age or temperature

An older battery or harsh conditions can shorten practical runtime.

The easiest way to avoid these mistakes is to slow down for one minute and match every unit before you calculate. That one habit prevents most battery runtime confusion.

Tips to Make a Battery Last Longer

A battery life calculator helps you predict runtime, but many people also want to improve runtime. The ideas below do not change the formula, yet they often change the result in daily life.

  • Reduce the load whenever possible. Lower brightness, lower wireless activity, or shorter active time can make a clear difference.
  • Use a sensible reserve instead of taking the battery too low every time.
  • Choose a battery type that suits the job instead of relying only on the largest number printed on the label.
  • Keep connections clean and stable so avoidable power loss stays low.
  • Estimate with average load, not only best-case standby numbers.
  • Recheck older batteries. Their useful runtime may be lower than when they were new.

Even small changes can stretch runtime noticeably. When a setup misses the target by only a small amount, a lighter load or a better reserve choice may solve the problem without changing the battery.

Battery Health, Age and Temperature

Battery life is not only about the number printed on the label. A new battery and an older battery can show the same original rating but still give very different daily runtime. That is why this page now includes a battery health field. If a battery has aged, has been stored poorly, or no longer reaches a full charge, the health percentage gives you a faster way to bring the estimate closer to real life.

Example: a battery that originally stored 100 Wh but now holds only about 85 Wh should not be calculated as if it were still new. In that case, entering 85% battery health helps keep the result more honest. This is especially useful for laptops, older power banks, CCTV backup packs, reused UPS batteries, and any battery that has seen heavy use over time.

Battery condition Health value people often try first What the result usually means
New or nearly new 95% to 100% Best when the battery is still close to its original size.
Regularly used 85% to 94% A practical range for batteries that still work well but no longer feel brand new.
Noticeably aged 70% to 84% Useful when runtime has clearly dropped compared with earlier months or years.
Poor condition Below 70% Helpful when the battery empties much faster than expected and may need replacement soon.

Temperature also matters. Very hot or very cold conditions can reduce useful runtime, sometimes by a noticeable amount. If you already know that your battery struggles in cold weather or after many charge cycles, lower the health or efficiency value a little and compare the result again.

Common Device Power Draw and Battery Size Tables

A lot of people know the battery size but are unsure about the device load. Others know the device watt draw but are not sure what battery size makes sense. These two quick tables solve both problems and make the calculator easier to use.

Device type Typical load range Notes
Phone during active use 3 W to 8 W Brightness, network activity, and apps can change the real draw a lot.
Wi-Fi router 6 W to 15 W Good for home internet backup estimates.
CCTV camera 5 W to 12 W Night vision and recording activity can raise the draw.
LED strip 12 W to 60 W The length and brightness level matter a lot.
Sensor or data logger Very low average draw Duty cycle and standby load are more important than peak draw.
Small fan or network box 15 W to 40 W Often best estimated in watt mode.
Battery size Simple picture of where it fits Common use
2000 to 5000 mAh Small portable range Phones, sensors, compact electronics, pocket power banks.
6 Ah to 12 Ah Small 12 V backup range Routers, cameras, alarms, small lighting backup.
18 Ah to 35 Ah Medium backup range UPS support, longer router backup, compact field setups.
50 Ah and above Large storage range Solar backup, portable stations, RV and off-grid battery setups.

These are quick reference ranges, not strict limits. The main idea is to make it easier to pair the calculator with realistic battery sizes and realistic device loads.

Battery Life by Device Type

One reason battery life searches are so varied is that the same formula is used for many different jobs. A battery life calculator for a router is really asking for internet backup time. A battery life calculator for a CCTV camera is asking how long the camera stays online. A battery life calculator for a power bank is asking how long a phone or small device can run before another charge is needed. The math stays the same, but the way people read the answer changes with the device.

Router battery backup

Start with watt mode, enter the router draw, and choose a reserve that feels safe for home backup use.

CCTV battery runtime

Use current or watts depending on the camera label, and leave extra reserve if the camera runs outdoors.

LED strip battery estimate

Watts are usually the easiest entry here because lighting is often listed by power rather than current.

Power bank time

Use mAh or Wh, then compare the answer with the average draw of the phone, modem, speaker, or small gadget.

UPS battery check

Use the battery voltage and battery size, then enter the device watt load for a quick backup estimate.

Sleep-mode electronics

Use active time and standby load together. That gives a far better answer than using peak draw alone.

This is why the page works best when you think in terms of the real job the battery is doing. Enter the values the way the battery and device are labeled, then adjust reserve, efficiency, health, and standby load until the result feels close to your situation.

Parallel and Series Battery Setups

Some battery questions involve more than one battery. The most common setups are parallel and series. In a parallel setup, voltage stays the same and capacity grows. In a series setup, voltage grows and capacity in amp-hours stays the same. This matters because battery runtime depends on total stored energy and on the load you are trying to support.

Setup What changes Simple example
Parallel Capacity adds together, voltage stays the same Two 12 V 10 Ah batteries become 12 V 20 Ah
Series Voltage adds together, amp-hours stay the same Two 12 V 10 Ah batteries become 24 V 10 Ah

A quick way to compare both setups is to look at watt-hours. Two 12 V 10 Ah batteries in parallel store 240 Wh. The same two batteries in series also store 240 Wh. The stored energy is similar, but the way the pack delivers that energy changes because the voltage is different. That is why watt-hours are often the easiest way to compare battery packs fairly.

Battery Life Calculator FAQ

The questions below cover the things people ask most often when they want a battery runtime estimate that actually makes sense.

How do I calculate battery life from mAh and mA?

Divide the battery capacity in mAh by the average current draw in mA. Then adjust the answer with reserve and efficiency if you want a more practical estimate.

How do I convert mAh to Ah?

Divide by 1000. For example, 8000 mAh equals 8 Ah.

How do I convert Ah to Wh?

Multiply amp-hours by voltage. A 10 Ah battery at 12 V stores about 120 Wh.

Can I estimate battery backup time from watts?

Yes. Convert your battery into watt-hours, apply reserve and efficiency, then divide by the device watt draw.

Why does my real result differ from the calculator?

Real runtime can be shorter because of reserve margin, efficiency loss, battery age, temperature, voltage cutoff, and changing device load.

What does duty cycle mean?

Duty cycle is the share of time a device stays active. A lower duty cycle means a lower average load and usually a longer battery runtime.

Do I always need voltage?

You need voltage whenever you convert Wh to Ah or watts to amps. If both battery and load are already in matching current units, voltage may not be required.

What is usable capacity?

Usable capacity is the part of the battery you choose to count in the estimate. It reflects the reserve you want to keep.

Is 100% usable capacity realistic?

It can be used for a theoretical upper limit, but many people choose a lower value to get a safer and more believable estimate.

Which is better for comparing batteries, Ah or Wh?

Wh is often better when the batteries have different voltages, because Wh shows total stored energy more directly.

How do I include standby mode in battery life?

Add the active load, the standby load, and the active-time percentage. The calculator then turns both values into one average load.

How do I use battery health in the estimate?

Battery health lowers the original battery size to reflect aging. If a battery feels weaker than when it was new, reduce the health value and compare the answer again.

What is the difference between ideal runtime and practical runtime?

Ideal runtime uses the full battery with no extra reductions. Practical runtime adds your chosen usable share, efficiency, battery health, and average load.

Can this calculator help with router, UPS, CCTV, and LED backup?

Yes. You can use current mode or watt mode depending on how the device is labeled, then adjust reserve and efficiency for a more practical answer.

Final Takeaway

A good battery life calculator should feel clear from the first look and still stay useful when the question gets more detailed. That is why this page gives you both sides: an easy calculator at the top and a long guide article underneath. You can run a quick estimate in seconds, or you can read the sections one by one like a short handbook.

If you remember only a few ideas, remember these: keep the units consistent, use voltage when watts or watt-hours are involved, work with average load instead of peak bursts when the device sleeps or cycles, and leave a reserve if you want a more practical answer. Those small habits turn rough guesses into much better battery runtime estimates.

Whether you are checking a phone battery, a router backup, a CCTV setup, a portable pack, a power bank, or a small electronics project, the same logic still applies. More capacity means more runtime. More load means less runtime. The calculator gives the answer fast, and the guide helps you understand why the answer changes when you change the numbers.

Related FastCalc Calculators

These tools can also help when you need quick conversions or supporting calculations alongside battery runtime estimates.