Calculate Conversion ⇆

Data storage

Data storage converter

Megabytes to gigabytes, GB to GiB, bits to bytes. This is the category where two different definitions share the same prefixes.

8 GB = 8,000 MB

Both scales, lined up

The short answer

In decimal (SI) units, 1 GB is 1,000 MB and 1 TB is 1,000 GB. In binary units, 1 GiB is 1,024 MiB. That is why a 1 TB drive (10¹² bytes) shows as about 931 GB in Windows, which counts in binary units but labels them GB.

Worked example: 1 TB = 1,000,000,000,000 bytes ÷ 1,073,741,824 ≈ 931.3 GiB. 8 GB = 8,000 MB.

Data storage has two competing definitions of the same prefixes, and the disagreement is why a "1 TB" drive shows up as 931 GB when you plug it in. Nothing is missing and nobody is cheating. The drive and the operating system are counting in different bases.

The short version. Storage manufacturers use decimal units: 1 TB = 1,000,000,000,000 bytes. Windows displays binary units but labels them with decimal names, so it divides by 1,099,511,627,776 and prints "931 GB". Both numbers describe the same drive.

Quick reference

Gigabytes (1000)Megabytes (1000)
1 GB1,000 MB
2 GB2,000 MB
4 GB4,000 MB
8 GB8,000 MB
16 GB16,000 MB
32 GB32,000 MB
64 GB64,000 MB
128 GB128,000 MB
256 GB256,000 MB

The table follows whichever units you select above.

Decimal and binary prefixes

DecimalBytesBinaryBytes
1 kB1,0001 KiB1,024
1 MB1061 MiB1,048,576
1 GB1091 GiB1,073,741,824
1 TB10121 TiB1,099,511,627,776

The binary prefixes — kibi, mebi, gibi, tebi — were standardised by the IEC in 1998 precisely to end this confusion. Linux and macOS largely adopted them or switched to true decimal reporting. Windows did neither, and still shows binary quantities under decimal labels.

The gap widens as the units grow. At kilobytes it is 2.4 per cent. At terabytes it is nearly 10 per cent, which is exactly the "missing" space on a new drive.

Bits versus bytes

A byte is eight bits, and the distinction matters most for internet speeds. Connections are sold in megabits per second (Mbps); files download in megabytes per second (MB/s). Divide by eight to go from the advertised figure to the one your download manager shows.

A 100 Mbps connection therefore tops out around 12.5 MB/s, and that is before protocol overhead. People who feel their connection is a eighth as fast as promised are usually comparing the two units.

Common questions

Why does my 1 TB drive show 931 GB?

Because the manufacturer counted 1012 bytes and your operating system divided by 240. 1012 ÷ 1,099,511,627,776 is 0.909, so 1 TB displays as about 931 GiB — which Windows labels "GB". The space is all there.

How many MB in a GB?

1,000 using decimal units, or 1,024 if the source means MiB in a GiB. Which one depends on who wrote the number.

How fast is 100 Mbps in MB/s?

12.5 MB/s in theory, typically 11 to 12 in practice after overhead.