Skip to content

Instantly share code, notes, and snippets.

@ClemRz
Created June 5, 2020 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ClemRz/77a6f36f0801e8f478b1e0ca9da47edd to your computer and use it in GitHub Desktop.
Save ClemRz/77a6f36f0801e8f478b1e0ca9da47edd to your computer and use it in GitHub Desktop.
Formula to compute a lithium battery pack capacity

Battery pack capacity formula

Use this formula to compute a lithium-ion battery pack capacity:

% = 1.25 * v / s - 3.875

Where % is the remaining capacity as a fraction of 1 (multiply by 100 to get a percentage), v is the pack voltage and s is the number of cells in series.

Example:

Your pack has 3 cells in series and the measured voltage is 11.5 volts. in the previous equation we replace v with 11.5, s with 3 which gives:

% = 1.25 * 11.5 / 3 - 3.875

The result is 0.91666...67 which can be considered as 91.67% of remaining capacity for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment