Skip to content
cliplimeClipLime

Convert MB to GB

Megabytes to gigabytes, with the decimal and binary answers shown together.

Megabytes to gigabytes

MB

Convention

500 megabytes equals

0.5 GB

Decimal convention: 1 GB = 1,000 MB. This is the exact value.

How it is worked out

  1. Decimal: divide the megabytes by 1,000 to get gigabytes.
  2. 1 MB = 0.001 GB (exact).
  3. 500 MB × 0.001 = 0.5 GB.

Both conventions side by side

  • 500 MB = 0.5 GB

    Decimal convention: 1 GB = 1,000 MB, so each step is a factor of 1,000. Drive makers, macOS and network speeds use it.

  • 500 MiB = 0.48828125 GiB

    Binary convention: 1 GiB = 1,024 MiB, so each step is a factor of 1,024. Memory (RAM) is sized this way, and Windows counts this way but writes MB and GB.

The binary answer is smaller because you divide by 1,024 instead of 1,000. Each binary unit is a little bigger than its decimal twin.

Common sizes in MB and GB, both ways

The same number gives two different answers. Decimal divides by 1,000, binary divides by 1,024.

Common sizes in MB and GB, both ways. Values are rounded to 4 decimal places.
Number of MB (or MiB)Decimal: MB to GBBinary: MiB to GiB
10.0010.001
100.010.0098
1000.10.0977
2500.250.2441
5000.50.4883
5120.5120.5
7500.750.7324
1,00010.9766
1,0241.0241
2,0482.0482
4,0964.0964
8,1928.1928

Values are rounded to 4 decimal places. The calculation above is exact.

At a glance

Convention
This page opens on decimal: 1 GB = 1,000 MB. The binary answer, 1 GiB = 1,024 MiB, is always shown beside it and one tap away.
Formula
Decimal: GB = MB ÷ 1,000. Binary: GiB = MiB ÷ 1,024.
Examples
500 MB = 0.5 GB decimal, or 0.48828125 GiB if the 500 are MiB. 4,096 MB = 4.096 GB, but 4,096 MiB is exactly 4 GiB.
The catch
A lowercase b is a bit. 1,000 Mb (megabits) is 125 MB (megabytes), not 1 GB.
Also shown
A table from 1 to 8,192, read as MB for the decimal answer and as MiB for the binary one, with both answers on each row.
Price
Free, no sign-up. Runs in your browser.

How to do it

  1. 1

    Enter the megabytes

    Type the number in Value. The box starts at 500.

  2. 2

    Choose the convention

    Decimal divides by 1,000. Binary divides by 1,024. If you are unsure, read both answers in the list under the result.

  3. 3

    Read the gigabytes

    The big number follows your choice. The working shows the factor and the division.

  4. 4

    Go the other way

    Press the swap button to turn gigabytes into megabytes, or open the GB to MB page.

Which convention this page uses, and how to switch

The page opens on the decimal convention that the SI system defines: a gigabyte is 1,000 megabytes. That is the one on drive packaging, in macOS and in network and plan figures. The binary convention divides by 1,024 and uses the names mebibyte (MiB) and gibibyte (GiB). It is how memory is sized and how Windows counts, although Windows labels the result MB and GB.

The buttons above the result switch between the two, and the list below the result always shows both. 1,024 MB is 1.024 GB on the decimal convention, while 1,024 MiB is exactly 1 GiB on the binary one, which is the clearest example of why the answers differ.

The formula and worked examples

  • 250 MB is 0.25 GB decimal. 250 MiB is 0.244140625 GiB binary.
  • 1,500 MB is 1.5 GB decimal.
  • 4,096 MiB, a common memory size, is exactly 4 GiB binary, which is why a 4 GB stick of RAM is really 4 GiB. Read as 4,096 MB it would be 4.096 GB decimal.
  • 25 MB, the attachment limit on many email services, is 0.025 GB.

The decimal answer always has the digits of the megabyte number shifted three places. The binary answer needs a real division, so it often has a long decimal tail. The table under the converter runs from 1 to 8,192 and gives the decimal answer (MB to GB) and the binary answer (MiB to GiB) on each row.

MB or Mb? A bit is not a byte

Speeds and some plan sizes are written in megabits, with a lowercase b. Eight bits make a byte, so 1 megabyte is 8 megabits, and 1,000 megabits is 125 megabytes. Dividing 1,000 Mb by 1,000 to get 1 Gb is a valid conversion between bits, but it does not give you 1 GB. Check the letter before you start.

When the number matters

Rounding a file to the nearest gigabyte is harmless, but a limit can be exact. An upload that must be under 1 GB should be under 1,000 MB to be safe, since some systems count 1 GB as 1,000 MB and others count 1 GiB as 1,024 MiB, often still called GB and MB. If a limit or a quota decides what you can do, use the smaller, decimal reading.

Questions people ask

How many MB are in a GB?

1,000 MB in a decimal GB, and 1,024 MiB in a binary GiB. This page shows both.

How do I convert 500 MB to GB?

Divide by 1,000: 500 MB is 0.5 GB. On the binary convention, 500 MiB is 0.48828125 GiB.

What is 1,024 MB in GB?

1.024 GB with the decimal convention. With the binary convention, 1,024 MiB is exactly 1 GiB.

Why are there two answers?

Because the prefixes were used two ways. Decimal prefixes step by 1,000. Binary prefixes step by 1,024, and the standard names for them are mebibyte and gibibyte.

Is converting Mb to Gb the same?

The division is the same, but a megabit is an eighth of a megabyte. So 1,000 Mb is 1 Gb, which is 125 MB.

Which should I use for a data plan or an email limit?

Check the provider's terms. Many use decimal, but some use binary. When the limit matters, use the smaller figure (decimal) to be safe.