A Google employee from Japan calculated the most accurate value of pi at 31 trillion digits and shattered the world record, the company announced in a blog post on Thursday, or "Pi Day." Emma Haruka Iwao found the new numerical value of pi with the help of the Google's cloud computing service.

Pi, which is the ratio of the circumference of a circle to its diameter, is commonly recognized for its first few digits, but the numbers go on until infinity. Iwao said in the announcement that's she's been fascinated with pi since she was 12-- and never imagined breaking the Guinness World Record.

"It begins with 3.1415 and it goes on forever," she said, adding pi manifests itself in daily life through buildings, highways and bridges.

Get Breaking News Delivered to Your Inbox

Iwao, a cloud developer advocate for Google, described how she beat the previous world record of 22 trillion digits.

Emma Haruka Iwao, a Google employee, just smashed the world record of calculating pi. Google

"In the past super computer and desktop computers were used to calculate pi, and today this is the first time a cloud was calculated to beat the world record," she said. "The biggest challenge is you need a lot of storage. If you want to calculate 31 trillion digital pi you need approximately 170 terabytes, thus the equivalent of 2,000 blue-ray disks."

She stressed how vital it was to keep the operation free of error because a mistake could derail the final calculation. She said Google Compute Engine helped reach the record-breaking number because it allowed the application to run without interruption from "hardware failures or underlying software maintenance."

In the end, Emma's calculation took the virtual machines about 121 days to complete. Once she checked out the number to be correct, she was relieved and realized it was an "exciting accomplishment" for her team.

Moving forward, she wants to help other budding mathematicians who are interested in unearthing pi's numbers like her.

"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 said.