Install #

Math.js can be installed via various package managers:

Package Manager Installation
npm (recommended)
npm install mathjs
bower install mathjs

When installed globally with npm (using the -g option), math.js is available as a command line application mathjs, see documentation on Command Line Interface.

Download #

Math.js can be downloaded or linked from cdnjs:

Development (version 3.16.1) 1601 kB, uncompressed with comments
Production (version 3.16.1) 127 kB, minified and gzipped

Too large for you? Create your own custom bundle.

Extensions #

Web Service #

Math.js is available as a RESTful web service:

History #

A changelog describing the changes with each release is available on the page History.

Browser support #

Math.js works on any ES5 compatible JavaScript engine: node.js 0.10 and newer and IE9 and newer. If support for old browsers (Internet Explorer 8 and older) is required, the es5-shim library has to be loaded.

Source code #

The source code of math.js is available on GitHub:

License #

Math.js is open source and licensed under the Apache 2.0 License

Fork me on GitHub