Web features explorer

Math.sumPrecise()

Newly Available (since 2026-04-10)
Expected to be Widely Available on 2028-10-10

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.

Browser support

  • Chrome 147 Released on 2026-04-07
  • Chrome Android 147 Released on 2026-04-07
  • Edge 147 Released on 2026-04-10
  • 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

MDN documentation