Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

PARI/GP

pari.math.u-bordeaux.fr

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • Android

What PARI/GP is

PARI/GP is a free, open-source computer algebra system built for number-theory calculations. Its mathematical tools include factorization, algebraic number theory, elliptic curves, modular forms, L-functions, matrices, polynomials, power series, algebraic numbers and transcendental functions. PARI is available as a C library; gp is an interactive shell, and GP is its scripting language. The gp2c compiler converts some GP scripts to C and typically makes compiled scripts three or four times faster, though it covers only part of GP. The official site also offers a browser-based GP interface for expressions, variables and function definitions; the page puts its speed at about 15% of native speed. Xeus-GP provides a Xeus-based Jupyter kernel. The software runs across Android, Linux, macOS, the web and Windows. The project provides guides, reference manuals, tutorials and quick reference cards, and directs users to a mailing list and bug tracker for help. Optional packages are distributed separately because they use substantial disk space.

Who it suits

PARI/GP suits people who need number-theory and broader symbolic-mathematics tools across different platforms. Its C library, shell, scripting language and browser interface offer several ways to work with it.

Good to know, and what to watch

  • Free software under GPL version 2 or later
  • Functions cover number theory and other mathematical areas
  • Available as a C library, shell and scripting language
  • Browser interface supports expressions, variables and functions
  • Browser speed is about 15% of native speed
  • gp2c supports only a subset of GP
  • Optional packages are distributed separately

PARI/GP

Free

Free plan

The verdict

PARI/GP brings a broad range of mathematical functions together with several interfaces, including a browser option and Jupyter kernel. Keep the slower browser speed and separately distributed optional packages in mind.

What the maker publishes

Browser performance
The browser version page states that its speed is approximately 15% of native speed. source
Browser use
The official site provides a browser-based GP interface where users can enter expressions, assign variables, and define functions. source
Build dependencies
The source build instructions say GNU MP and GNU readline are optional but make the calculator faster and more user-friendly, respectively. source
Compiler
gp2c compiles GP scripts to C, typically making compiled scripts three or four times faster, but it supports only a subset of GP. source
Documentation
The site provides an online user's guide, reference manuals, tutorials, quick reference cards, and downloadable manuals. source
Founded
1983 source
Interfaces
PARI is available as a C library, while gp is an interactive shell and GP is its scripting language. source
License
PARI/GP is free software released under the GNU General Public License, version 2 or any later version. source
Maintainers
The project says it has been developed at the University of Bordeaux since the early eighties and is maintained by volunteers. source
Mathematical work
It includes functions for factorization, algebraic number theory, elliptic curves, modular forms, L-functions, matrices, polynomials, power series, algebraic numbers, and transcendental functions. source
Notebook integration
Xeus-GP is described as a Xeus-based Jupyter kernel for PARI/GP. source
Optional packages
Optional packages are distributed separately because they use significant disk space and are expected to be unnecessary for most users. source
Platforms
The official download page offers binaries for Windows, macOS, and Android, and source distributions for building PARI/GP. source
Purpose
PARI/GP is a cross-platform, open-source computer algebra system designed for fast number-theory computations. source
Support
The project directs users to the pari-users mailing list for help and provides a bug tracking system for bug reports and feature requests. source

Checked against the maker's pages on 11 Oct 2026.