# Bit to Pebibit - *5 Bit* to Pibit Conversion

Copy Link & Share
### Excel Formula to convert from Bit to Pibit

Apply the formula as shown below to convert from 5 Bit to Pebibit.

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

1 | Bit (b) | Pebibit (Pibit) | |

2 | 5 | =A2 * 0.0000000000000008881784197001252323389053 | |

3 |

Download - Excel Template for Bit to Pebibit Conversion

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

### Python Code for Bit to Pibit Conversion

You can use below code to convert any value in Bit to Pebibit in Python.

bit = int(input("Enter Bit: "))

pebibit = bit / (1024*1024*1024*1024*1024)

print("{} Bit = {} Pebibit".format(bit,pebibit))

pebibit = bit / (1024*1024*1024*1024*1024)

print("{} Bit = {} Pebibit".format(bit,pebibit))

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