# Byte/Hour to Bit/Hour Calculator - Convert Bytes Per Hour to Bits Per Hour

## Conversion History (Last 6)

### Excel Formula to convert from Byte/Hour to Bit/Hour

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

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

1 | Bytes Per Hour (B/Hour) | Bits Per Hour (b/Hour) | |

2 | 1 | =A2 * 8 | |

3 |

Download - Excel Template for Bytes Per Hour to Bits 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 Byte/Hour to Bit/Hour Conversion

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

bytesPerHour = int(input("Enter Bytes Per Hour: "))

bitsPerHour = bytesPerHour * 8

print("{} Bytes Per Hour = {} Bits Per Hour".format(bytesPerHour,bitsPerHour))

bitsPerHour = bytesPerHour * 8

print("{} Bytes Per Hour = {} Bits Per Hour".format(bytesPerHour,bitsPerHour))

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