Web platform features explorer

Math.sumPrecise()

The Math.sumPrecise() static method returns the sum of an iterable of numbers. It avoids the precision loss of intermediate partial sums, as found using reduce() or a loop to add together an array of values.

Status

Limited availability

MDN documentation

Specifications

Browser support

  • Chrome See issues.chromium.org/u/1/issues/374310075
  • Chrome Android
  • Edge
  • Firefox 137 Released on 2025-04-01
  • Firefox for Android 137 Released on 2025-04-01
  • Safari 26.2 Released on 2025-12-12
  • Safari on iOS 26.2 Released on 2025-12-12

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.