Data Unit Calculator

Convert between data units (KB, MB, GB, TB).

Convert between data sizes in both systems at once: decimal units (bytes, kB, MB, GB, TB, which go up by 1,000) and binary units (KiB, MiB, GiB, TiB, which go up by 1,024), plus bits. Enter a value and unit to see every equivalent. It explains why a "1 TB" drive shows about 931 GB in Windows: the drive maker counts in decimal and Windows counts in binary but labels it GB.

Bits4,000,000,000,000
Bytes500,000,000,000
KB (×1000^1)500,000,000
MB (×1000^2)500,000
GB (×1000^3)500
TB (×1000^4)0.5
PB (×1000^5)0.0005
KiB (×1024^1)488,281,250
MiB (×1024^2)476,837.158203
GiB (×1024^3)465.661287
TiB (×1024^4)0.454747
PiB (×1024^5)0.000444
A “500 GB” drive shows as about 465.66 GB in Windows, because Windows counts in binary units (GiB) but labels them GB. Nothing is missing; the two systems just count differently.

Decimal units (KB, MB, GB) step by 1,000 and are used by drive makers, macOS and network speeds. Binary units (KiB, MiB, GiB) step by 1,024 and are what Windows and RAM sizes actually use.

Common use cases

  • Understand why a drive or memory card looks smaller than advertised
  • Convert file sizes between MB and MiB for documentation
  • Convert bits and bytes for network and storage planning

How to use

  1. Enter a value.
  2. Choose its unit.
  3. Read the equivalent in every other unit.

FAQ

Is a kilobyte 1,000 or 1,024 bytes?

Officially 1,000 (kB); 1,024 bytes is a kibibyte (KiB). Windows and much older software still use KB to mean 1,024.

How long will a file take to download?

Use the bandwidth calculator.