Pi Calculator

Get the value of pi (π) to any number of decimal places, up to 15.

  • Free to use
  • Accurate results
  • No registration required
  • Works on all devices
Enter a number of decimal places to get pi (π) to that precision.

Your result

3.1415926536

π

AI explanation

Formula

Pi, π ≈ 3.14159265358979323846...

Worked example

Pi to 10 decimal places

Worked example: Pi to 10 decimal places
FieldValue
Decimal places10
π3.1415926536

Assumptions

  • Capped at 15 decimal places, the practical limit of JavaScript's double-precision floating point — beyond that, there's no genuine additional precision to show. For thousands of digits of pi, a specialized arbitrary-precision tool is needed instead.

Frequently asked questions

What is pi?

The ratio of a circle's circumference to its diameter, approximately 3.14159 — a fundamental constant throughout geometry and trigonometry.

Why can't this show thousands of digits of pi?

JavaScript's standard number precision only supports about 15-17 significant digits — computing pi to thousands of digits needs specialized arbitrary-precision software.

I need Euler's number instead — is there a calculator for that?

Yes — see the Euler Number Calculator.

Related calculators

Report a calculation issue