# GB to MiB Converter - CONVERT Gigabytes to Mebibytes

Copy Link & Share### Excel Formula to convert from GB to MiB

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

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

1 | Gigabyte (GB) | Mebibyte (MiB) | |

2 | 1 | =A2 * 953.67431640625 | |

3 |

Download - Excel Template for Gigabyte to Mebibyte Conversion

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

### Python Code for GB to MiB Conversion

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

gigabyte = int(input("Enter Gigabyte: "))

mebibyte = gigabyte * (1000*1000*1000) / (1024*1024)

print("{} Gigabyte = {} Mebibyte".format(gigabyte,mebibyte))

mebibyte = gigabyte * (1000*1000*1000) / (1024*1024)

print("{} Gigabyte = {} Mebibyte".format(gigabyte,mebibyte))

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