Battery coulomb counting trace calculator

Calculate stored charge trajectory JSON and final state of charge with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use stored charge trajectory JSON and final state of charge to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Interval currents: positive charge, negative discharge (A)
5,5,-3,-2
Interval durations (hours)
1,1,1,1
Initial stored charge (Ah)
20
Charge efficiency (fraction)
0.95
Rated capacity (Ah)
50
Stored charge trajectory (Ah) JSON
[24.75,29.5,26.5,24.5]
Final state of charge (%)
49

Try another scenario

Interval currents: positive charge, negative discharge (A)
[6, 5, -3, -2]
Interval durations (hours)
[1, 1, 1, 1]
Initial stored charge (Ah)
20
Charge efficiency (fraction)
0.95
Rated capacity (Ah)
50
Stored charge trajectory (Ah) JSON
[25.7,30.45,27.45,25.45]
Final state of charge (%)
50.9
Calculation method

Calculation method

Stored charge trajectory (Ah) JSON

Piecewise-constant coulomb counting, with charging efficiency only; reject trace that leaves 0..rated capacity.

Final state of charge (%)

Piecewise-constant coulomb counting, with charging efficiency only; reject trace that leaves 0..rated capacity.

Symbols and units
a
Interval currents: positive charge, negative discharge (A)
b
Interval durations (hours)
c
Initial stored charge (Ah)
d
Charge efficiency (fraction)
e
Rated capacity (Ah)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • User-supplied measurements and assumptions; Piecewise-constant coulomb counting, with charging efficiency only; reject trace that leaves 0..rated capacity. Supported limits: Finite numeric values bounded to 1e9 magnitude; lists and tables contain 1–100 records unless a stricter bound is stated. Inputs use the units shown. Lists explicitly paired by a method must have matching lengths; independent polynomial coefficient vectors may differ. Respect stated physical, interpolation, policy and computational domain limits.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.