# MB/Hour to Mbps Converter - CONVERT Megabytes Per Hour to Megabits Per Second

Copy Link & Share### Excel Formula to convert from MB/Hour to Mbps

Apply the formula as shown below to convert from Megabytes Per Hour to Megabits Per Second.

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

1 | Megabytes Per Hour (MB/Hour) | Megabits Per Second (Mbps) | |

2 | 1 | =A2 * 8 * 0.0002777777777777777777777777777777777777 | |

3 |

Download - Excel Template for Megabytes Per Hour to Megabits Per Second Conversion

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

### Python Code for MB/Hour to Mbps Conversion

You can use below code to convert any value in Megabytes Per Hour to Megabits Per Second in Python.

megabytesPerHour = int(input("Enter Megabytes Per Hour: "))

megabitsPerSecond = megabytesPerHour * 8 / ( 60 * 60 )

print("{} Megabytes Per Hour = {} Megabits Per Second".format(megabytesPerHour,megabitsPerSecond))

megabitsPerSecond = megabytesPerHour * 8 / ( 60 * 60 )

print("{} Megabytes Per Hour = {} Megabits Per Second".format(megabytesPerHour,megabitsPerSecond))

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