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
Baseline Newly Available (since 2026-04-10)
This feature is expected to reach Baseline Widely Available status on: 2028-10-10
MDN documentation
Specifications
- ECMAScript® 2027 Language Specification (#sec-math.sumprecise), from TC39 (Ecma International).
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
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.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist