By Debmedia Technologies LLP · Kolkata, India · Updated
What Is It and When Do You Need It?
Irrational constants never end and never repeat. Seeing hundreds of digits is a fun way to feel what that means.
Choose a constant and how many digits to show.
How to Use This Tool
- Enter or paste your input in the box or boxes above.
- Choose the options, if there are any.
- Press the button to run the tool.
- Read the result and use the copy button where one is shown.
How the Calculation Works
Each constant is computed as a big integer scaled by a power of ten with ten extra guard digits. Pi = 16 arctan(1/5) - 4 arctan(1/239) using series. e is the sum of 1/k!. The square root of 2 and of 5 come from Newton iteration on integers, and phi = (1 + root 5) / 2. The guard digits are then cut off.
Worked Example
Pi to 20 places is 3.14159265358979323846. e is 2.71828182845904523536 and the golden ratio is 1.61803398874989484820.
Common Uses
- Maths classes and Pi Day.
- Memory challenges.
- Testing code.
- Finding your birthday in pi.
Tips and Common Mistakes
- Search only works within the digits shown.
- Use more digits for longer searches.
- Digit counts start after the decimal point.
- Check the first result against a case you already know, so you can trust the tool for the rest.
- Nothing you type leaves your device. The work is done by your browser, so it also works with a slow connection once the page has loaded.
Related Tools
Next, you may need the exponent and root calculator, Fibonacci calculator, prime number checker, GCD and LCM calculator.
Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.
Frequently Asked Questions
Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.