JavaScript Math

Open-source JavaScript projects categorized as Math

Top 23 JavaScript Math Projects

  1. KaTeX

    Fast math typesetting for the web.

    Project mention: Using eqn for static website equation generation | news.ycombinator.com | 2025-02-01

    I use KaTex (https://katex.org/) as part of static site generation, and I get LaTeX quality output (because it duplicates LaTeX's algorithm) using only CSS.

    Using the eqn and troff suite in 2025 ... I'll just say there's a better way. LaTeX is arcane enough, but at least it is a universal standard in mathematical publication that it pays off to learn a little.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. gpu.js

    GPU Accelerated JavaScript

  4. mathjs

    An extensive math library for JavaScript and Node.js

    Project mention: How to Work with Multidimensional Arrays in JavaScript | dev.to | 2024-09-18

    Website: Math.js

  5. stdlib

    ✨ Standard library for JavaScript and Node.js. ✨

    Project mention: GSoC 2025 Projects Announced | dev.to | 2025-05-08

    We hope that you'll join us in our mission to advance cutting-edge scientific computation in JavaScript. Start by showing your support and starring the project on GitHub today: https://github.com/stdlib-js/stdlib.

  6. simple-statistics

    simple statistics for node & browser javascript

  7. texme

    Self-rendering Markdown + LaTeX documents

  8. expr-eval

    Mathematical expression evaluator in JavaScript

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. ndarray

    📈 Multidimensional arrays for JavaScript (by scijs)

  11. Fraction.js

    Fraction is a rational numbers library written in JavaScript

  12. muboard

    Self-rendering and distributable mathematics chalkboards

  13. react-native-bignumber

    🔢 The fastest Big Number library for React Native

  14. Temml

    TeX-to-MathML conversion library in JavaScript

    Project mention: Accessible open textbooks in math-heavy disciplines | news.ycombinator.com | 2025-03-29
  15. Quaternion.js

    The RAW JavaScript Quaternion library

  16. makesmatheasy

    Solves various Math Problems along with Steps, without any server interaction

  17. Polynomial.js

    The RAW JavaScript library to work with polynomials

  18. subscript

    Fast and tiny expression parser / evaluator.

  19. num2math

    Complicated math expression generator

    Project mention: Show HN: Turn any number into a complicated math expression | news.ycombinator.com | 2024-06-09

    Credit goes to the contributors of https://github.com/enjeck/num2math for making the tool's core.

  20. react-math-keyboard

    A customizable math keyboard for React

  21. multimath

    WebAssembly wrapper to simplify fast math coding

  22. ElectronVisualized

    Public Archive: Beautiful and Elegant Quantum Mechanics Visualization.

  23. lv-tutorial-math

    Math-specific tutorial/sample project for Liqvid

  24. awesome-youtube

    awesome youtube channel (by npv2k1)

  25. Engineering-Solver

    Engineering Solver helps to do calculations with units and thermodynamic properties in a very fast way.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Math discussion

Log in or Post with

JavaScript Math related posts

  • Using eqn for static website equation generation

    1 project | news.ycombinator.com | 1 Feb 2025
  • Show HN: Latex.to – LaTeX to image converter running in the browser

    5 projects | news.ycombinator.com | 29 Oct 2024
  • Show HN: Turn any number into a complicated math expression

    1 project | news.ycombinator.com | 9 Jun 2024
  • Show HN: Shadeup – A language that makes WebGPU easier

    4 projects | news.ycombinator.com | 17 Jan 2024
  • KaTeX-Compatible Test File

    1 project | /r/LaTeX | 11 Dec 2023
  • 5 best JavaScript multidimensional array libraries

    4 projects | dev.to | 5 Dec 2023
  • Decoding Why 0.6 + 0.3 = 0.8999999999999999 in JS and How to Solve?

    4 projects | dev.to | 16 Nov 2023
  • A note from our sponsor - SurveyJS
    surveyjs.io | 21 May 2025
    Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more →

Index

What are some of the best open-source Math projects in JavaScript? This list will help you:

# Project Stars
1 KaTeX 19,031
2 gpu.js 15,252
3 mathjs 14,738
4 stdlib 5,191
5 simple-statistics 3,433
6 texme 2,359
7 expr-eval 1,245
8 ndarray 1,227
9 Fraction.js 643
10 muboard 561
11 react-native-bignumber 359
12 Temml 199
13 Quaternion.js 174
14 makesmatheasy 139
15 Polynomial.js 132
16 subscript 126
17 num2math 102
18 react-math-keyboard 76
19 multimath 72
20 ElectronVisualized 72
21 lv-tutorial-math 22
22 awesome-youtube 15
23 Engineering-Solver 15

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?