Calculate pi
in your browser
Choose an algorithm and compute as many decimal digits as you need, right in your browser.
Calculator
Choose how many digits after the decimal point. Larger values take longer — results appear when the calculation finishes.
How it works
Integer scaling avoids floating-point error. Guard digits handle rounding at the boundary.
Formula
π/4 = 4·arctan(1/5) − arctan(1/239)
Arithmetic
Fixed-point ·
BigInt
Worker status
Idle