Main menu

Pages

How long does it take to calculate 100 trillion digits of pi? Ask Google

How long does it take to calculate 100 trillion digits of pi? Ask Google



Google Cloud advocate developer Emma Haruka Iwao has set a new world record for calculating the most numbers of Pi ever, demonstrating the capabilities of Google's cloud infrastructure.

For thousands of years, mathematicians and scientists have worked on calculating Pi numbers-a project that can literally last forever. For now, we know at least the first 100 trillion digits of Pi, thanks to a project by Google


You can view the entire sequence of numbers on this demo site.


Google Cloud advocate developer Emma Haruka Iwao has set a new world record for calculating the most numbers of Pi, using Google's cloud infrastructure to determine that the 100 trillion decimal place of Pi is 0. Her project took less than 158 days and some serious computing power. 


The 2021 record was set by scientists at the University of Applied Sciences in Grisons, who calculated the mathematical constant to 62.8 trillion decimal places. The IWW previously set a world record in 2019, with a PE calculation of 31.4 trillion digits.


In 2019, the calculation of 31.4 trillion numbers took 121 days, making the calculation of 100 trillion numbers this year more than 2 times faster. 


"This huge calculation shows how Google Cloud's flexible infrastructure allows teams around the world to push the boundaries of scientific experiments," EWAO wrote in a blog post. "It's also an example of the reliability of our products-the software has been running for over five months without node failure and handling every bit in 82 J of the I/O disk correctly. Over the past three years, improvements to our infrastructure and products have made this calculation possible."


Her blog sets out the technical details of the project, which require high-performance computing, storage, and networking capabilities. Google used the open-source tool terraform to test different infrastructure options and choose the most optimal parameters. Meanwhile, the actual code used to calculate the 100 trillion digits is available on GitHub. Google verified the final numbers with another algorithm (Bailey-born-Plouffe formula) when the calculation was completed.

Comments