# MiB to GiB Converter - Mebibytes into Gibibytes

## Digital Data Units - Decimal Vs Binary

Bit Units | Byte Units | ||
---|---|---|---|

DECIMAL | BINARY | DECIMAL | BINARY |

1 Kilobit = 10^{3} or 1000 Bits | 1 Kibibit = 2^{10} or 1024 Bits | 1 Kilobyte = 10^{3} or 1000 Bytes | 1 Kibibyte = 2^{10} or 1024 Bytes |

1 Megabit = 10^{6} or 1000^{2} Bits | 1 Mebibit = 2^{20} or 1024^{2} Bits | 1 Megabyte = 10^{6} or 1000^{2} Bytes | 1 Mebibyte = 2^{20} or 1024^{2} Bytes |

1 Gigabit = 10^{9} or 1000^{3} Bits | 1 Gibibit = 2^{30} or 1024^{3} Bits | 1 Gigabyte = 10^{9} or 1000^{3} Bytes | 1 Gibibyte = 2^{30} or 1024^{3} Bytes |

1 Terabit = 10^{12} or 1000^{4} Bits | 1 Tebibit = 2^{40} or 1024^{4} Bits | 1 Terabyte = 10^{12} or 1000^{4} Bytes | 1 Tebibyte = 2^{40} or 1024^{4} Bytes |

1 Petabit = 10^{15} or 1000^{5} Bits | 1 Pebibit = 2^{50} or 1024^{5} Bits | 1 Petabyte = 10^{15} or 1000^{5} Bytes | 1 Pebibyte = 2^{50} or 1024^{5} Bytes |

1 Exabit = 10^{18} or 1000^{6} Bits | 1 Exbibit = 2^{60} or 1024^{6} Bits | 1 Exabyte = 10^{18} or 1000^{6} Bytes | 1 Exbibyte = 2^{60} or 1024^{6} Bytes |

1 Zettabit = 10^{21} or 1000^{7} Bits | 1 Zebibit = 2^{70} or 1024^{7} Bits | 1 Zettabyte = 10^{21} or 1000^{7} Bytes | 1 Zebibyte = 2^{70} or 1024^{7} Bytes |

1 Yottabit = 10^{24} or 1000^{8} Bits | 1 Yobibit = 2^{80} or 1024^{8} Bits | 1 Yottabyte = 10^{24} or 1000^{8} Bytes | 1 Yobibyte = 2^{80} or 1024^{8} Bytes |

Check Digital Data Storage Units - Smallest to Largest for details and definition for each units.

### Excel Formula to convert from MiB to GiB

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

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

1 | Mebibyte (MiB) | Gibibyte (GiB) | |

2 | 1 | =A2 * 0.0009765625 | |

3 |

Download - Excel Template for Mebibyte 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 MiB to GiB Conversion

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

mebibyte = int(input("Enter Mebibyte: "))

gibibyte = mebibyte / 1024

print("{} Mebibyte = {} Gibibyte".format(mebibyte,gibibyte))

gibibyte = mebibyte / 1024

print("{} Mebibyte = {} Gibibyte".format(mebibyte,gibibyte))

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

## MiB to GB to GiB Conversion Table

Mebibyte (MiB) | Gigabyte (GB) | Gibibyte (GiB) |
---|---|---|

1 MiB | 0.001048576 GB | 0.0009765625 GiB |

2 MiB | 0.002097152 GB | 0.001953125 GiB |

3 MiB | 0.003145728 GB | 0.0029296875 GiB |

4 MiB | 0.004194304 GB | 0.00390625 GiB |

5 MiB | 0.00524288 GB | 0.0048828125 GiB |

6 MiB | 0.006291456 GB | 0.005859375 GiB |

7 MiB | 0.007340032 GB | 0.0068359375 GiB |

8 MiB | 0.008388608 GB | 0.0078125 GiB |

9 MiB | 0.009437184 GB | 0.0087890625 GiB |

10 MiB | 0.01048576 GB | 0.009765625 GiB |

100 MiB | 0.1048576 GB | 0.09765625 GiB |

256 MiB | 0.268435456 GB | 0.25 GiB |

500 MiB | 0.524288 GB | 0.48828125 GiB |

512 MiB | 0.536870912 GB | 0.5 GiB |

1000 MiB | 1.048576 GB | 0.9765625 GiB |

1024 MiB | 1.073741824 GB | 1 GiB |

2048 MiB | 2.147483648 GB | 2 GiB |

5000 MiB | 5.24288 GB | 4.8828125 GiB |

10000 MiB | 10.48576 GB | 9.765625 GiB |