Unit converter

Megabytes to gigabytes.

Convert MB to GB and GB to MB. Type in either box and the other follows. A thousand megabytes to the gigabyte, the way storage is sold. Software counting in binary will show a slightly different number.

MB → GBExact definition
Megabytes to gigabytes — common values, to 6 significant figures.
MBGB
100 MB0.1 GB
250 MB0.25 GB
500 MB0.5 GB
1000 MB1 GB
2000 MB2 GB
5000 MB5 GB
10000 MB10 GB
50000 MB50 GB
1 MB=0.001 GB 1 GB=1000 MB

Definitions

  • The megabyte is a million bytes when a drive maker or a network operator uses it. Some software still shows 1 048 576 bytes and calls it MB.
  • The gigabyte is a thousand million bytes. Storage is sold in gigabytes; Windows reports the same space in gibibytes, which is why a drive looks smaller than the box.
  • This conversion is exact by definition. 1 MB = 0.001 GB.
  • Decimal prefixes (kB, MB, GB) are powers of 1000; binary prefixes (KiB, MiB, GiB) are powers of 1024. Drive makers use decimal; operating systems often report binary, which is why a 1 TB drive shows as 931 GiB.

How it works

One direction multiplies and the other divides by the same number, so nothing is lost by going back and forth.

The value passes through B, the unit every other digital storage unit on the site is defined against, rather than a number written into this page on its own. That is why the figure here, the figure in the table above and the general digital storage converter always agree.

Display precision limits significant figures rather than decimal places, because one fixed number of decimals is useless across a range this wide. Very large and very small results switch to scientific notation with a proper superscript exponent. The editable box always holds a plain number at full working precision, so you can carry on from either side.

Common questions this answers: how many gigabytes in a megabyte (1000 kb) (0.001), how many megabytes in a gigabyte (1000 mb) (1000), and what 500 MB is in gigabytes (0.5 GB).