Data Storage Converter
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
- Type a value, for example 256.
- Choose the starting unit under From and the target unit under To. Swap exchanges them.
- 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.
| Unit | Bytes | Unit | Bytes |
|---|---|---|---|
| 1 kB | 1,000 | 1 KiB | 1,024 |
| 1 MB | 1,000,000 | 1 MiB | 1,048,576 |
| 1 GB | 1,000,000,000 | 1 GiB | 1,073,741,824 |
| 1 TB | 1,000,000,000,000 | 1 TiB | 1,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 box | Actual capacity in GiB (shown as “GB” in Windows) |
|---|---|
| 64 GB | 59.6 |
| 128 GB | 119.2 |
| 256 GB | 238.4 |
| 500 GB | 465.7 |
| 1 TB | 931.3 |
| 2 TB | 1,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 speed | Maximum download rate | A 5 GB file takes |
|---|---|---|
| 25 Mbps | 3.125 MB/s | 26 min 40 s |
| 100 Mbps | 12.5 MB/s | 6 min 40 s |
| 300 Mbps | 37.5 MB/s | 2 min 13 s |
| 1 Gbps | 125 MB/s | 40 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.