# Bps to Mbit/Hour Calculator - Convert Bytes Per Second to Megabits Per Hour ## Conversion History (Last 6)

Input Bytes Per Second - and press Enter
Bps

Sec
Min
Hr
Day
Sec
Min
Hr
Day

## Bps to Mbit/Hour - Conversion Formula and Steps

Byte and Megabit are units of digital information used to measure storage capacity and data transfer rate. Byte is one of the very basic digital unit where as Megabit is a decimal unit. One Byte is equal to 8 bits. One Megabit is equal to 1000^2 bits. There are 125,000 Bytes in one Megabit. - view the difference between both units Source Data UnitTarget Data Unit
Byte (B)
Equal to 8 bits
(Basic Unit)
Megabit (Mbit)
Equal to 1000^2 bits
(Decimal Unit)

The formula of converting the Bytes Per Second to Megabits Per Hour is represented as follows :

Mbit/Hour = Bps x 8 / 10002 x 60 x 60

Now let us apply the above formula and, write down the steps to convert from Bytes Per Second (Bps) to Megabits Per Hour (Mbit/Hour).

1. STEP 1 → Megabits Per Hour = Bytes Per Second x 8 / 10002 x 60 x 60
2. STEP 2 → Megabits Per Hour = Bytes Per Second x 8 / (1000x1000) x 60 x 60
3. STEP 3 → Megabits Per Hour = Bytes Per Second x 8 / 1000000 x 60 x 60
4. STEP 4 → Megabits Per Hour = Bytes Per Second x 0.000008 x 60 x 60

Example : If we apply the above steps, conversion from 10 Bps to Mbit/Hour, will be processed as below.

1. = 10 x 8 / 10002 x 60 x 60
2. = 10 x 8 / (1000x1000) x 60 x 60
3. = 10 x 8 / 1000000 x 60 x 60
4. = 10 x 0.000008 x 60 x 60
5. = 0.288
6. i.e. 10 Bps is equal to 0.288 Mbit/Hour.

(Result rounded off to 40 decimal positions.)

You can use above formula and steps to convert Bytes Per Second to Megabits Per Hour using any of the programming language such as Java, Python or Powershell.

#### Definition : Byte

A Byte is a unit of digital information that typically consists of 8 bits and can represent a wide range of values such as characters, binary data and it is widely used in the digital world to measure the data size and data transfer speed.

#### Definition : Megabit

A Megabit (Mb or Mbit) is a unit of digital information that is equal to 1,000,000 bits and it is commonly used to express data transfer speeds, such as the speed of an internet connection and to measure the size of a file. In the context of data storage and memory, the binary-based unit of mebibit (Mibit) is used instead.

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

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

ABC
1Bytes Per Second (Bps)Megabits Per Hour (Mbit/Hour)
21=A2 * 0.000008 * 3600
3

Download - Excel Template for Bytes Per Second to Megabits 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 Mbit/Hour Conversion

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

bytesPerSecond = int(input("Enter Bytes Per Second: "))
megabitsPerHour = bytesPerSecond * 8 / (1000*1000) * 60 * 60
print("{} Bytes Per Second = {} Megabits Per Hour".format(bytesPerSecond,megabitsPerHour))

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