ShareYourGroupShareYourGroupTime and Data Calculators

KB or KiB: kilobytes, kibibytes and why the two exist

The same word, kilo, was used for 1,000 and for 1,024. The IEC prefixes were made to end the confusion.

What happened

Early computer engineers noticed that 2^10, which is 1,024, is nearly equal to 1,000, and began to use the SI prefix "kilo" for 1,024. NIST's page on binary prefixes describes this history: people who worked with computers knew that "kilobyte" implied 1,024 bytes in their field, but the same word meant exactly 1,000 everywhere else. As memory and disks grew, the gap between 1,000^n and 1,024^n grew too: about 2.4 percent at kilo, about 4.9 percent at mega, about 7.4 percent at giga and about 10 percent at tera.

The fix: binary prefixes

The International Electrotechnical Commission introduced names for the powers of 1,024. NIST's page lists them: kibi (Ki), mebi (Mi), gibi (Gi), tebi (Ti) and so on, from the words "kilo binary" and so on. One kibibit is 2^10 = 1,024 bits, and one mebibyte is 2^20 bytes.

Decimal (SI)BytesBinary (IEC)Bytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB10^121 TiB1,099,511,627,776

Who uses what

How to avoid mistakes

  1. When a number matters, find out which system it uses.
  2. In your own writing, use KiB, MiB and GiB for powers of 1,024, and KB, MB and GB for powers of 1,000.
  3. For a quick estimate, treat them as equal up to GB, then remember the gap at terabyte scale.

Use the byte converter to see the same amount in both systems.

Why is my 500 GB drive 465 GB in Windows?

500 x 10^9 bytes is about 465.7 GiB. The number is right; the label "GB" is the old convention for GiB.

Is KiB used by everyone?

No, but it is the unambiguous name when you need it.

Sources

  • NIST, "Prefixes for binary multiples" (physics.nist.gov/cuu/Units/binary.html), read 14 November 2026

This is an independent guide. It is not connected with the IERS, BIPM, IANA, NIST or any company named here. Facts were read on 14 November 2026 from the sources named on each page; calculated values come from Python.