MiB to Gbit Calculator - Convert Mebibytes to Gigabits

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Mebibyte - and press Enter

Complete List of Mebibyte Converters

Quick Navigation

MiB to Gbit - Conversion Formula and Steps

Mebibyte and Gigabit are units of digital information used to measure storage capacity and data transfer rate. Mebibyte is a binary standard unit where as Gigabit is decimal. One Mebibyte is equal to 1024^2 bytes. One Gigabit is equal to 1000^3 bits. There are 119.20928955078125 Mebibytes in one Gigabit. - view the difference between both units

MiB to Gbit Converter Image
Source Data UnitTarget Data Unit
Mebibyte (MiB)
Equal to 1024^2 bytes
(Binary Unit)
Gigabit (Gbit)
Equal to 1000^3 bits
(Decimal Unit)

The formula of converting the Mebibyte to Gigabit is represented as follows :

Gbit = MiB x (8x10242) / 10003

Note : Here we are converting the units between different standards. The source unit Mebibyte is Binary where as the target unit Gigabit is Decimal. In such scenario, first we need to convert the source unit to the basic unit - Byte - multiply with 8x1024^2, and then convert to target unit by dividing with 1000^3 .

Now let us apply the above formula and, write down the steps to convert from Mebibyte (MiB) to Gigabit (Gbit). This way, we can try to simplify and reduce to an easy to apply formula.


Gigabit = Mebibyte x (8x10242) / 10003


Gigabit = Mebibyte x (8x1024x1024) / (1000x1000x1000)


Gigabit = Mebibyte x 8388608 / 1000000000


Gigabit = Mebibyte x 0.008388608

Example : If we apply the above Formula and steps, conversion from 10 MiB to Gbit, will be processed as below.

  1. = 10 x (8x10242) / 10003
  2. = 10 x (8x1024x1024) / (1000x1000x1000)
  3. = 10 x 8388608 / 1000000000
  4. = 10 x 0.008388608
  5. = 0.08388608
  6. i.e. 10 MiB is equal to 0.08388608 Gbit.

(Result rounded off to 40 decimal positions.)

You can use above formula and steps to convert Mebibyte to Gigabit using any of the programming language such as Java, Python or Powershell.

Popular MiB Conversions

Conversion Units

Definition : Mebibyte

A Mebibyte (MiB) is a unit of digital information that is equal to 1,048,576 bytes (or 8,388,608 bits) and is defined by the International Electro technical Commission(IEC). The prefix "mebi" is derived from the binary number system and it is used to distinguish it from the decimal-based "megabyte" (MB). It is widely used in the field of computing as it more accurately represents the amount of data storage and data transfer in computer systems.
- Learn more..

Definition : Gigabit

A Gigabit (Gb or Gbit) is a unit of digital information that is equal to 1,000,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 gibibit (Gibit) is used instead.
- Learn more..

Excel Formula to convert from MiB to Gbit

Apply the formula as shown below to convert from Mebibyte to Gigabit.

1Mebibyte (MiB)Gigabit (Gbit) 
21=A2 * 0.008388608 

Download - Excel Template for Mebibyte to Gigabit Conversion

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

Python Code for MiB to Gbit Conversion

You can use below code to convert any value in Mebibyte to Gigabit in Python.

mebibyte = int(input("Enter Mebibyte: "))
gigabit = mebibyte * (8*1024*1024) / (1000*1000*1000)
print("{} Mebibyte = {} Gigabit".format(mebibyte,gigabit))

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