Kibibytes vs Kilobytes

Understanding Binary e Decimal Storage Unidades

Learn o Difference

Buy a "500 GB" hard drive, e your computer shows apenas 465 GB available. Onde did o missing space go? Nowhere—it's a unidades confusion. Hard drive manufacturers use decimal gigabytes (1,000,000,000 bytes), while operating systems display binary gibibytes (1,073,741,824 bytes). Understanding este distinction prevents confusion e false expectations.

Complete Unidades Comparison

Decimal (SI)BytesBinary (IEC)BytesDifference
1 KB (kilobyte)1,0001 KiB (kibibyte)1,0242.4%
1 MB (megabyte)1,000,0001 MiB (mebibyte)1,048,5764.9%
1 GB (gigabyte)1,000,000,0001 GiB (gibibyte)1,073,741,8247.4%
1 TB (terabyte)10¹²1 TiB (tebibyte)2⁴⁰10%
1 PB (petabyte)10¹⁵1 PiB (pebibyte)2⁵⁰12.6%

Por que Two Systems?

O Binary Sistema (Powers of 2)

Computers naturally work in binary (0s e 1s). Memory addresses, CPU registers, e storage blocks são designed around powers of 2:

  • 2¹⁰ = 1,024 (convenient for memory addressing)
  • 2²⁰ = 1,048,576 (fits neatly in binary architecture)

For decades, "kilobyte" informally meant 1,024 bytes in computing contexts.

O Decimal Sistema (Powers of 10)

O métrico prefix "kilo-" officially means 1,000. Hard drive manufacturers began usando o decimal definition (1 KB = 1,000 bytes) because:

  • It matches SI (International Sistema of Unidades) standards
  • Larger numbers make products look better (500 GB sounds better than 465 GiB)

Onde Cada Sistema Is Usado

Decimal (KB, MB, GB, TB)

  • Hard drive e SSD capacities
  • USB flash drive labels
  • Network data transfer rates
  • Cloud storage quotas
  • File download sizes (web)

Binary (KiB, MiB, GiB, TiB)

  • RAM specifications
  • File sizes in Windows Explorer
  • Linux utilities (mais)
  • Programming/technical contexts
  • Memory allocation

Mixed/Unclear

  • macOS (switched to decimal in 10.6)
  • iOS (decimal)
  • Android (varies)

O "Missing Space" Calculation

Quando your 1 TB drive shows menos capacity in Windows:

Step by Step

  1. 1 TB drive = 1,000,000,000,000 bytes (manufacturer's spec)
  2. Windows displays in GiB: 1,000,000,000,000 ÷ 1,073,741,824
  3. Result: 931.32 GiB (displayed as "931 GB" in Windows)

Comuns Discrepancies

AdvertisedActual BytesShown in Windows"Missing"
250 GB250,000,000,000232.8 GiB7%
500 GB500,000,000,000465.7 GiB7%
1 TB1,000,000,000,000931.3 GiB7%
2 TB2,000,000,000,0001,862.6 GiB7%

RAM vs Storage

RAM é truly measured in binary unidades because memory chips são organized in powers of 2:

  • 4 GB RAM = 4 GiB = 4,294,967,296 bytes
  • 8 GB RAM = 8 GiB = 8,589,934,592 bytes
  • 16 GB RAM = 16 GiB = 17,179,869,184 bytes

RAM manufacturers e operating systems agree on binary medição, so lá's no discrepancy for memory.

Conversão Formulas

Decimal to Binary

  • GB to GiB: Divide by 1.074
  • TB to TiB: Divide by 1.100

Binary to Decimal

  • GiB to GB: Multiply by 1.074
  • TiB to TB: Multiply by 1.100

Examples

  • 500 GB ÷ 1.074 = 465.6 GiB
  • 2 TiB × 1.100 = 2.2 TB

Conclusão

O kibibyte (KiB) e kilobyte (KB) confusion stems from computing's binary nature colliding com o decimal métrico sistema. Quando precision matters, use o IEC binary unidades (KiB, MiB, GiB, TiB) for powers of 1,024 e SI decimal unidades (KB, MB, GB, TB) for powers of 1,000. For cotidiano use, apenas remember: storage drives show sobre 7% menos than advertised quando displayed in your operating sistema.

Artigos Relacionados

Kibibytes vs Kilobytes: Binary vs Decimal Storage Unidades | YounitConverter