📌 The Core Confusion: 1024 vs 1000
If you've ever bought a "256 GB" smartphone or "1 TB" external drive, you've noticed it shows less capacity in your operating system. A 256 GB phone might show 238 GB. A 1 TB drive shows about 931 GB. This isn't a scam — it's the difference between binary (base-2) and decimal (base-10) measurement systems.
🖥️ Binary System (IEC — International Electrotechnical Commission)
Computers are built on transistors that have two states: on/off, 0/1. This binary nature makes powers of 2 the most natural counting system. The binary prefixes are:
- 1 Kibibyte (KiB) = 1,024 bytes (2¹⁰)
- 1 Mebibyte (MiB) = 1,024 KiB = 1,048,576 bytes (2²⁰)
- 1 Gibibyte (GiB) = 1,024 MiB = 1,073,741,824 bytes (2³⁰)
- 1 Tebibyte (TiB) = 1,024 GiB = 1,099,511,627,776 bytes (2⁴⁰)
Used by: Windows, macOS (Finder sometimes), Linux file managers, RAM manufacturers. Most operating systems report storage in binary but incorrectly label it as MB/GB instead of MiB/GiB.
📐 Decimal System (SI — International System of Units)
The metric system uses powers of 10 because it's simpler for humans and universal in science. Storage manufacturers adopted it for marketing and simplicity:
- 1 Kilobyte (KB) = 1,000 bytes (10³)
- 1 Megabyte (MB) = 1,000 KB = 1,000,000 bytes (10⁶)
- 1 Gigabyte (GB) = 1,000 MB = 1,000,000,000 bytes (10⁹)
- 1 Terabyte (TB) = 1,000 GB = 1,000,000,000,000 bytes (10¹²)
Used by: Hard drive/SSD manufacturers (Western Digital, Seagate, Samsung), cloud storage providers (Google Drive, Dropbox), internet data caps, and most consumer advertising.
📊 Side-by-Side Comparison: SI vs IEC
| Decimal (SI) | Value (bytes) | Binary (IEC) | Value (bytes) | Difference |
|---|---|---|---|---|
| 1 KB (Kilobyte) | 1,000 | 1 KiB (Kibibyte) | 1,024 | 2.4% larger |
| 1 MB (Megabyte) | 1,000,000 | 1 MiB (Mebibyte) | 1,048,576 | 4.86% larger |
| 1 GB (Gigabyte) | 1,000,000,000 | 1 GiB (Gibibyte) | 1,073,741,824 | 7.37% larger |
| 1 TB (Terabyte) | 1,000,000,000,000 | 1 TiB (Tebibyte) | 1,099,511,627,776 | 9.95% larger |
🔍 Real-World Example: Why Your 1TB Drive Shows 931GB
Let's do the math:
- Drive advertised as 1 TB (decimal) = 1,000,000,000,000 bytes
- Windows measures in binary Gibibytes (GiB) but labels it GB
- Calculation: 1,000,000,000,000 ÷ 1,073,741,824 (bytes per GiB) = 931.32 GiB
So your "1 TB" drive shows 931 GB in Windows. Nothing is missing — it's just two different rulers.
📜 History: How Did This Happen?
Originally, computer scientists used "KB" to mean 1024 bytes because it was close to 1000 and convenient. But in 1998, the IEC introduced new prefixes (kibi-, mebi-, gibi-) to resolve confusion. However, adoption has been slow. Windows still uses the old ambiguous labeling, while macOS started showing decimal values in some contexts. Most people still say "megabyte" even when they mean "mebibyte."
⚠️ Practical Impact on Your Daily Life
- Buying storage: A 512GB SSD = 512,000,000,000 bytes → shows ~476 GiB in OS
- Data plans: Mobile carriers use decimal (1 GB = 1000 MB)
- RAM: Always binary (8 GB RAM = 8192 MiB exactly)
- File transfers: Windows shows binary GB, your ISP uses decimal for speed (confusing!)
❓ Frequently Asked Questions
Q: Which one is correct?
A: Both are correct for their contexts. Binary is technically correct for computers. Decimal is correct for metric/SI and marketing.
Q: Does macOS use binary or decimal?
A: Modern macOS uses decimal for storage (since OS X 10.6) but binary for RAM and file sizes in some views.
Q: Should I use MB or MiB when converting?
A: For storage devices: use decimal. For RAM/file systems in Windows: use binary. Our converter shows both!
Q: Why does my 256GB phone show 238GB?
A: 256 GB (decimal) = 256,000,000,000 bytes ÷ 1,073,741,824 = 238.4 GiB (binary). Plus OS overhead.
Q: Are kibibytes and gibibytes real?
A: Yes, they are official IEC standards since 1998. But many OS and apps still use KB/MB/GB incorrectly.
📈 Quick Conversion Cheat Sheet
- To convert decimal GB to binary GiB: multiply by 0.9313 (approx)
- To convert binary GiB to decimal GB: multiply by 1.074
- 1000 MB (decimal) = 976.56 MiB (binary)
- 1024 MiB (binary) = 1073.74 MB (decimal)