# kbps to Pbit/Hour Converter - CONVERT Kilobits Per Second to Petabits Per Hour

Copy Link & Share### Excel Formula to convert from kbps to Pbit/Hour

Apply the formula as shown below to convert from Kilobits Per Second to Petabits Per Hour.

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

1 | Kilobits Per Second (kbps) | Petabits Per Hour (Pbit/Hour) | |

2 | 1 | =A2 * 0.000000000001 * 3600 | |

3 |

Download - Excel Template for Kilobits Per Second to Petabits 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 kbps to Pbit/Hour Conversion

You can use below code to convert any value in Kilobits Per Second to Petabits Per Hour in Python.

kilobitsPerSecond = int(input("Enter Kilobits Per Second: "))

petabitsPerHour = kilobitsPerSecond / (1000*1000*1000*1000) * 60 * 60

print("{} Kilobits Per Second = {} Petabits Per Hour".format(kilobitsPerSecond,petabitsPerHour))

petabitsPerHour = kilobitsPerSecond / (1000*1000*1000*1000) * 60 * 60

print("{} Kilobits Per Second = {} Petabits Per Hour".format(kilobitsPerSecond,petabitsPerHour))

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