gizmobench

MiB to GB Converter

This pair crosses the line between the two ways of counting storage, which is why the answer never looks round. A mebibyte (MiB) is binary, 2 to the 20th power, so 1,048,576 bytes, and it is the unit a Linux shell, a download manager or an ISO listing usually means by M. A gigabyte (GB) as written here is decimal, 1,000,000,000 bytes, the unit a drive box, a cloud disk and a phone plan are sold in. So GB = MiB x 1,048,576 / 1,000,000,000, which is one multiplication by 0.001048576: 1 MiB is 0.001048576 GB, 700 MiB, a CD image, is 0.7340032 GB, and 1,000 MiB is 1.048576 GB. The number that surprises people is 1,024 MiB, which is 1.073741824 GB and not 1 GB, because 1,024 MiB is a gibibyte and a gibibyte is 7.37 percent more bytes than a gigabyte. This page opens the converter with Mebibyte in the From box and Gigabyte in the To box, ahead of whatever pair you last used, and the list under the headline carries the same size into bits, bytes, kB, MB, TB, KiB, GiB and TiB at once, so 1,024 MiB shows as 1.073741824 GB and exactly 1 GiB side by side.

To0.001048576
Category
Digital storage
Base unit
byte

1 MiB in every digital storage unit

  • Bitbit
    8,388,608
  • ByteB
    1,048,576
  • KilobytekB
    1,048.576
  • MegabyteMB
    1.048576
  • GigabyteGB
    0.001048576
  • TerabyteTB
    0.000001048576
  • KibibyteKiB
    1,024
  • GibibyteGiB
    0.0009765625
  • TebibyteTiB
    9.536743e-7

Common questions

How many MiB are in a GB?
953.674316406 MiB in a decimal gigabyte, and exactly 1,024 MiB in a binary one, the gibibyte (GiB). Press swap on this page and type 1 in the box to see the first of those: 1 GB is 953.674316406 MiB, 4.7 GB is 4,482.26928711 MiB and 100 GB is 95,367.4316406 MiB. The awkward digits are the whole point of the pair, since 1,000,000,000 is not a power of two.
Is 1,024 MiB the same as 1 GB?
No. 1,024 MiB is 1,073,741,824 bytes, which this page reports as 1.073741824 GB and, one row further down, as exactly 1 GiB. The habit of calling 1,024 of something the next unit up is right inside the binary family, where 1,024 MiB is 1 GiB, and wrong when you cross into the decimal one, where the next unit up starts at 1,000,000,000 bytes. Both readings are on screen together so the step is visible rather than assumed.
What is the formula for MiB to GB?
GB = MiB x 0.001048576, because 1,048,576 / 1,000,000,000 is 0.001048576. Going back, MiB = GB x 953.674316406, or exactly GB x 1,000,000,000 / 1,048,576. For the binary target instead, GiB = MiB / 1,024, so 1 MiB is 0.0009765625 GiB. All three are the same table of byte counts read in different directions.
Worked example: what is 8,192 MiB in GB?
8.589934592 GB, and exactly 8 GiB. That is the arithmetic behind an 8 GB memory module: the modules are built in powers of two, so the true figure is 8,589,934,592 bytes, and the label rounds it to the decimal unit. The same run continues at 2,048 MiB is 2.147483648 GB, 4,096 MiB is 4.294967296 GB and 16,384 MiB is 17.179869184 GB.
Which of the two does my computer show?
It depends on which piece of software is doing the printing. Windows Explorer counts in powers of 1,024 and labels the result KB, MB and GB, so its GB is really a GiB. Linux tools such as du and ls with the -h flag do the same and label them M and G, and a torrent client or an ISO listing usually gives MiB outright. Drive boxes, cloud disk sizes and macOS Finder count in decimal, where a GB is 1,000,000,000 bytes. This page puts both on one screen so you can see which one the number you have came from.
What is 3,800 MiB in GB, for a DVD image?
3.9845888 GB, a shade under the 4 GB a single-layer DVD is quoted at. It is a good illustration of why the pair matters: 4,700 MiB is 4.9283072 GB, so an image measured at 4,700 MiB will not fit a disc sold as 4.7 GB, since 4.7 GB is only 4,482.26928711 MiB. Convert before you burn, not after.
Why does 1 MiB in TiB print as 9.536743e-7?
Because results below a millionth switch to exponential notation rather than a row of leading zeroes. In the list for 1 MiB, the tebibyte row reads 9.536743e-7 while the terabyte row is still written out as 0.000001048576. Every figure on the page is shown to twelve significant digits, and the exponential form is the same value in a shape you can read.
Can I convert GB back to MiB here?
Yes. The swap button between the two boxes reverses the pair into gigabytes to mebibytes without a reload, where 1 GB is 953.674316406 MiB and 256 MiB going the other way is 0.268435456 GB. Both menus stay open after the swap, so the same figure can go to GiB, MB or plain bytes: 1 MiB is 1,048,576 bytes and 1.048576 MB.
Why does the page open on mebibytes and gigabytes when I last converted something else?
Because the pair is the point of the page, so it is set on arrival ahead of the pair the converter remembered. The main unit converter is left alone and still opens on your own last pair. The value you had typed comes with you, since it is usually the size you are still chasing.
Does anything I type leave the browser?
No. Every factor here is a constant that ships with the page, the multiplication runs in your browser, and there is nothing to upload and no account to create. The page carries on working offline once it has loaded.

Conversion factors are the exact legal definitions where one exists. An inch is exactly 2.54 cm and a pound exactly 0.45359237 kg, so those conversions are exact rather than approximate. Temperature uses offsets rather than factors, and that is shown in the working.