Now playing
01:42
Pichai: Google is not biased
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
Drew Angerer/Getty Images North America/Getty Images
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
Now playing
03:25
Google employee on unionizing: Google can't fire us all
Jeff Roberson/Kenzo Tribouillard/AFP/Getty Images
Now playing
02:10
US sues Google in landmark antitrust case
Google Pixel 5 phone.
Google
Google Pixel 5 phone.
Now playing
01:48
These are Google's new 5G Pixel phones
google maps new redesign zw orig_00000000.jpg
Google Maps
google maps new redesign zw orig_00000000.jpg
Now playing
00:48
See Google Maps' new, more colorful look (2020)
MOUNTAIN VIEW, CA - SEPTEMBER 02:  The new Google logo is displayed at the Google headquarters on September 2, 2015 in Mountain View, California.  Google has made the most dramatic change to their logo since 1999 and have replaced their signature serif font with a new typeface called Product Sans.  (Photo by Justin Sullivan/Getty Images)
Justin Sullivan/Getty Images North America/Getty Images
MOUNTAIN VIEW, CA - SEPTEMBER 02: The new Google logo is displayed at the Google headquarters on September 2, 2015 in Mountain View, California. Google has made the most dramatic change to their logo since 1999 and have replaced their signature serif font with a new typeface called Product Sans. (Photo by Justin Sullivan/Getty Images)
Now playing
02:48
Google extends work from home policy amid pandemic
rip cookies orig_00000000.jpg
rip cookies orig_00000000.jpg
Now playing
03:37
Google is taking a stand against cookies. But it's not that simple
FILE - In this Sept. 2, 2008, file photo Google co-founders Sergey Brin, left, and Larry Page talk about the new Google Browser, "Chrome," during a news conference at Google Inc. headquarters in Mountain View, Calif. Page and Brin are stepping down from their roles within the parent company, Alphabet. Page, who had been serving as CEO of Alphabet, and Brin, who had been president of Alphabet, will remain on the board of the company. (AP Photo/Paul Sakuma, File)
Paul Sakuma/AP
FILE - In this Sept. 2, 2008, file photo Google co-founders Sergey Brin, left, and Larry Page talk about the new Google Browser, "Chrome," during a news conference at Google Inc. headquarters in Mountain View, Calif. Page and Brin are stepping down from their roles within the parent company, Alphabet. Page, who had been serving as CEO of Alphabet, and Brin, who had been president of Alphabet, will remain on the board of the company. (AP Photo/Paul Sakuma, File)
Now playing
00:41
Google co-founders stepping down from executive roles
Now playing
00:46
Google's health initiative collects personal data
DINA LITOVSKY/CNN
Now playing
03:42
How employee activism at Google started a movement
Google
Now playing
01:16
Google CEO: 'Hello world' moment for quantum computing
Google CEO Sundar Pichai poses for a portrait at the Mayes County Google Data Center in Pryor, Oklahoma, June 13, 2019. Nick Oxford for CNN
Nick Oxford for CNN
Google CEO Sundar Pichai poses for a portrait at the Mayes County Google Data Center in Pryor, Oklahoma, June 13, 2019. Nick Oxford for CNN
Now playing
03:20
Google CEO on privacy: We've put too much burden on users
CNN Business
Now playing
02:41
Google and Facebook are great at selling ads. It's terrible for journalism
CNN Business
Now playing
01:18
This is Google's new smart screen device
Dina Litovsky for CNN
Now playing
01:47
How Google got its start
Now playing
03:03
Is Google a monopoly?
(CNN Business) —  

A Google employee has broken the world record for calculating pi just in time for the mind-bogglingly long number’s special day.

Emma Haruka Iwao spent four months working on the project in which she calculated pi to 31.4 trillion digits.

Pi holds a special place in the realm of math. It’s an irrational number that continues infinitely without repetition. You calculate it by dividing a circle’s circumference by its diameter.

Iwao did her number crunching primarily from Google’s office in Seattle, where she works at as a developer and advocate for Google Cloud. Fittingly, she used 25 Google Cloud virtual machines to generate the enormously long number. It’s the first pi record calculated on the cloud.

Emma Haruka Iwao, a Google employee, calculated 31,415,926,535,897 digits of pi, setting a world record.
Courtesy Google
Emma Haruka Iwao, a Google employee, calculated 31,415,926,535,897 digits of pi, setting a world record.

Her milestone was certified by Guinness World Records on Wednesday, making her the third woman to set a world record for calculating the number. Iwao broke the record for pi set by Peter Trueb in 2016, which was 22.4 trillion digits long.

Google (GOOG) made the announcement on March 14 (3.14), which is known as Pi Day. The semi-official holiday for the unique number is celebrated by eating actual pies.

“It was my childhood dream, a longtime dream, to break the world record for pi,” Iwao told CNN Business. She has been working toward this moment since she was 12, when she first downloaded software to calculate pi on her personal computer in Japan.

Iwao said she had help with the final calculation from Alexander Yee, who invented a program called “y-cruncher” for computing pi and other constants. Her former professor and one time world record holder for pi, Daisuke Takahashi, helped her with advice and technical strategies.

Beyond being a convenient way to promote Google’s own cloud products, Iwao’s new record shows how far cloud computing technology has come.

All 31,415,926,535,897 digits of her pi calculation can be downloaded by anyone who wants to experiment with the data. In the past, if you wanted to share the longest known version of pi, you had to put it on a hard drive and mail it.

“We keep investing in the cloud and it gets even better over time,” said Iwao. “Hopefully we can do an even bigger computation in the future.”

Correction: An earlier version of this story misstated where Iwao was based.