# Bps to Pibit/Hour Calculator - Convert Bytes Per Second to Pebibits Per Hour

## Conversion History (Last 6)

### Excel Formula to convert from Bps to Pibit/Hour

Apply the formula as shown below to convert from Bytes Per Second to Pebibits Per Hour.

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

1 | Bytes Per Second (Bps) | Pebibits Per Hour (Pibit/Hour) | |

2 | 1 | =A2 * 0.0000000000000071054273576010018587112426 * 3600 | |

3 |

Download - Excel Template for Bytes Per Second to Pebibits Per Hour Conversion

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

### Python Code for Bps to Pibit/Hour Conversion

You can use below code to convert any value in Bytes Per Second to Pebibits Per Hour in Python.

bytesPerSecond = int(input("Enter Bytes Per Second: "))

pebibitsPerHour = bytesPerSecond * 8 / (1024*1024*1024*1024*1024) * 60 * 60

print("{} Bytes Per Second = {} Pebibits Per Hour".format(bytesPerSecond,pebibitsPerHour))

pebibitsPerHour = bytesPerSecond * 8 / (1024*1024*1024*1024*1024) * 60 * 60

print("{} Bytes Per Second = {} Pebibits Per Hour".format(bytesPerSecond,pebibitsPerHour))

The first line of code will prompt the user to enter the Bytes Per Second as an input. The value of Pebibits Per Hour is calculated on the next line, and the code in third line will display the result.