How Many MB in a GB? Decimal and Binary Storage Units Explained

By 4 min read

There are 1,000 megabytes (MB) in a gigabyte (GB) in the decimal system, which drive makers, phone makers and internet providers use. Windows and some older software count in binary instead, where each step is 1,024 rather than 1,000, so one "gigabyte" there is 1,024 "megabytes". Strictly, the binary units have their own names: a gibibyte (GiB) of 1,024 mebibytes (MiB). Both systems are in use, which is why the same drive or file can show two different sizes.

Decimal and binary units side by side

Unit Decimal (SI) Binary (IEC)
Kilobyte 1 KB = 1,000 bytes 1 KiB = 1,024 bytes
Megabyte 1 MB = 1,000 KB = 1,000,000 bytes 1 MiB = 1,024 KiB = 1,048,576 bytes
Gigabyte 1 GB = 1,000 MB = 1,000,000,000 bytes 1 GiB = 1,024 MiB = 1,073,741,824 bytes
Terabyte 1 TB = 1,000 GB = 1,000,000,000,000 bytes 1 TiB = 1,024 GiB = 1,099,511,627,776 bytes

The gap grows at every step, because the extra 2.4% compounds:

  • A binary kilobyte is 2.4% bigger than a decimal one.
  • A binary megabyte is 4.9% bigger.
  • A binary gigabyte is 7.4% bigger.
  • A binary terabyte is 10.0% bigger.

Why does my 1 TB drive show 931 GB?

A drive sold as 1 TB holds 1,000,000,000,000 bytes. Windows divides that by 1,073,741,824 bytes per gigabyte, gets 931.32 and shows "931 GB", even though it really means GiB. Nothing is missing. It is the same number of bytes counted with a bigger unit. Seagate gives the same explanation, with a 500 GB drive showing as 465 GB in Windows.

The same thing happens with smaller storage. A 64 GB USB stick holds 64,000,000,000 bytes, which Windows shows as 59.6 GB. Formatting also reserves a little space for the file system, so the free space on a new drive is slightly lower again.

Apple devices are different. Apple says iOS 10 and earlier and OS X Leopard and earlier reported storage in binary. Newer versions of macOS and iOS count in decimal, the same way as the box, so a 1 TB drive shows close to 1 TB on a current Mac.

How to convert between KB, MB, GB and TB

In decimal units, divide by 1,000 to go up one unit and multiply by 1,000 to go down one.

These converters all use decimal units, the ones printed on drives and phones. For binary units, use 1,024 at each step instead. A file that Windows shows as 1,536 MB is 1,536 ÷ 1,024 = 1.5 GB in binary terms. In bytes it is 1,536 × 1,048,576 = 1,610,612,736 bytes, which is 1.61 GB in decimal.

MB and Mb: bytes and bits

A capital B means bytes and a small b means bits. File sizes are given in megabytes (MB). Internet speeds are given in megabits per second (Mbps). One byte is 8 bits, so 1 MB = 8 Mb, and the MB to Mb converter turns 25 MB into 200 Mb.

This is why a 100 Mbps connection never downloads 100 MB per second. At best it moves 100 ÷ 8 = 12.5 MB per second.

Worked example: how long will a download take?

You want to download a 1 GB file on a 100 Mbps connection.

  1. Convert the file to megabytes: 1 GB = 1,000 MB.
  2. Convert megabytes to megabits: 1,000 MB × 8 = 8,000 Mb.
  3. Divide by the speed: 8,000 Mb ÷ 100 Mbps = 80 seconds.

A 5 GB game on a 50 Mbps connection works the same way: 5,000 MB × 8 = 40,000 Mb, and 40,000 ÷ 50 = 800 seconds, or 13 minutes 20 seconds. Real downloads usually take a little longer, because some of the connection carries network overhead and the server may not send at your full speed.

Which number should I trust?

Both are correct. They are the same amount of data in different units. A few rules keep you from being caught out:

  • Buying storage: the label is in decimal units. A 1 TB drive will show about 931 GB in Windows.
  • Checking whether files fit: compare numbers from the same place. Windows shows both file sizes and free space in binary units, so they compare fairly with each other.
  • Upload limits: a website may count a megabyte as 1,000,000 or 1,048,576 bytes, and many do not say which. Leave some room. A file Windows shows as 9.8 MB is about 10.28 million bytes (9.8 × 1,048,576), which is over a 10 MB limit counted in decimal.
  • Internet speeds: these are in bits, not bytes. Divide Mbps by 8 for MB per second.

Questions and answers

Is 1 GB 1,000 MB or 1,024 MB?

Both are used. In decimal (SI) units, which storage makers use, 1 GB is 1,000 MB. In binary units, used by Windows, it is 1,024 MiB, properly called a gibibyte (GiB).

What is the difference between GB and GiB?

A GB is 1,000,000,000 bytes. A GiB is 1,073,741,824 bytes, about 7.4% more. Windows labels GiB values as GB, which causes most of the confusion.

How many GB are in a TB?

1,000 GB in decimal units, or 1,024 GiB in binary units. A 1 TB drive therefore shows as about 931 GB in Windows.

Why is my download speed 8 times lower than my plan?

Plans are sold in megabits per second (Mbps), but browsers show downloads in megabytes per second (MB/s). Divide Mbps by 8: a 100 Mbps plan moves at most 12.5 MB per second.

Related guides

More from the blog