Math calculators

Pi Calculator

Updated Nov 22, 2026 By Infinity Calculator Formulas Sources
Rate
RAD Expression
0

Result
0
Angle mode
Scientific functions
Keyboard supported: 0–9 digits, + - * / ^ operators, . decimal, P inserts π, E inserts e, ( ) brackets, Enter evaluate, Backspace delete, Esc all clear.
Result Details
Calculation History (0 of 20)
    Step-by-Step Solution
    Your Result Compared With Common π Values

    Introduction

    This Pi Calculator helps you do math with π (pi) fast. Pi is about 3.14159, and it shows up in circles, angles, waves, and lots of geometry problems. Instead of typing 3.14 by hand, just tap the π key and get a full-precision answer.

    You can add, subtract, multiply, divide, and use powers. Open the Advanced panel for square roots, nth roots, sine, cosine, tangent, logs, and e. Switch between radians (RAD) and degrees (DEG) with one tap, and pick how many decimal places you want to see.

    Every answer comes with a step-by-step solution, so you can see how the math works, not just the final number. The Result Details box also shows your answer as a multiple of π, in degrees, in radians, and in scientific notation. A chart compares your result to common pi values like π, 2π, π/2, and π². Your last 20 calculations are saved in the history list, and you can click any of them to use it again.

    How to use our Pi Calculator

    Type a math problem that uses pi, then read the answer. The calculator shows your result, extra details, a step-by-step solution, and a chart that compares your answer to common pi values.

    Number and operator keys: Tap the digits 0–9, the decimal point, and the signs +, −, ×, ÷, or ^ to build your problem.

    π key: Tap the big purple π button to add pi (3.14159…) to your expression.

    Angle mode (RAD or DEG): Pick RAD if your angles are in radians, or DEG if they are in degrees. This changes answers for sin, cos, and tan. A sin, cos, or tan answer closer to 0 than 0.000000000001 is shown as 0, so in RAD mode sin(π) shows 0.

    Result precision: Choose how many decimal places you want to see, or leave it on Auto for 10 significant digits.

    Advanced button: Tap Advanced to open extra science keys like square root, nth root, powers, logs, e, and inverse trig functions such as arcsin and tan inverse.

    ( ) and (−) keys: Use the bracket key to group parts of your problem, and the (−) key to make the last value negative.

    AC and DEL keys: Press DEL to erase one entry, or AC to clear everything and start over.

    = or Calculate button: Press either one to solve your problem and save it to your history.

    Copy button: Tap Copy to put the answer on your clipboard so you can paste it somewhere else.

    Calculation History: Tap any past problem to load it back into the calculator, or press Clear History to empty the list.

    Reset button: Press Reset to return to the sample problem and the default settings.

    Keyboard: You can also type numbers and operators, press P for pi, E for e, Enter to solve, Backspace to delete, and Esc to clear.

    What Is Pi (π)?

    Pi is a number that shows up in every circle. If you measure the distance around a circle (the circumference) and divide it by the distance across it (the diameter), you always get pi.1 It does not matter if the circle is a coin or a planet. The answer is the same.

    Pi starts like this: 3.14159265358979...1 The digits never end and never repeat in a pattern. That makes pi an irrational number.2 Because it never ends, we round it. Most school work uses 3.14 or the fraction 22/7. Pi has been worked out to more than one trillion digits, but NASA scientists and engineers use far fewer, and 3.14 is usually precise enough.8

    Formulas That Use Pi

    • Circumference of a circle: C = 2πr or C = πd4
    • Area of a circle: A = πr²4
    • Volume of a cylinder: V = πr²h5
    • Volume of a sphere: V = (4/3)πr³5
    • Surface area of a sphere: A = 4πr²5
    • Volume of a cone: V = (1/3)πr²h5

    In these formulas, r is the radius (half the width of the circle) and h is the height.

    Pi and Angles

    Pi is also used to measure angles in radians. A full turn around a circle is 2π radians, which equals 360°.3 So half a turn is π radians (180°), and a quarter turn is π/2 radians (90°).3 To change radians into degrees, multiply by 180/π. To change degrees into radians, multiply by π/180. This matters when you use sine, cosine, and tangent, since the answer changes based on whether you work in radians (RAD) or degrees (DEG).

    Handy Pi Values

    • π ≈ 3.141592654
    • 2π ≈ 6.283185307
    • π/2 ≈ 1.570796327
    • π/4 ≈ 0.785398163
    • π² ≈ 9.869604401
    • 1/π ≈ 0.318309886

    Where Pi Is Used

    Pi is not just for math class. It helps people work out how far a wheel rolls, how fast a gear turns, and how far a planet travels in its orbit.3 NASA uses it to work out how much fuel a spacecraft's round tanks hold and how fast that fuel moves through its fuel lines.8 Light waves can be drawn with the sine function, which repeats every 2π. Even game builders use it. Any time something spins, curves, or repeats, pi is usually part of the math.

    A Little History

    People have studied pi for thousands of years. Ancient Babylonians and Egyptians used rough values close to 3.125 and 3.16.2 The Greek mathematician Archimedes of Syracuse (287–212 BC) drew shapes inside and outside a circle to prove that pi lies between 223/71 and 22/7.2 The Welsh mathematician William Jones first used the Greek letter π for this number in 1706, and it became the standard symbol after Leonhard Euler adopted it in 1737.2 Computers have now worked out 314 trillion digits of pi, a record set in November 2025.6 For almost all real work, a few digits are plenty.


    Formulas used

    Degree to radian conversion for trigonometric input 3
    \theta_{\text{rad}} = \theta_{\deg} \times \frac{\pi}{180}
    Radian to degree conversion for inverse trigonometric output 3
    \theta_{\deg} = \theta_{\text{rad}} \times \frac{180}{\pi}
    Base-10 logarithm from natural logarithm 7
    \log_{10}(x) = \frac{\ln(x)}{\ln(10)}
    Nth root as a fractional power 9
    \sqrt[n]{x} = x^{\frac{1}{n}}
    Percent conversion
    x\% = \frac{x}{100}
    Reciprocal
    f(x) = \frac{1}{x}
    Result expressed as a multiple of pi
    k = \frac{v}{\pi} \quad \Rightarrow \quad v = k \times \pi
    Odd nth root of a negative number 9
    \sqrt[n]{x} = -\left(-x\right)^{\frac{1}{n}}, \quad x < 0,\ n \text{ odd}

    Frequently asked questions

    Why does sin(pi) give a tiny number instead of exactly zero on a computer?

    Computers store pi with a tiny bit of rounding, so sin(π) really comes out as something like 0.0000000000000001. The correct math answer is 0.

    Why does tan(π/2) give an error?

    Tangent has no value at π/2 (90°) because the cosine there is zero, and you cannot divide by zero. The calculator shows Error: Undefined. The same thing happens at 3π/2, 270°, and every half turn after that.

    What does a math domain error mean?

    It means the number is not allowed for that function. Common causes:

    • Square root of a negative number9
    • log or ln of zero or a negative number
    • asin or acos of a number outside −1 to 1

    What does a number like 1.5e+16 mean?

    That is scientific notation, used when a number is very big or very small. 1.5e+16 means 1.5 × 10¹⁶. Learn more with the Scientific Notation Calculator.


    Sources

    1. NIST Digital Library of Mathematical Functions, §3.12 Mathematical Constants. National Institute of Standards and Technology. Eq. 3.12.1. Accessed September 28, 2026.
    2. O'Connor JJ, Robertson EF. A history of Pi. MacTutor History of Mathematics. University of St Andrews. 2001. Accessed September 28, 2026.
    3. Abramson J. Precalculus 2e, 5.1 Angles. OpenStax. 2021;section 5.1, Converting between Radians and Degrees. Accessed September 28, 2026.
    4. Marecek L, Anthony-Smith M, Honeycutt Mathis A. Prealgebra 2e, 9.5 Solve Geometry Applications: Circles and Irregular Figures. OpenStax. 2020;section 9.5, Properties of Circles. Accessed September 28, 2026.
    5. Marecek L, Anthony-Smith M, Honeycutt Mathis A. Prealgebra 2e, 9.6 Solve Geometry Applications: Volume and Surface Area. OpenStax. 2020;section 9.6. Accessed September 28, 2026.
    6. Yee AJ. y-cruncher: A Multi-Threaded Pi-Program. Numberworld. 2025;Records. Accessed September 28, 2026.
    7. Abramson J. College Algebra 2e, 6.5 Logarithmic Properties. OpenStax. 2021;section 6.5, Change-of-Base Formula. Accessed September 28, 2026.
    8. What Is Pi? NASA. What Makes Pi Special? and How Does NASA Use Pi?. Accessed November 22, 2026.
    9. Abramson J. College Algebra 2e, 1.3 Radicals and Rational Exponents. OpenStax. 2021;section 1.3, Understanding nth Roots and Using Rational Exponents. Accessed November 22, 2026.