Google Engineer Sets the World Record for Calculating Pi to 31.4 TRILLION Digits

“I would love to try with more digits.”

A Google engineer from Japan has broken the Guinness World Record for the most accurate value of pi.

Emma Haruka Iwao, who has been with Google for more than three years, used the company’s cloud-computing service to calculate pi to an astronomical 31.4 trillion digits, beating Peter Trueb’s record of 9 trillion in November 2016.


Aptly, Iwao’s accomplishment was announced on March 14, which happens to be Pi Day. The feat also marks the first time the record was broken using the cloud.

“Ever since the ancient Babylonians, people have been calculating the digits of π, the ratio of the circumference of a circle to its diameter that starts as 3.1415… and goes on forever,” the engineer wrote in a post. “In honor of Pi Day, today March 14 (represented as 3/14 in many parts of the world), we’re excited to announce that we successfully computed π to 31.4 trillion decimal places — 31,415,926,535,897 to be exact, or π * 1013.”

The calculation required the use of a program called y-cruncher, which was developed by Alexander J. Yee using a Google Compute Engine virtual machine cluster.

For 121 days, Iwao crunched 170 terabytes of data using 25 virtual machines to complete the calculation. For context, one terabyte is equivalent to some 200,000 music tracks, according to BBC News.

Aside from a gargantuan storage space, the process required no room for error as one mistake could ruin the final calculation.

Despite her mind-blowing achievement, Iwao is not sleeping on pi yet. “There is no end with pi, I would love to try with more digits,” she told BBC News.

Iwao also expressed her hopes of helping other mathematicians who are also interested in cracking pi.

“I’m really happy to be one of the few women in computer science holding the record, and I hope I can show more people who want to work in the industry what’s possible,” she told CBS News.

Images via YouTube / Google

Support our Journalism with a Contribution

Many people might not know this, but despite our large and loyal following which we are immensely grateful for, NextShark is still a small bootstrapped startup that runs on no outside funding or loans.

Everything you see today is built on the backs of warriors who have sacrificed opportunities to help give Asians all over the world a bigger voice.

However, we still face many trials and tribulations in our industry, from figuring out the most sustainable business model for independent media companies to facing the current COVID-19 pandemic decimating advertising revenues across the board.

We hope you consider making a contribution so we can continue to provide you with quality content that informs, educates and inspires the Asian community. Even a $1 contribution goes a long way. Thank you for everyone’s support. We love you all and can’t appreciate you guys enough.

NextShark is a leading source covering Asian American News and Asian News including business, culture, entertainment, politics, tech and lifestyle.

For advertising and inquiries: