awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

JavaScript Math Libraries

Ranking updated Jul 13, 2026

For a javascript library for complex mathematical operations, the strongest matches are josdejong/mathjs (Math), nefe/number-precision (This library provides robust arbitrary-precision arithmetic for handling floating-point) and stdlib-js/stdlib (This is a comprehensive standard library for JavaScript and). mikemcl/decimal.js and mikemcl/bignumber.js round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best javascript math libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

JavaScript Math Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • josdejong/mathjsjosdejong avatar

    josdejong/mathjs

    15,036View on GitHub↗

    Math.js is a comprehensive JavaScript library for scientific, complex, and arbitrary precision calculations. It functions as a symbolic computation engine, a linear algebra toolkit, a statistical analysis library, and a unit conversion system. The project distinguishes itself by providing a symbolic engine capable of parsing, simplifying, and manipulating mathematical expressions algebraically without requiring immediate numerical evaluation. It includes a framework for defining and converting physical quantities with units of measure and automatic prefix support. The library covers a broad

    Math.js is a comprehensive library that provides the full suite of requested features, including linear algebra, statistical analysis, arbitrary-precision arithmetic, and symbolic computation, with full support for both browser and Node.js environments.

    JavaScriptArbitrary Precision ArithmeticLinear AlgebraLinear Algebra Routines
    View on GitHub↗15,036
  • nefe/number-precisionnefe avatar

    nefe/number-precision

    4,100View on GitHub↗

    number-precision is a JavaScript math library and arbitrary precision arithmetic utility. It provides a set of functions for performing addition, subtraction, multiplication, and division while avoiding the rounding errors common in standard binary floating-point operations. The project focuses on maintaining controlled decimal precision to ensure consistent mathematical output. This makes it applicable for financial calculations where exact currency values are required, as well as for high precision data processing in scientific or technical reports. Its capabilities include precise floatin

    This library provides robust arbitrary-precision arithmetic for handling floating-point errors, though it is specialized for precision rather than the broader suite of linear algebra or symbolic computation features requested.

    TypeScriptArbitrary Precision Arithmetic
    View on GitHub↗4,100
  • stdlib-js/stdlibstdlib-js avatar

    stdlib-js/stdlib

    5,735View on GitHub↗

    This is a comprehensive standard library for JavaScript and Node.js that provides a vast suite of numerical, statistical, and scientific computing tools, including support for linear algebra, complex numbers, and high-performance mathematical functions.

    JavaScriptNumerical Computing Libraries
    View on GitHub↗5,735
  • mikemcl/decimal.jsMikeMcl avatar

    MikeMcl/decimal.js

    7,205View on GitHub↗

    decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the rounding errors associated with standard floating-point numbers. It provides a high-precision math toolkit for executing basic arithmetic and advanced transcendental functions with configurable significant digits. The library implements decimal-based math that supports various rounding modes and arbitrary precision settings. It includes a numeric string parser for converting decimal, hexadecimal, binary, and octal strings into high-precision numeric types, as well as a utility for

    This library provides robust arbitrary-precision arithmetic and transcendental functions for JavaScript, serving as a specialized tool for high-precision calculations even though it lacks broader features like linear algebra or symbolic computation.

    JavaScriptArbitrary Precision Arithmetic
    View on GitHub↗7,205
  • mikemcl/bignumber.jsMikeMcl avatar

    MikeMcl/bignumber.js

    7,004View on GitHub↗

    bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and integers that exceed the limits of standard floating-point numbers. It functions as a decimal arithmetic engine and a math library for calculating square roots, powers, and modular exponentiation. The project provides a base conversion utility capable of parsing and translating numeric values between any base from 2 to 36. It also includes a numeric formatting tool for rendering high-precision values into localized strings with custom separators and notation styles. The libra

    This library provides robust arbitrary-precision arithmetic for decimals and integers, serving as a specialized tool for high-precision calculations even though it lacks broader features like linear algebra or symbolic computation.

    JavaScriptArbitrary Precision Arithmetic
    View on GitHub↗7,004
  • sloisel/numericsloisel avatar

    sloisel/numeric

    1,447View on GitHub↗

    This library is a JavaScript-based numerical analysis tool designed to perform complex mathematical operations directly within web browser environments. It provides a comprehensive suite of algorithms for linear algebra, matrix manipulation, and equation solving, enabling data-intensive computations to occur locally without requiring server-side processing. The project distinguishes itself by offering a specialized computational engine that handles advanced mathematical tasks such as gradient-based function optimization and iterative numerical approximation. By utilizing quadrature-based inte

    This library provides a robust suite of tools for linear algebra and numerical analysis in the browser, serving as a capable engine for complex mathematical computations despite lacking symbolic computation or arbitrary-precision features.

    JavaScriptLinear Algebra Routines
    View on GitHub↗1,447
  • simple-statistics/simple-statisticssimple-statistics avatar

    simple-statistics/simple-statistics

    3,504View on GitHub↗

    simple statistics for node & browser javascript

    This library provides a focused suite of statistical methods for both Node.js and browser environments, making it a reliable choice for data analysis tasks despite lacking the broader linear algebra or symbolic computation features of more comprehensive scientific suites.

    JavaScriptData Processing and AnalysisStatistics and Math
    View on GitHub↗3,504
  • jstat/jstatJ

    jstat/jstat

    0View on GitHub↗

    jStat - JavaScript Statistical Library

    jStat is a dedicated statistical library for JavaScript that provides a wide range of probability distributions and statistical functions, making it a solid choice for scientific computation despite lacking symbolic or arbitrary-precision features.

    Statistics and Math
    View on GitHub↗0
  • numbers/numbers.jsnumbers avatar

    numbers/numbers.js

    1,757View on GitHub↗

    numbers.js is a comprehensive mathematics library for JavaScript that provides a collection of advanced functions for scientific computing and data analysis. It is designed to handle complex mathematical operations through a modular architecture, offering tools for calculus, statistics, linear algebra, and prime number analysis. The library distinguishes itself by providing explicit control over numerical precision, allowing users to define error thresholds and manage decimal accuracy to mitigate rounding discrepancies. This focus on precision is paired with a suite of computational tools tha

    This library provides a broad suite of mathematical and statistical functions, including support for linear algebra, complex numbers, and arbitrary-precision arithmetic, making it a solid choice for scientific computation in both Node.js and browser environments.

    JavaScriptLinear Algebra LibrariesLinear Algebra RoutinesComplex and Modular Arithmetic
    View on GitHub↗1,757

Related searches

  • a C++ library for mathematical computations
  • a comprehensive mathematics reference for software developers
  • a comprehensive platform for learning mathematics
  • a javascript library for data encryption
  • a javascript library for data grids
  • a javascript library for color manipulation
  • a javascript library for generating pdf files
  • a JS charting library for dashboards