PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Google Cloud Sets World Record By Calculating Pi to 100 Trillion Digits

It took 157 days to calculate and required 128 vCPUs, 864GB of RAM, and 515 terabytes of storage.

 & Matthew Humphries Former Senior Editor

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS

Google Cloud believes it just set a new world record by calculating the mathematical constant pi to 100 trillion digits, beating the previous record of 62.8 trillion.

Pi denotes the ratio of a circle's circumference to its diameter, and is an irrational number, meaning it cannot be expressed exactly as a ratio of two integers and therefore its decimal representation never ends. Mathematicians have been increasing its accuracy for thousands of years, and Google just added another 37.2 trillion digits.

In order to calculate 100 trillion digits of pi, Google Cloud used a n2-highmem-128 machine running Debian Linux 11. The machine consists of an Intel Xeon with 128 vCPUs and 864GB of RAM. The total storage allotted to this behemoth was 663 terabytes, of which 515 terabytes were used. The y-cruncher program by Alexander J. Yee was then run to perform the calculation using the Chudnovsky formula.

The magnitude of the task is reflected in how long it took to complete. Google set the program running on Oct. 14, 2021 and it achieved 100 trillion digits on March 21, 2022. The total compute time was 157 days, 23 hours, 31 minutes, and 7.651 seconds. During that time, a total of 82 petabytes of data was read and written by the machine.

Google Cloud previously held the record in 2019 when it calculated 31.4 trillion digits. Since then, the bandwidth available on Google's cloud infrastructure has increased by 600%, which Google Developer Advocate Emma Haruka Iwao admitted, "was a big factor that made this 100-trillion experiment possible, allowing us to move 82.0 PB of data for the calculation, up from 19.1 PB in 2019."

The record has yet to be verified by Guinness World Records, but the final numbers have been verified using another algorithm called the Bailey-Borwein-Plouffe formula, so it should just be a formality.

About Our Expert

Matthew Humphries

Matthew Humphries

Former Senior Editor

My Experience

I started working at PCMag in November 2016, covering all areas of technology and video game news. Before that I spent nearly 15 years working at Geek.com as a writer and editor. I also spent the first six years after leaving university as a professional game designer working with Disney, Games Workshop, 20th Century Fox, and Vivendi.

I hold two degrees: a Bachelor's degree in Computer Science and a Master's degree in Games Development. My first book, Make Your Own Pixel Art, is available from all good book shops.

My Areas of Expertise

  • PC components and system building
  • Raspberry Pi
  • Software development
  • Storage technology
  • Video games and gaming hardware

Read full bio