# Pbit to PiB Converter - CONVERT Petabits to Pebibytes

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

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

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

1 | Petabit (Pbit) | Pebibyte (PiB) | |

2 | 1 | =A2 * 0.11102230246251565404236316680908203125 | |

3 |

Download - Excel Template for Petabit to Pebibyte Conversion

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

### Python Code for Pbit to PiB Conversion

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

petabit = int(input("Enter Petabit: "))

pebibyte = petabit * (1000*1000*1000*1000*1000) / (8*1024*1024*1024*1024*1024)

print("{} Petabit = {} Pebibyte".format(petabit,pebibyte))

pebibyte = petabit * (1000*1000*1000*1000*1000) / (8*1024*1024*1024*1024*1024)

print("{} Petabit = {} Pebibyte".format(petabit,pebibyte))

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