Over a million developers have joined DZone.

Math.js – An Extensive Math Library For JavaScript & Node.js

DZone's Guide to

Math.js – An Extensive Math Library For JavaScript & Node.js

· Java Zone ·
Free Resource

Atomist automates your software deliver experience. It's how modern teams deliver modern software.

Math.js is an extensive Math library for JavaScript and Node.js which comes with an in-built expression parser which can perform computations on numbers, big numbers, complex numbers, units, and matrices.


  • Supports numbers, big numbers, complex numbers, units, strings, arrays, and matrices.
  • Is compatible with JavaScript’s built-in Math library.
  • Contains a flexible expression parser.
  • Supports chained operations.
  • Comes with a large set of built-in functions and constants.
  • Has no dependencies. Runs on any JavaScript engine.
  • Is easily extensible.

The whole library is very compact in size, weighing in at only 40KB minified & gzipped.

Requirements: None
Demo: http://mathjs.org/
License: Apache 2.0 License


Get the open source Atomist Software Delivery Machine and start automating your delivery right there on your own laptop, today!


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}