Skip to content
JS
Package

mathjs

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

v15.2.0, 7 Apr 2026Apache-2.0ESM + CommonJSTypes: BundledNumbers and maths
$ npm install mathjs

Key numbers

As of 25 Sept 2026
Weekly downloads
2.6m
+107% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
9
Direct, from package.json
Last release
5 months ago
v15.2.0
GitHub stars
15.1k
1.3k forks
Open issues / PRs
141 / 74
Contributors
-
Commits, last 52 weeks
83

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.8m (18 Aug 2026)Low 746.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,562,260 downloads last week, 13,336,373 in the last month. The 12-month change of +107% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
8298 in total
Latest version
15.2.0, 7 Apr 20265 months ago
First published
17 Feb 2013
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
141
Open pull requests
74
Commits, last 52 weeks
83
Dependents on npm
2,662

Major versions

  1. v15 first release 15.0.0, 10 Oct 2025
  2. v14 first release 14.0.0, 20 Nov 2024
  3. v13 first release 13.0.0, 31 May 2024
  4. v12 first release 12.0.0, 26 Oct 2023
  5. v11 first release 11.0.0, 23 Jul 2022
  6. v10 first release 10.0.0, 3 Nov 2021
  7. v9 first release 9.0.0, 16 Jan 2021
  8. v8 first release 8.0.0, 6 Nov 2020
  9. v7 first release 7.0.0, 7 May 2020
  10. v6 first release 6.0.0, 8 Jun 2019
  11. v5 first release 5.0.0, 16 Jun 2018
  12. v4 first release 4.0.0, 25 Feb 2018
  13. v3 first release 3.0.0, 4 Mar 2016
  14. v2 first release 2.0.0, 28 Jul 2015
  15. v1 first release 1.0.0, 4 Sept 2014
  16. v0 first release 0.0.2, 17 Feb 2013

Recent releases

VersionPublished
15.2.07 Apr 2026
15.1.110 Feb 2026
15.1.05 Nov 2025
15.0.010 Oct 2025
14.9.110 Oct 2025
14.9.010 Oct 2025
14.8.23 Oct 2025
14.8.126 Sept 2025
14.8.024 Sept 2025
14.7.05 Sept 2025
14.6.025 Jul 2025
14.5.32 Jul 2025
14.5.230 May 2025
14.5.128 May 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 18
Runtimes
-
Unpacked size (npm)
9.0 MB
Dependencies (9)
complex.jsdecimal.jsseedrandomfraction.jsescape-latextiny-emitter@babel/runtimetyped-functionjavascript-natural-sort
npm install mathjs

CDN

jsDelivr: 4.3m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mathjs@15.2.0/
  • unpkghttps://unpkg.com/mathjs@15.2.0/
  • esm.shhttps://esm.sh/mathjs@15.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@stdlib/complex-reim501.6k-2 years agoCommonJS-
@stdlib/complex-reimf457.7k-2 years agoCommonJS-
@stdlib/complex-float64-reim184.4k-7 months agoCommonJS-
@stdlib/complex-float32-reim153.7k-7 months agoCommonJS-
@stdlib/complex-float64-real26.4k-7 months agoCommonJS-
@stdlib/complex-float64-imag26.4k-7 months agoCommonJS-
@stdlib/complex-float32-real26.3k-7 months agoCommonJS-
@stdlib/complex-float32-imag26.3k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.