SageMath is an integrated mathematical software system for symbolic computation, numerical analysis and advanced mathematical research. It brings together numerous specialised mathematical packages through a common computational environment.
The software covers a broad range of mathematical disciplines, including algebra, calculus, number theory, combinatorics, graph theory and numerical mathematics. It provides tools for exact symbolic calculations as well as approximate numerical computations.
SageMath combines established mathematical libraries and systems such as NumPy, SciPy, SymPy, Maxima, GAP and FLINT. Users can work with these components through a unified interface rather than developing separate workflows for each mathematical package.
The software is suitable for education, research and exploratory mathematics. Its interactive interfaces make it possible to combine calculations, mathematical notation, explanations and visualisations in a single workflow.
This is free and open source software.
Key Features
- Symbolic algebra including expression manipulation, simplification, factorisation and equation solving.
- Exact arithmetic with integers, rational numbers, algebraic numbers and finite fields.
- Calculus operations including differentiation, integration, limits and series expansions.
- Polynomial algebra, Gröbner bases, algebraic extensions and symbolic matrix operations.
- Number theory tools for prime numbers, elliptic curves, modular forms and arithmetic geometry.
- Combinatorics covering permutations, partitions, generating functions and discrete structures.
- Graph theory algorithms for graph construction, connectivity, traversal and structural properties.
- Numerical linear algebra, optimisation and high-precision numerical calculations.
- Probability, statistics and statistical distributions.
- Two-dimensional and three-dimensional mathematical plotting.
- Interactive Jupyter notebook interface for calculations, visualisations and explanatory text.
- Command-line interface for interactive and scripted mathematical work.
- Support for embedding SageMath calculations within LaTeX documents through SageTeX.
- Interfaces to external mathematical systems and integrated specialist libraries.
- Tools for parallel and distributed computation in suitable workloads.
- Cross-platform support – runs on Linux and macOS.
Website: www.sagemath.org
Support:
Developer: The Sage Development Team
License: GNU General Public License v3.0

SageMath is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Mathematics Tools | |
|---|---|
| scikit-learn | Machine learning library for Python |
| NumPy | Core package for scientific computing with Python |
| SciPy | Ecosystem for mathematics, science, and engineering. |
| statsmodels | Statistical modeling and econometrics |
| JAX | Python library for high-performance numerical computing |
| SageMath | Computer algebra system |
| SymPy | Library for symbolic mathematics |
| PyMC | Bayesian statistical modeling and probabilistic programming |
| CVXPY | Python-embedded modelling language for convex optimization |
| Pyomo | Object-oriented algebraic modeling language |
| patsy | Package for describing statistical models and to build design matrices |
| mpmath | Library for arbitrary-precision floating-point arithmetic |
| CasADi | Nonlinear optimization and algorithmic differentiation |
| Formulaic | High-performance Wilkinson formula processing for Python |
| SfePy | Finite element software package |
Read our verdict in the software roundup.
| Computer Algebra Systems | |
|---|---|
| Scilab | Numerical computational package |
| Maxima | System for the manipulation of symbolic and numerical expressions |
| Octave | Powerful programming language with built-in plotting and visualization tools |
| SageMath | Open source alternative to Magma, Maple, Mathematica and Matlab |
| SymPy | Python library for symbolic mathematics |
| SINGULAR | Computer Algebra System for polynomial computations |
| Macaulay2 | Software system for research in algebraic geometry |
| Cadabra | Symbolic computer algebra system for field theory problems |
| PARI/GP | Widely used algebra system designed for fast computations in number theory |
| GAP | System for computational discrete algebra |
| FriCAS | Fork of Axiom |
| CoCoA | System for doing computations in commutative algebra |
| Mathics | General-purpose CAS with Mathematica-compatible syntax and functions |
| FORM | Symbolic Manipulation System |
| Nelson | Numerical computational language |
| wxMaxima | GUI for the sublime Maxima CAS |
| Xcas | Cross-platform mathematical environment |
| REDUCE | General-purpose computer algebra system for symbolic computation |
| OSCAR | Comprehensive computer algebra system for advanced mathematics |
| Axiom | General purpose Computer Algebra system |
| Symja | Computer algebra system and symbolic mathematics library |
| CGSuite | For research in combinatorial game theory |
| Eigenmath | Compact symbolic mathematics and computer algebra application |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.