Interpret amp-hours as a rated quantity
Amp-hours combine current and time under a stated test procedure. A 100 Ah rating does not mean every battery can deliver exactly 5 A for 20 hours under all temperatures, cutoff voltages, and ages; the rating is tied to conditions. Read the battery data sheet to see the discharge rate and end voltage associated with the number you enter.
The tool asks for capacity in Ah and current in A. Capacity must be nonnegative and load current must be positive, because a zero denominator has no finite runtime. The calculation accepts decimal values and converts them to hours. If your load is specified in watts, estimate the DC current at the battery voltage first; watts divided by nominal volts is only an approximation when voltage changes.
Follow the constant-current ratio
The equation is runtime (hours) = capacity (Ah) ÷ current (A). The ampere units cancel, leaving hours. For 100 Ah at a steady 5 A, the ideal quotient is 20 hours. This is often called an ideal Ah/current estimate because it treats the rated capacity as available at the chosen current.
The formula is linear in capacity and inverse in current. At the same assumed conditions, doubling Ah doubles the computed duration, while doubling amperes halves it. That relationship is useful for comparing scenarios; it should not be read as proof that a battery can safely sustain a particular current or that the same capacity remains available at every discharge rate.
Estimate current consistently
Use the current actually flowing from the battery, not the AC appliance’s wattage as though it were amperes. For a DC load, sum simultaneous currents over the interval. For an AC load behind an inverter, account for inverter efficiency and DC voltage; a constant 600 W load at 12 V is not simply 5 A at the battery once conversion loss and voltage variation are considered.
If the load cycles, use a defensible average current for a first estimate, then inspect the time pattern separately. A refrigerator compressor, pump, radio, or tool can have brief peaks and long idle periods. The average can help estimate energy use, but peak current and startup surge remain equipment-selection checks that this two-input calculator does not perform.
Compare two steady-load cases
A 280 Ah bank divided by a constant 14 A load gives 20 hours. A 100 Ah battery divided by a 5 A load also gives 20 hours, even though the stored charge and current differ. The equal quotients demonstrate the arithmetic only; the batteries may use different chemistries, test rates, voltage cutoffs, and usable windows.
The runtime display uses up to five decimal places and appends hours. An exact integer such as 20 remains easy to read, while repeating fractions may be rounded. Avoid reporting more precision than the battery capacity label or current measurement supports. If you compare against a measured run, align the starting charge, end voltage, load profile, and temperature.
Worked examples
Small constant DC load
Inputs: Capacity 100 Ah; load current 5 A.
Calculation: Runtime = 100 Ah ÷ 5 A = 20 h.
The ideal ratio is 20 hours before rate, cutoff, and reserve effects.
Larger bank and heavier current
Inputs: Capacity 280 Ah; load current 14 A.
Calculation: Runtime = 280 Ah ÷ 14 A = 20 h.
The quotient is again 20 hours; it does not establish equal real-world performance.
Use the result as a first check
Real runtime is often lower than capacity divided by current when the rate is above the battery’s rating condition. Lead-acid capacity can fall at higher discharge rates; lithium packs can also be limited by temperature, battery-management settings, current limits, and cutoff voltage. Aging and wiring losses further affect usable energy.
Use the result to spot a unit mistake or compare an idealized constant-current scenario, then use manufacturer discharge curves or measured data for design. Include depth-of-discharge limits, voltage, energy, inverter losses, and protective settings where they apply. The output is not a battery warranty calculation, a runtime guarantee, or a safety certification.