Skip to content
HomeEnergyTools

Battery State of Charge Calculator

Track how full a battery is from the current flowing in or out and how long it flows, the coulomb-counting method used by most battery monitors.

Battery State of Charge Calculator

Advanced settings

Share of charge put in that can later be taken out. Lithium cells are typically close to 99 %; lead-acid lower. Applied when charging only.

Results update automatically as you type. Default values are examples — replace them with your own.

State of charge at the end

70 %

Charge moved
30 Ah
Charge remaining in the battery
70 Ah
Time until empty / full at this current
7 h
Time until empty / full (h min)
7 h 0 min

    How the battery state of charge calculation works

    State of charge (SOC) is the charge remaining as a share of the battery’s capacity. A shunt-based battery monitor measures current continuously and integrates it over time, adding charge when charging and removing it when discharging. This calculator does the same for one constant-current period.

    Not all charge put in can be taken back out: a small share is lost to side reactions. The coulombic efficiency accounts for that when charging. Over many cycles small measurement errors accumulate, which is why monitors re-synchronise to 100 % when the battery reaches full charge.

    Resting voltage is a poor SOC indicator for LiFePO4 because its voltage curve is very flat between roughly 20 % and 90 %; coulomb counting is more reliable for that chemistry.

    Formula

    Discharging: SOC₁ = SOC₀ − I × t ÷ C
    Charging: SOC₁ = SOC₀ + I × t × η_c ÷ C
    I
    average current (A)
    t
    duration (h)
    C
    capacity (Ah)
    η_c
    coulombic efficiency

    Worked example

    1. A 100 Ah battery starts at 100 % and supplies 10 A for 3 hours.
    2. Charge removed: 10 × 3 = 30 Ah, so SOC = 100 % − 30 % = 70 % (70 Ah left).
    3. At the same 10 A it would be empty after another 70 ÷ 10 = 7 hours.

    Assumptions and limitations

    Assumptions

    Limitations

    Frequently asked questions

    How do I know my battery’s starting SOC?

    After a full charge it is 100 %. Otherwise use your BMS or battery monitor reading. Open-circuit voltage after several hours of rest gives a rough estimate for lead-acid batteries.

    Why does my battery monitor drift?

    Small current-measurement errors and charge losses build up. Most monitors reset to 100 % when charging ends in the float or full state.

    Related calculators

    References and data sources

    Last reviewed: · Formula version 1.0.0 · Methodology