Worked example
Example: Illustrative 100 Ah, 80 %, 20 A for 2 h. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Battery capacity | 100.00 Ah |
| Initial state of charge | 80.000 % |
| Current (positive discharge, negative charge) | 20.000 A |
| Time | 2.0000 h |
| Coulombic efficiency on charge | 99.000 % |
Applying the formula below gives:
| Result | Value |
|---|---|
| State of charge after t | 40.000 % |
| Charge moved | 40.000 Ah |
| Time to empty (discharge) or full (charge) | 4.0000 h |
| C-rate | 0.20000 |
Open this example in the calculator and change any input.
Formula
\(SOC(t) = SOC_0 - \frac{1}{C}\int_0^t I\,dt\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(C\) | Battery capacity | C |
| \(SOC_0\) | Initial state of charge | - |
| \(I\) | Current (positive discharge, negative charge) | A |
| \(t\) | Time | s |
| \(\eta_c\) | Coulombic efficiency on charge | - |
| \(SOC\) | State of charge after t | - |
| \(\Delta Q\) | Charge moved | C |
| \(t_{limit}\) | Time to empty (discharge) or full (charge) | s |
| \(I/C\) | C-rate | - |
Method and standards
Coulomb counting.
Where it is used
- Battery monitoring and UPS runtime checks.
- Teaching battery management.
Common mistakes
- Mixing Ah and As.
- Ignoring charge efficiency.
Assumptions and limits
- Constant current; capacity independent of rate.
References
- Coulomb counting
Questions and answers
Why does coulomb counting drift?
A small sensor offset integrates over hours into a large SOC error, so management systems recalibrate at full charge or from rest voltage.
Does capacity depend on current?
Yes for lead-acid (Peukert effect); lithium-ion is much less sensitive, which makes coulomb counting work well.
What do the defaults represent?
An illustrative 100 Ah battery at 80 % discharged at 20 A for two hours.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Gilbert Masters, Renewable and Efficient Electric Power Systems (Wiley, 2004), ch. 9