Mbit to GiB Calculator - Convert Megabits to Gibibytes

High Precision Data Unit Conversion

Conversion History (Last 6)

Input Megabit - and press Enter

Complete List of Megabit Converters

Quick Navigation

Mbit to GiB - Conversion Formula and Steps

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

Mbit to GiB Converter Image
Source Data UnitTarget Data Unit
Megabit (Mbit)
Equal to 1000^2 bits
(Decimal Unit)
Gibibyte (GiB)
Equal to 1024^3 bytes
(Binary Unit)

The formula of converting the Megabit to Gibibyte is represented as follows :

GiB = Mbit x 10002 / (8x10243)

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

Now let us apply the above formula and, write down the steps to convert from Megabit (Mbit) to Gibibyte (GiB).

  1. STEP 1 → Gibibyte = Megabit x 10002 / (8x10243)
  2. STEP 2 → Gibibyte = Megabit x (1000x1000) / (8x1024x1024x1024)
  3. STEP 3 → Gibibyte = Megabit x 1000000 / 8589934592
  4. STEP 4 → Gibibyte = Megabit x 0.000116415321826934814453125

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

  1. = 10 x 10002 / (8x10243)
  2. = 10 x (1000x1000) / (8x1024x1024x1024)
  3. = 10 x 1000000 / 8589934592
  4. = 10 x 0.000116415321826934814453125
  5. = 0.00116415321826934814453125
  6. i.e. 10 Mbit is equal to 0.00116415321826934814453125 GiB.

(Result rounded off to 40 decimal positions.)

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

Popular Mbit Conversions

Conversion Units

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.
- Learn more..

Definition : Gibibyte

A Gibibyte (GiB) is a unit of digital information that is equal to 1,073,741,824 bytes (or 8,589,934,592 bits) and is defined by the International Electro technical Commission(IEC). The prefix "gibi" is derived from the binary number system and it is used to distinguish it from the decimal-based "gigabyte" (GB). 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..

Excel Formula to convert from Mbit to GiB

Apply the formula as shown below to convert from Megabit to Gibibyte.

1Megabit (Mbit)Gibibyte (GiB) 
21=A2 * 0.000116415321826934814453125 

Download - Excel Template for Megabit to Gibibyte Conversion

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

Python Code for Mbit to GiB Conversion

You can use below code to convert any value in Megabit to Gibibyte in Python.

megabit = int(input("Enter Megabit: "))
gibibyte = megabit * (1000*1000) / (8*1024*1024*1024)
print("{} Megabit = {} Gibibyte".format(megabit,gibibyte))

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