Unit Converters

Data Storage Units: Bytes, KB, MB, GB, TB Explained

KB or KiB? Why a 1 TB drive shows 931 GB, how decimal and binary prefixes differ, and a conversion table for bytes through terabytes.

3 min read·Updated 2026-07-15

You buy a 1 TB drive and the operating system reports about 931 GB. Neither number is wrong — they use different definitions of a gigabyte. This guide explains the binary and decimal prefixes, why the gap appears at every level, and gives you a table for moving between units without guesswork.

Binary versus decimal

Early computers counted in powers of two, so the industry borrowed the SI prefixes and quietly gave them new meanings: 1 KB = 1,024 bytes, 1 MB = 1,024 KB, and so on upward. Storage manufacturers, working in base ten, define 1 KB = 1,000 bytes. In 1998 the IEC introduced unambiguous symbols — KiB, MiB, GiB, TiB — for the binary versions, reserving KB, MB, GB and TB for the decimal ones. Windows still displays "GB" while dividing by 1,024³, and that mismatch is where the confusion lives.

Why a 1 TB drive shows less

The drive holds exactly 1,000,000,000,000 bytes. Windows divides by 1,073,741,824 (1,024³) to reach its gigabyte figure, so it reports 1,000,000,000,000 ÷ 1,073,741,824 ≈ 931 GB. The same arithmetic on a "4 TB" drive gives about 3,638 GiB. No capacity has vanished — only the divisor changed. File system overhead and the recovery partition explain the few gigabytes beyond that.

The two ladders side by side

UnitDecimal (SI)Binary (IEC)Gap
KB / KiB1,000 B1,024 B2.4%
MB / MiB10⁶ B1,048,576 B4.9%
GB / GiB10⁹ B1,073,741,824 B7.4%
TB / TiB10¹² B1,099,511,627,776 B10.0%
  • Decimal: multiply bytes by 1,000 at each step — 1 kB = 10³ B, 1 MB = 10⁶ B, 1 GB = 10⁹ B, 1 TB = 10¹² B.
  • Binary: multiply by 1,024 — 1 KiB = 2¹⁰ B, 1 MiB = 2²⁰ B, 1 GiB = 2³⁰ B, 1 TiB = 2⁴⁰ B.
  • Network speeds are decimal: a 100 Mbps link moves 12.5 MB per second, because bits and bytes differ by a factor of eight as well.

Which definition should you quote?

Follow the context. Hardware, network bandwidth, cloud storage billing and film file sizes use decimal units, so quote KB, MB and GB there. Memory (RAM), game installs quoted in GiB, and Linux tools such as df report binary values. When the source does not say which it means, work from the bytes — they are the only unit with no ambiguity. Convert any figure with the Data Storage Converter, which handles both ladders in one step. As a handy check: a 1 GiB file on a 100 MB/s link takes about 10.7 seconds to transfer, because 1 GiB is 1,073.74 MB.

Frequently asked questions

Which is technically correct? Both are correct under their own standards. The IEC prefixes exist purely to tell them apart, and the kilobyte ambiguity has been resolved on paper since 1998 — habit keeps it alive.

Why did my download finish slower than promised? Speeds are marketed in megabits (Mbps) while files are counted in megabytes: divide the advertised number by eight to get the real megabyte rate.

Do cloud providers use 1000 or 1024? Almost all major providers bill in decimal GB and TB. Backup software often reports in binary GiB, which is why restored capacity looks slightly smaller than billed capacity.

Tools used in this guide

Related guides