Data Storage Converter

AGTUX Converters
Updated

A data storage converter looks trivial until you meet two different answers to the question of how many megabytes are in a gigabyte. Both are right: 1 GB = 1,000 MB and 1 GiB = 1,024 MiB. This converter keeps the two systems apart, adds bits for connection speeds and calculates the result as you type.

How to use the converter

  1. Type a value, for example 256.
  2. Choose the starting unit under From and the target unit under To. Swap exchanges them.
  3. The result is shown right away. Quick Overview below lists the same amount of data in every other unit, decimal and binary.

How many MB in a GB: 1000 or 1024?

It depends on who is counting.

Decimal units (kB, MB, GB, TB) use SI prefixes, where kilo means one thousand. Makers of hard drives, SSDs, flash drives and memory cards count this way, as do mobile carriers and macOS.

Binary units (KiB, MiB, GiB, TiB) go up in steps of 1,024, which is 2¹⁰. They follow the way a computer addresses memory. They have their own binary prefixes, kibi, mebi and gibi, introduced in 1998.

The confusion comes from Windows, which counts in binary but labels the result with the decimal symbol GB. RAM is also quoted in “GB” that are really binary.

UnitBytesUnitBytes
1 kB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB1,000,000,000,0001 TiB1,099,511,627,776

The gap widens with size. It is 2.4% for the kilobyte, 7.4% for the gigabyte and 10% for the terabyte.

Why a 1 TB drive shows 931 GB

The manufacturer prints 1 TB on the box and means one trillion bytes. Windows divides the same trillion bytes by 1,024 three times and displays 931. Nothing is missing. It is the same number of bytes expressed in a different unit.

On the boxActual capacity in GiB (shown as “GB” in Windows)
64 GB59.6
128 GB119.2
256 GB238.4
500 GB465.7
1 TB931.3
2 TB1,862.6

A few more gigabytes then go to the file system and, on phones and computers, to the operating system itself. That is a separate matter from unit conversion.

Bits and bytes: internet speed versus file size

A byte is eight bits. A lowercase b stands for bit and an uppercase B for byte. Connection speed is quoted in megabits per second (Mbps), file size in megabytes (MB). That is why a 100 Mbps connection downloads at 12.5 MB/s at most.

Connection speedMaximum download rateA 5 GB file takes
25 Mbps3.125 MB/s26 min 40 s
100 Mbps12.5 MB/s6 min 40 s
300 Mbps37.5 MB/s2 min 13 s
1 Gbps125 MB/s40 s

These times assume an ideal line. Real speed also depends on the server, on Wi-Fi and on network load.

In the converter, enter 100, choose Megabit and convert to Megabyte. The answer is 12.5; read both numbers as “per second”.

How much fits

Rough figures in the decimal units that manufacturers use:

  • A phone photo of about 4 MB: roughly 16,000 fit in 64 GB.
  • An MP3 track of about 8 MB: around 125 tracks per GB.
  • An hour of Full HD video from a phone takes roughly 4 to 8 GB depending on settings.
  • A 10 GB data plan is 10,000 MB. An hour of high-definition streaming uses around 3 GB.

Frequently asked questions

How many MB are in 1 GB? One gigabyte is 1,000 megabytes. One gibibyte (GiB) is 1,024 mebibytes (MiB). If a system shows "GB" but counts in steps of 1,024, it is really reporting GiB.
What is the difference between GB and GiB? A GB is one billion bytes; a GiB is 1,073,741,824 bytes. The GiB is 7.4% larger. 16 GiB of memory equals 17.18 GB.
Is it kB or KB? Under SI the correct symbol is a lowercase k, so kB. KB is very widespread and in practice means the same, although it often leaves open whether 1,000 or 1,024 bytes are meant. Only KiB is unambiguous.
How many GB are in 1 TB? One terabyte is 1,000 GB. In binary units it is 931.3 GiB, which is the figure Windows shows for a one-terabyte drive.
What does a result like 9.31e-10 mean? It is scientific notation for a very small number: 9.31 × 10⁻¹⁰, or 0.000000000931. It appears when you convert a small unit into a much larger one, such as bytes into terabytes.