Data Size Converter

Type a size and pick the two units. The answer appears at once.

—

Why does my 1 TB drive show about 931 GB?

Nothing is missing. Drive and phone makers count in thousands, so 1 TB is exactly 1,000,000,000,000 bytes. Windows counts in steps of 1,024 and then writes “GB” for what is really a gibibyte. Divide a trillion bytes by 1,024 three times and you get 931.3 GiB, which Windows shows as 931 GB. Macs and phones count in thousands, so on those 1 TB stays 1 TB. The tool above opens on exactly this example.

Sold asWindows shows (GiB)
64 GB59.6
128 GB119.2
256 GB238.4
512 GB476.8
1 TB931.3
2 TB1,863
4 TB3,725

The drive holds the same number of bytes either way, and only the unit changes. On top of that, a phone or laptop keeps part of the space for its own system files, so a 128 GB phone never starts with 128 GB free.

KB or KiB? Decimal and binary units

The units with an “i” (KiB, MiB, GiB, TiB) are binary, in steps of 1,024. The ones without it (KB, MB, GB, TB, PB) are decimal, in steps of 1,000. The gap is small at first and grows with every step.

UnitDecimal (bytes)Binary (bytes)Gap
Kilo1,0001,0242.4%
Mega1,000,0001,048,5764.86%
Giga1,000,000,0001,073,741,8247.37%
Tera1,000,000,000,0001,099,511,627,7769.95%

At peta the gap reaches 12.6%. RAM is sold in binary sizes (a “16 GB” memory stick is 16 GiB), while storage is sold in decimal ones. Strictly the symbol for 1,000 bytes is a small kB, but almost everyone, and this tool, writes KB.

Why 1,024 and not 1,000?

Computers count in twos, and the nearest power of two to a thousand is 2¹⁰, which is 1,024. Early engineers called that a “kilo” because it was close enough, and the habit spread to memory sizes. Storage makers always used the exact meaning of kilo, mega and giga, which also makes their drives look bigger. In 1998 the IEC settled the argument by adding the binary names: kibi, mebi, gibi, tebi. They are correct, and most operating systems still do not show them.

How many MB in a GB, and GB in a TB?

In decimal units, 1 GB is 1,000 MB and 1 TB is 1,000 GB. In binary units, 1 GiB is 1,024 MiB and 1 TiB is 1,024 GiB. So 5 GB is 5,000 MB, while 5 GiB is 5,120 MiB. The mixed pairs are where people go wrong: 1 GB = 953.674 MiB, and 1 GiB = 1,073.742 MB.

Bits, bytes and internet speed

A byte is 8 bits. A small b means bit and a capital B means byte, so a megabit (Mb) is one eighth of a megabyte (MB). Internet plans are sold in megabits per second, but a download shows megabytes per second, so divide by 8. The times below are the best case: the real speed is lower, and Wi-Fi, the server and other devices all take a share.

Plan (Mbps)MB per second1 GB takes10 GB takes
101.2513 min 20 s2 h 13 min
253.1255 min 20 s53 min 20 s
506.252 min 40 s26 min 40 s
10012.51 min 20 s13 min 20 s
30037.527 s4 min 27 s
50062.516 s2 min 40 s
10001258 s1 min 20 s

A 100 Mbps line moves at most 12.5 MB each second. That is why a 1 GB file takes about 1 min 20 s, not 10 seconds, on a “100” connection.

How big are everyday files?

These are rounded, typical sizes, not exact ones. Quality settings change them a lot.

WhatAbout
A page of plain text, 3,000 characters3 KB
An email without attachments50 KB
A phone photo3 MB
A 3-minute song as MP3 at 128 kbps2.88 MB
A 1-minute phone video in 1080p130 MB
An hour of HD streaming3 GB
An hour of 4K streaming7 GB
A CD700 MB
A Blu-ray disc, one layer25 GB

The song figure comes from the bitrate: 128 kbps is 128 × 180 ÷ 8 = 2,880 KB, which is 2.88 MB. A 1 TB drive therefore holds roughly 300,000 phone photos, or about 330 hours of HD video.

Mistakes that give a wrong answer

  • Mixing up b and B. Mb is megabits and MB is megabytes, a factor of 8 apart. Check the case of the letter.
  • Treating KB as 1,024 bytes when the source counts in thousands, or the other way round. Look for the “i”.
  • Thinking the drive is faulty because Windows shows a smaller number. It counts the same bytes in a different unit.
  • Forgetting that the real download speed is lower than the figure on the plan.
  • Rounding too early. Keep every digit while you work and round the last answer only.

How the tool converts

Every size is kept as a number of bits. Your value is changed into bits first and then into the unit you picked, so the answer is exact even for odd pairs, such as KiB to GB. For example, 1 TB is 8,000,000,000,000 bits and one GiB is 8,589,934,592 bits, so 1 TB = 931.3226 GiB. Very small and very large answers are written in the short form, such as 8 × 10⁻⁹, and answers show up to seven digits.