# PiB to Gibit Converter - CONVERT Pebibytes to Gibibits

Copy Link & Share### Excel Formula to convert from PiB to Gibit

Apply the formula as shown below to convert from Pebibyte to Gibibit.

A | B | C | |
---|---|---|---|

1 | Pebibyte (PiB) | Gibibit (Gibit) | |

2 | 1 | =A2 * 8388608 | |

3 |

Download - Excel Template for Pebibyte to Gibibit Conversion

If you want to perform bulk conversion locally in your system, then download and make use of above Excel template.

### Python Code for PiB to Gibit Conversion

You can use below code to convert any value in Pebibyte to Gibibit in Python.

pebibyte = int(input("Enter Pebibyte: "))

gibibit = pebibyte * (8*1024*1024)

print("{} Pebibyte = {} Gibibit".format(pebibyte,gibibit))

gibibit = pebibyte * (8*1024*1024)

print("{} Pebibyte = {} Gibibit".format(pebibyte,gibibit))

The first line of code will prompt the user to enter the Pebibyte as an input. The value of Gibibit is calculated on the next line, and the code in third line will display the result.