# Calculating 100 trillion digits of π on Google Cloud

Google Cloud has set a new world record in calculating the **"100 Trillion digits of π"**. Google Cloud developer advocate Emma Haruka Iwao has successfully calculated 100 trillion digits of π using Google Cloud and **set a new world record**. surpassing her previous own record from three years ago for the number of digits calculated for pi. In 2019 she was able to calculate **π** to its 31.4 trillionth digit, and now, using the same **Google Cloud y-cruncher program** Iwao was able to find **pi to its 100 trillionth digit**, which is zero.

The activity started on **October 14, 2021**, and was only finished on March 21 of this year, **taking a total of 157 days, 23 hours, 31 minutes, and 7,651 seconds**.

Back in 2019, Google Cloud **calculated 31.4 trillion digits of the number Pi**, the highest mark reached by it until then. With the latest result, it was possible to triple the capacity of calculated decimal places in just three years, thanks to the **Compute Engine technology**, which uses machines with an output bandwidth of 100 Gbps.

Further, Google Cloud announced in a statement that;

This achievement is a testament to how much faster Google Cloud infrastructure gets, year in, year out. The underlying technology that made this possible is Compute Engine, Google Cloud’s secure and customizable compute service, and its several recent additions and improvements: the Compute Engine N2 machine family, 100 Gbps egress bandwidth, Google Virtual NIC, and balanced Persistent Disks. It's a long list, but we'll explain each feature one by one.

## How are 100 Trillion digits of π Calculated using Google Cloud?

According to Google Cloud, here’s an overview of their requirements ran to **calculate our 100 trillion digits of π.**

- Program: y-cruncher v0.7.8, by Alexander J. Yee
- Algorithm: Chudnovsky algorithm
- Compute node: n2-highmem-128 with 128 vCPUs and 864 GB RAM
- Start time: Thu Oct 14 04:45:44 2021 UTC
- End time: Mon Mar 21 04:16:52 2022 UTC
- Total elapsed time: 157 days, 23 hours, 31 minutes, and 7.651 seconds
- Total storage size: 663 TB available, 515 TB used
- Total I/O: 43.5 PB read, 38.5 PB written, 82 PB total

**n2-highmen machine**with

**Intel Xeon 128 vCPUs and 864 GB of RAM**was used to calculate the

**100 trillion digits of the Pi on Google Cloud**.

**started on October 14, 2021**, and was only

**finished on March 21 of this year, taking a total of 157 days, 23 hours, 31 minutes, and 7,651 seconds**. In the end, 82 petabytes of data read and written by the device were generated.

Google Cloud |

**Calculating 100 Trillion Digits Of Pi**- Pi is classified as an

**irrational number**, that is, it cannot be expressed as a ratio of two integers, so its decimal representation never ends. Mathematicians have been trying to improve accuracy for thousands of years, he says he earned more than 37 trillion digits in Google's cloud computing work.

## Result of **Calculating 100 Trillion Digits Of Pi**

**"0"**.

**(Bailey–Borwein–Plouffe formula)**and the Bailey-Borwein-Plouffe formula found that our results were valid.

**Here is the result of the last 100 Trillion digits of π:**

`4658718895 1242883556 4671544483 9873493812 1206904813`

`2656719174 5255431487 2142102057 7077336434 3095295560`

**
Source: Google Cloud**