sodcalculator

08 Everyday Math

Total Run Time Calculator: How to Estimate It

Tag 08-4665 · Updated · Standard formula, shown below

Runtime 16.00 hours
Capacity
100 Ah
You entered
Load current
5 A
You entered
Depth of discharge
80 %
You entered
You enter
Capacity, Load current, Depth of discharge
You get
Runtime
Rounding
2 dp

A total run time calculator works out how long a device, system, or process will operate before it runs out of fuel, battery, or time. You enter a few simple values—like capacity, consumption rate, and current level—and it returns the remaining runtime in hours and minutes. This guide explains the formula, how to apply it to batteries, generators, and project schedules, and what to watch out for.

Formula

The core formula for any total run time calculation is:

Runtime = (Usable Capacity) ÷ (Consumption Rate)

For a battery, this becomes:

Runtime (hours) = Battery Capacity (Ah) × Depth of Discharge (%) ÷ Load Current (A)

Where:

  • Battery Capacity (Ah) – the total charge the battery can store, in ampere-hours.
  • Depth of Discharge (%) – how much of that capacity you are willing to use before recharging. For lead-acid batteries, this is typically 50%; for lithium, 80–100%.
  • Load Current (A) – the average current drawn by the connected devices, in amperes.

For a generator, the same structure applies: Runtime = Fuel Tank Capacity (gallons or liters) ÷ Fuel Consumption Rate (gallons or liters per hour). For a project schedule, it is: Runtime = Total Work Remaining ÷ Work Rate per Hour.

Worked Example

Using the default values from the calculator above:

  • Battery capacity = 100 Ah
  • Load current = 5 A
  • Depth of discharge = 80%

Step 1: Convert the depth of discharge to a decimal: 80% ÷ 100 = 0.8

Step 2: Multiply capacity by the depth of discharge to get usable capacity: 100 Ah × 0.8 = 80 Ah

Step 3: Divide usable capacity by the load current: 80 Ah ÷ 5 A = 16 hours

The calculator returns 16.00 hours, which matches the manual calculation.

Why Depth of Discharge Matters

Most people skip the depth of discharge and simply divide capacity by load. That gives an optimistic number that can damage a battery. A lead-acid battery should not be discharged below 50% regularly, or its lifespan drops sharply. Lithium batteries can handle 80–100% discharge, but even they last longer if you stop at 80%.

For example, a 100 Ah lead-acid battery powering a 10 A device would run 10 hours on paper, but only 5 hours safely. The calculator above uses 80% as a default, which is a reasonable middle ground for lithium and a good reminder for lead-acid users to set it lower.

How to Choose the Right Inputs

Getting accurate inputs is the hardest part of any runtime estimate. Here are practical ways to find them:

  • Battery capacity: Printed on the battery label. For a battery bank, add the capacities of all batteries in parallel.
  • Load current: Check the device nameplate or use a clamp meter. For a mix of devices, add their individual currents. If you only know watts, divide by the system voltage (e.g., 120 W ÷ 12 V = 10 A).
  • Depth of discharge: From the battery manual. If unknown, use 50% for lead-acid and 80% for lithium.
  • Fuel tank size: From the generator or vehicle spec sheet. For a gas can, read the label.
  • Fuel consumption: Often given in gallons per hour at a specific load. If not, run the generator for an hour and measure how much fuel it used.

Common Mistakes and How to Avoid Them

Runtime calculators fail when the inputs are wrong or the units are mixed. Here are the most frequent errors:

  • Using watts instead of amps: A device that draws 120 W from a 12 V battery pulls 10 A, not 120 A. Always convert watts to amps by dividing by voltage.
  • Forgetting to convert hours to minutes: If you need minutes, multiply the decimal part of the hours by 60. 0.5 hours is 30 minutes, not 5.
  • Ignoring efficiency losses: Inverters, converters, and wiring lose 10–20% of energy. Multiply the runtime by 0.85 as a rough safety factor.
  • Using full capacity instead of usable capacity: As discussed, this overestimates runtime and can damage the battery.
  • Assuming constant load: Real devices draw varying current. Use an average over the discharge cycle, not the peak.

Real-World Applications

Total run time calculations appear in many everyday situations:

  • Camping or RV: How long will a 12 V battery run a fridge and lights? Add the currents (e.g., 3 A + 2 A = 5 A) and use the formula.
  • Home backup: A generator with a 5-gallon tank and a 0.5 gal/hr consumption rate runs 10 hours at that load.
  • Electric vehicles: Range = Battery Capacity (kWh) ÷ Energy Consumption (kWh per mile). For a 60 kWh battery and 0.3 kWh/mile, range is 200 miles.
  • Project management: If a task has 40 hours of work left and one person works at 8 hours per day, the runtime is 5 days.
  • Battery backup for a sump pump: A 50 Ah battery with a 6 A pump and 80% depth gives 6.67 hours of protection.

Limits of the Formula

The simple formula assumes a constant load and perfect efficiency, which rarely holds in practice. Here are the main limitations:

  • Battery voltage drops as it discharges, so the actual current may change over time.
  • Temperature affects battery capacity. Cold batteries deliver less usable energy.
  • Fuel consumption is not linear. A generator uses more fuel at higher loads, but the relationship is not perfectly proportional.
  • Inverter efficiency varies. A typical inverter is 85–90% efficient, but that number changes with load.

For critical applications, add a safety margin of 20–30% to the calculated runtime, or test the system under real conditions.

Frequently Asked Questions

How do I convert watts to amps for the load current?

Divide the wattage by the system voltage. For example, a 60 W light bulb on a 12 V system draws 60 ÷ 12 = 5 A. For AC devices powered by an inverter, use the battery voltage (usually 12 V or 24 V) and account for inverter losses.

What is the difference between Ah and Wh?

Ampere-hours (Ah) measure charge, while watt-hours (Wh) measure energy. Multiply Ah by voltage to get Wh. A 100 Ah battery at 12 V stores 1200 Wh. For comparing batteries of different voltages, Wh is more useful.

Can I use this calculator for a generator?

Yes, but replace capacity with fuel tank size (gallons or liters) and load with fuel consumption rate. The formula is identical. The calculator above is set for battery capacity in Ah, but you can mentally substitute the units.

Why does my actual runtime differ from the calculation?

Real devices draw variable current, batteries lose capacity with age, and inverters waste energy as heat. Also, the depth of discharge you set may not match how you actually use the battery. Measure the real load with a meter and re-run the calculation.

How do I calculate runtime for multiple devices?

Add the current draw of all devices that will run simultaneously. For example, a 5 A fridge and a 2 A light together draw 7 A. Then use that total in the formula. If devices run at different times, calculate each separately and add the runtimes.

Is it safe to discharge a battery to 100%?

For lithium batteries, it is generally safe but reduces cycle life. For lead-acid batteries, discharging below 50% can cause permanent damage. Always follow the manufacturer’s recommended depth of discharge for your battery type.

Related

Formula used
in cap | Capacity | Ah | 100 | 0 | 10000
in load | Load current | A | 5 | 0 | 1000
in depth | Depth of discharge | % | 80 | 0 | 100
out hours | Runtime | hours | cap * (depth / 100) / load | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More in this bed

The whole Everyday Math bed →