Skip to main content

Reference chart

Data Size and Speed Chart

By &Pixels, the studio that builds MyCalculator.to. Decimal and binary units are given side by side, because both are in everyday use and they are not the same.

Why a 1 TB drive shows 931 GB, why a 100 Mbps connection downloads at 12.5 MB/s, and the two factors that explain almost every confusing number in computing.

What is the difference between GB and GiB?

A gigabyte is 1,000,000,000 bytes. A gibibyte is 1,073,741,824, which is two to the thirtieth power. Storage and networking use the decimal units; operating systems and memory largely use the binary ones and then label them with the decimal names.

That single inconsistency explains most of the confusing numbers in computing, and the gap grows with scale: 2.4 percent at kilobytes, 7.4 percent at gigabytes, 10 percent at terabytes. It is why a new drive always looks smaller than the box said.

Decimal against binary

UnitDecimalBinaryGap
Kilobyte (KB)1,000 bytes1,024 bytes (KiB)2.4%
Megabyte (MB)1,000 KB1,048,576 bytes (MiB)4.9%
Gigabyte (GB)1,000 MB1,073,741,824 bytes (GiB)7.4%
Terabyte (TB)1,000 GB1,099,511,627,776 bytes (TiB)10.0%
Petabyte (PB)1,000 TB1,125,899,906,842,624 bytes (PiB)12.6%

The calculators behind this

What a drive actually shows

Sold asReported asApparent shortfall
256 GB238 GiB18 GB
500 GB465 GiB35 GB
1 TB931 GiB69 GB
2 TB1.82 TiB180 GB
4 TB3.64 TiB360 GB
8 TB7.28 TiB720 GB

Connection speed to download speed

The other factor of eight. Connections are sold in megabits and files are measured in megabytes, so the advertised number is always eight times the one you see downloading. The last column is a 1 GB file.

PlanDownload rate1 GB file
25 Mbps3.1 MB/sabout 5 min 20 s
50 Mbps6.3 MB/sabout 2 min 40 s
100 Mbps12.5 MB/sabout 1 min 20 s
300 Mbps37.5 MB/sabout 27 s
500 Mbps62.5 MB/sabout 16 s
1 Gbps125 MB/sabout 8 s

How to read any of these numbers

  1. Check whether it is bits or bytes. A lowercase b is bits, an uppercase B is bytes. The difference is a factor of eight.
  2. Divide a connection speed by 8. A 100 Mbps line moves about 12.5 MB per second at best, before any overhead.
  3. Expect a drive to show less than the box. The box counts in thousands, the operating system counts in 1,024s. Nothing is missing.
  4. Use GiB when the distinction matters. Kibibyte, mebibyte and gibibyte exist precisely so that a number can be unambiguous.
  5. Take 10 to 20 percent off for real transfers. Protocol overhead, contention and the far end all take a share of any advertised rate.

For a specific conversion, the file size converter handles both systems and labels which one it used, and the download speed calculator takes a file size and a connection speed and gives a realistic time rather than the theoretical one.

Formula & Methodology

Formula

seconds = (file MB x 8) / connection Mbps

file MB = file size in megabytes, as your computer reports it

8 = bits per byte, the factor the two units differ by

connection Mbps = the advertised line speed, in megabits

Worked Example

A 1 GB file on a 100 Mbps connection

File in megabits1,000 MB x 8 = 8,000 Mb
Divided by the line speed8,000 / 100 = 80 seconds
Plus real-world overheadabout 10 to 20 percent
ResultRoughly 80 seconds in theory, and about 90 to 95 in practice.
💡

Did you know? The kibibyte, mebibyte and gibibyte were standardised by the IEC in 1998 to end this ambiguity. Nearly thirty years on, storage still sells in decimal units and operating systems still report binary ones under decimal names, so the confusion the standard was written to fix is entirely intact.

Sources

  • IEC 80000-13, quantities and units for information science and technology
  • NIST guidance on binary prefixes for units of information

Common questions

Frequently Asked Questions

Because the box and the operating system are counting differently. The manufacturer uses the decimal terabyte, a million million bytes. Most operating systems divide by 1,024 at each step, so they report the same drive as 931 gibibytes and label it GB anyway. Nothing has been lost and no space has been taken; the two are describing an identical number of bytes with different arithmetic.

A gigabyte is 1,000,000,000 bytes. A gibibyte is 1,073,741,824, which is 2 to the thirtieth. The gibibyte and its relatives were defined in 1998 specifically to end this ambiguity, and adoption has been uneven: storage and networking use the decimal units, while operating systems and memory largely use the binary ones. The gap widens as the units get bigger, from 2.4 percent at kilobytes to 10 percent at terabytes.

Usually because it is not slower, it is being measured in different units. Connections are sold in megabits per second and downloads are reported in megabytes per second, and there are eight bits in a byte. A 100 Mbps connection downloading at 12.5 MB/s is running at exactly its rated speed. On top of that, protocol overhead and contention typically take another 10 to 20 percent.

Divide the file size in megabytes by your connection speed in megabits, then multiply by 8. A 1 GB file on a 100 Mbps line is 1,000 divided by 100, times 8, which is 80 seconds in theory and closer to 95 in practice. The table above does this for a 1 GB file at common connection speeds.

No, and the notation is the only thing separating them. Mb is megabits, MB is megabytes, and the single character is carrying a factor of eight. It is worth reading carefully on anything you are paying for: bandwidth, hosting transfer limits and mobile data allowances are quoted in different ones of the two depending on the vendor.

More developer tools

1 / 6