Ideal battery charge calculator

Calculate ideal hours from amp-hours and constant current, or amp-hours from current and time.

Your inputs

Positive amp-hours assigned to this ideal model. A battery label alone does not establish usable charge at your conditions.
Use current drawn from the battery, including system losses and loads if known. Time mode requires a positive value.

Ideal constant-current charge arithmetic. No battery chemistry, cutoff voltage, temperature, aging, conversion loss, reserve, or code standby requirement is inferred.

Enter your values or load the labeled example.

Your result

Waiting for your inputs

See ideal time or amp-hours for a stated constant battery-side current.

Ideal charge arithmetic, not guaranteed battery runtime or a battery recommendation. Verify the manufacturer’s discharge data and the actual system requirements.

Choose a charge calculation

Use a stated constant battery-side current to calculate either ideal time from an assigned amp-hour charge budget, or ideal amp-hours for a duration. These are charge calculations, not battery selection or guaranteed backup time.

Ideal time from charge and current

Enter a positive charge budget Q in amp-hours (Ah) and a positive constant current I in amperes (A).

Ideal time t (hours) = Q (Ah) ÷ I (A)

Assigning a charge budget is an input assumption. A battery’s label does not by itself establish usable charge at your discharge rate, temperature, cutoff voltage, or state of health. A zero current is rejected in time mode; the calculator does not report infinite runtime.

Ideal charge from current and time

Enter a nonnegative constant current and duration in decimal hours.

Ideal charge Q (Ah) = I (A) × t (hours)

Zero current or zero duration gives zero ideal charge in this mode. That result does not establish that a real system has no standby consumption. Missing input is always an error. Changing modes clears the result; the inactive field is excluded from calculation and validation.

Keep the current reference consistent

Use current drawn from the battery, including other system loads and losses if known. A regulated converter’s output current cannot be substituted directly for battery-side current without an appropriate converter and voltage model. This tool does not calculate those effects.

Amp-hours measure charge, not energy. They are not watt-hours (Wh). Voltage is absent because these formulas relate charge, current, and time at the same electrical reference; they cannot compare the energy in batteries of different voltages.

Worked examples

All values here are hypothetical arithmetic inputs, not battery ratings or sizing recommendations. Results display three decimal places with half-up rounding; exact values remain available separately.

Fourteen ideal hours

For an assigned 7 Ah budget and 0.5 A constant battery-side current, 7 ÷ 0.5 = 14 hours. The display is 14.000 hours. This does not assert that a labeled 7 Ah battery can deliver 14 hours in your system.

For 7 Ah and 3 A, the exact ideal time is 7/3 hours, displayed as 2.333 hours. The repeating value is not replaced by the displayed approximation.

Charge for a duration

For 0.5 A over 24 hours, 0.5 × 24 = 12 Ah, displayed as 12.000 Ah. This is the ideal charge requirement before battery-specific and system-specific checks.

For 0.25 A over 1.5 hours, 0.25 × 1.5 = 0.375 Ah. Enter 1.5, not 1:30. A charge of 0.0005 Ah displays as 0.001 Ah; a smaller nonzero result may display as zero while its exact value remains nonzero.

What to verify separately

Actual discharge behavior depends on battery chemistry, discharge rate, cutoff voltage, temperature, aging, initial charge, and the complete system. Check the manufacturer’s applicable discharge curves and test conditions. No Peukert exponent, efficiency, reserve, derating, or charging allowance is assumed here.

Variable loads need a time-dependent model or a justified battery-side average. The DC load budget calculator can sum a stated simultaneous scenario, but it does not establish that the scenario stays constant for the entire discharge period.

This tool does not select a battery or charger, check protection, or establish a required standby period or code compliance.

Input and display rules

Enter A, Ah, and decimal hours, not mA, mAh, or minutes. For example, 500 mA is 0.5 A and 7,000 mAh is 7 Ah. Only decimal inputs are accepted, up to 64 characters and 12 decimal places; fractions and scientific notation are not supported. These are software input limits, not electrical ratings.

Calculation uses exact rational arithmetic before three-decimal display rounding. Nonterminating exact values remain reduced fractions. Display precision is not an allowance or a guarantee of physical accuracy.

FAQs

Can I use the number printed on a battery?

You can enter it as an explicit hypothetical budget, but the result is only an ideal baseline. Verify the rating’s discharge conditions and usable charge at your system’s current, cutoff voltage, temperature, and battery condition before making a runtime decision.

Does charge mode return the battery size I should buy?

No. It returns current multiplied by time. Manufacturer discharge data, losses, aging, reserve, charging, and applicable system requirements need separate assessment.

Sources

OpenStax, University Physics Volume 2, §9.1, Electrical current defines current as charge per unit time. The constant-current formulas above follow that relationship with hours and amp-hours.

Power Sonic, What is a battery C rating? discusses discharge-rate effects and losses. It supports the need for battery-specific discharge information, not a universal capacity correction or a default rating assumption. These sources were checked November 17, 2026 (UTC).