Pi Digits Reference

Get the value of pi (π) rounded to any number of decimal places.

Calculate

Enter your values below.

Result

π
0

Formula used

π (pi) is the ratio of a circle's circumference to its diameter, approximately 3.14159265358979.

Example: π to 5 decimal places = 3.14159.

How to use this calculator

  1. Enter Decimal places.
  2. Press Calculate to see your result instantly.

Frequently asked questions

Why is 15 the maximum number of decimal places?

Standard double-precision numbers (used by JavaScript) only reliably store about 15-17 significant digits.

What is pi used for?

Calculating circle area, circumference, and many trigonometric and wave-related formulas.

Is pi a repeating decimal?

No — pi is irrational, meaning its digits go on forever without repeating.

Where does the value of pi come from?

It's read from JavaScript's built-in Math.PI constant.