Decimal (SI) System: Uses base 10 (1 KB = 1000 bytes). Used by storage manufacturers and in networking.
Binary (IEC) System: Uses base 2 (1 KiB = 1024 bytes). Used by operating systems and software.
Common Confusion: Windows shows file sizes in binary units but labels them as decimal (KB, MB). Mac and Linux use correct labeling (KiB, MiB).
Data Storage Units & Formulas
Unit Conversion Formulas
Bit (b): Smallest unit of digital data, represents 0 or 1
Byte (B): 8 bits, represents a single character
Kilobyte (KB/KiB): Approximately 1000/1024 bytes, a short email or small image
Megabyte (MB/MiB): Approximately 1 million bytes, a MP3 song or high-res photo
Gigabyte (GB/GiB): Approximately 1 billion bytes, a movie or game installation
Terabyte (TB/TiB): Approximately 1 trillion bytes, a large hard drive or database
Petabyte (PB/PiB): Approximately 1000 terabytes, large data centers or scientific data
Common Storage Capacities:
Small Files
- Text file: 1-10 KB
- Web page: 50-500 KB
- MP3 song: 3-5 MB
- Digital photo: 2-10 MB
- PDF document: 100 KB – 5 MB
Medium Files
- eBook: 1-5 MB
- Mobile app: 10-100 MB
- Video (480p): 100-500 MB
- Software installer: 50-500 MB
- Database backup: 100 MB – 1 GB
Large Files
- Movie (HD): 1-5 GB
- Game (AAA): 20-100 GB
- Virtual machine: 10-50 GB
- 4K Video: 10-50 GB
- Raw video footage: 100+ GB
Frequently Asked Questions
The confusion arises because computers use binary (base 2) while the metric system uses decimal (base 10). Here’s the key difference:
Decimal (SI) System:
- Uses powers of 10 (1000^n)
- 1 Kilobyte (KB) = 1000 bytes
- 1 Megabyte (MB) = 1,000,000 bytes
- 1 Gigabyte (GB) = 1,000,000,000 bytes
- Used by storage manufacturers (hard drives, SSDs)
- Used in networking (data transfer rates)
- ISO/IEC 80000 standard
Binary (IEC) System:
- Uses powers of 2 (1024^n)
- 1 Kibibyte (KiB) = 1024 bytes
- 1 Mebibyte (MiB) = 1,048,576 bytes
- 1 Gibibyte (GiB) = 1,073,741,824 bytes
- Used by operating systems (Windows, macOS, Linux)
- Used in RAM and software measurements
- IEC 60027-2 standard
The Practical Difference:
A “500 GB” hard drive (decimal) actually has:
- 500,000,000,000 bytes (manufacturer’s claim)
- 465.66 GiB (what Windows shows)
- Difference: ~34.34 GB “missing”
Real-world Example:
| Device | Advertised | Actual (Windows) | Difference |
|---|---|---|---|
| Hard Drive | 1 TB (1,000 GB) | 931 GB | 69 GB (6.9%) |
| SSD | 500 GB | 465 GB | 35 GB (7%) |
| USB Drive | 32 GB | 29.8 GB | 2.2 GB (6.9%) |
Best Practices:
- Use binary units (KiB, MiB, GiB) for software and memory
- Use decimal units (KB, MB, GB) for storage devices and networking
- Always clarify which system you’re using in documentation
- Be aware that Windows mislabels binary units as decimal units
Different storage technologies have varying capacities, speeds, and use cases:
Consumer Storage Media:
| Media Type | Typical Capacity | Max Capacity | Use Case | Cost per GB |
|---|---|---|---|---|
| Floppy Disk | 1.44 MB | 1.44 MB | Historical, obsolete | $700+ |
| CD-ROM | 700 MB | 900 MB | Music, software distribution | $0.02 |
| DVD | 4.7 GB | 17 GB (dual-layer) | Movies, backups | $0.01 |
| Blu-ray | 25 GB | 128 GB (quad-layer) | 4K movies, archiving | $0.03 |
| USB Flash Drive | 16-256 GB | 2 TB | Portable storage, file transfer | $0.10-$0.50 |
| SD Card | 32-256 GB | 1 TB | Cameras, phones, drones | $0.20-$1.00 |
Computer Storage:
| Storage Type | Typical Capacity | Max Capacity | Speed | Use Case |
|---|---|---|---|---|
| HDD (Desktop) | 1-8 TB | 20 TB+ | 100-200 MB/s | Bulk storage, backups |
| HDD (Laptop) | 500 GB – 2 TB | 5 TB | 80-160 MB/s | Laptop storage |
| SSD (SATA) | 250 GB – 4 TB | 8 TB | 500-550 MB/s | OS, applications, games |
| NVMe SSD | 500 GB – 2 TB | 8 TB | 3,500-7,000 MB/s | High-performance computing |
| RAM | 8-64 GB | 2 TB (servers) | 20-80 GB/s | Active programs, data |
Enterprise & Cloud Storage:
- NAS/SAN: 10 TB – 10 PB per system
- Tape Storage (LTO-9): 18 TB compressed per tape, 45 PB per library
- Cloud Storage (AWS S3): Virtually unlimited, billed per GB-month
- Optical Archives: 5.5 TB per disc (Millennial Disc), 1 PB+ per library
- DNA Storage: Theoretical: 1 EB per gram (experimental)
Storage Timeline Evolution:
1980s: Floppy disks (1.44 MB) → Hard drives (10-100 MB)
1990s: CDs (700 MB) → DVDs (4.7 GB) → Hard drives (1-10 GB)
2000s: USB drives (128 MB-32 GB) → Hard drives (40-500 GB) → Blu-ray (25 GB)
2010s: SSDs (64 GB-2 TB) → Cloud storage → Hard drives (1-10 TB)
2020s: NVMe SSDs (500 GB-8 TB) → Hard drives (20 TB+) → QLC/PLC SSDs
Future Trends:
- HAMR/MAMR: Hard drives reaching 50+ TB by 2026
- QLC/PLC SSDs: Higher density, lower cost per GB
- Optical DNA Storage: Ultra-dense, long-term archival
- Racetrack Memory: Fast as RAM, persistent as SSD
- Quantum Storage: Theoretical breakthroughs
Calculating download/upload times involves understanding the difference between data size (bytes) and transfer speed (bits per second).
Key Formula:
Or more practically:
Common Internet Speeds:
| Connection Type | Typical Speed | Download 1 GB | Download 10 GB |
|---|---|---|---|
| Dial-up (56K) | 56 Kbps | ~42 hours | ~17 days |
| DSL | 10-25 Mbps | 7-17 minutes | 1-3 hours |
| Cable | 50-300 Mbps | 30 sec – 3 min | 5-30 minutes |
| Fiber | 500 Mbps – 2 Gbps | 4-16 seconds | 40 sec – 3 min |
| 4G LTE | 10-50 Mbps | 3-14 minutes | 30 min – 2 hours |
| 5G | 100 Mbps – 1 Gbps | 8 sec – 1.5 min | 1.5-15 minutes |
Practical Examples:
Example 1: Download a 2 GB Movie
With 100 Mbps internet:
- File size: 2 GB = 2,000 MB = 16,000 Mb (since 1 byte = 8 bits)
- Speed: 100 Mbps = 100 Mb per second
- Time = 16,000 Mb ÷ 100 Mbps = 160 seconds = 2 minutes 40 seconds
Example 2: Upload 500 Photos (total 2.5 GB)
With 20 Mbps upload speed:
- File size: 2.5 GB = 2,500 MB = 20,000 Mb
- Speed: 20 Mbps = 20 Mb per second
- Time = 20,000 Mb ÷ 20 Mbps = 1,000 seconds = 16 minutes 40 seconds
Factors Affecting Actual Speeds:
- Network Congestion: Slower during peak hours
- Server Limitations: Source server may limit speed
- Wi-Fi vs Ethernet: Ethernet is typically faster and more stable
- Distance to Server: Longer distances increase latency
- Protocol Overhead: TCP/IP adds about 10-20% overhead
- Multiple Devices: Bandwidth is shared among devices
Quick Reference Table:
| File Size | 10 Mbps | 50 Mbps | 100 Mbps | 500 Mbps | 1 Gbps |
|---|---|---|---|---|---|
| 10 MB (Web page) | 8 sec | 1.6 sec | 0.8 sec | 0.16 sec | 0.08 sec |
| 100 MB (App) | 1.3 min | 16 sec | 8 sec | 1.6 sec | 0.8 sec |
| 1 GB (Movie) | 13 min | 2.7 min | 1.3 min | 16 sec | 8 sec |
| 10 GB (Game) | 2.2 hours | 27 min | 13 min | 2.7 min | 1.3 min |
| 50 GB (4K Movie) | 11 hours | 2.2 hours | 1.1 hours | 13 min | 6.5 min |
Tips for Faster Downloads:
- Use a wired Ethernet connection instead of Wi-Fi
- Close other bandwidth-intensive applications
- Use download managers that support resuming
- Download during off-peak hours (late night/early morning)
- Check for ISP throttling or data caps
- Use a VPN if your ISP is throttling specific services
Understanding the difference between bits and bytes is fundamental to computing, networking, and storage.
Bit (b) – The Basic Unit:
- Definition: Binary digit, smallest unit of digital data
- Values: Can be 0 or 1 (off or on)
- Symbol: Lowercase ‘b’ (e.g., 100 Mbps)
- Use Cases: Network speeds, data transfer rates, modem speeds
Byte (B) – The Practical Unit:
- Definition: Group of 8 bits
- Symbol: Uppercase ‘B’ (e.g., 100 MB)
- Use Cases: File sizes, storage capacity, memory
- Significance: Represents a single character (letter, number, symbol)
Why the Confusion Matters:
Internet Service Providers (ISPs):
- Advertise speeds in Mbps (megabits per second)
- Users think in MB/s (megabytes per second)
- A “100 Mbps” connection actually delivers: 100 ÷ 8 = 12.5 MB/s maximum
- With overhead: ~11 MB/s actual download speed
Storage Manufacturers:
- Use decimal system (1000 bytes = 1 KB)
- Computers use binary system (1024 bytes = 1 KB)
- A “1 TB” drive shows as ~931 GB in Windows
- This causes the “missing storage” confusion
Common Scenarios Explained:
Scenario 1: Download Speed Confusion
“Why is my 100 Mbps internet only downloading at 11 MB/s?”
- 100 Mbps = 100 megabits per second
- 100 ÷ 8 = 12.5 megabytes per second (theoretical)
- Minus 10-20% overhead = ~10-11 MB/s actual
- This is normal, not a problem with your service
Scenario 2: Storage Capacity Confusion
“Why does my 500 GB hard drive only show 465 GB?”
- Manufacturer: 500 GB = 500 × 1,000,000,000 bytes
- Computer: 500,000,000,000 ÷ 1,073,741,824 = 465.66 GiB
- Windows incorrectly labels GiB as GB
- 35 GB “missing” is due to unit definition difference
Industry Standards:
| Field | Unit Used | Reason | Example |
|---|---|---|---|
| Networking | Bits (b, Kb, Mb, Gb) | Historical reasons, smaller numbers look better | 100 Mbps internet |
| Storage | Bytes (B, KB, MB, GB) | Files are measured in bytes | 500 GB SSD |
| Memory (RAM) | Bytes (B, KiB, MiB, GiB) | Binary addressing | 16 GB DDR4 RAM |
| Data Transfer | Both (context dependent) | Interface speed vs actual transfer | USB 3.0 = 5 Gbps, file copy = MB/s |
Conversion Cheat Sheet:
Divide by 8
100 Mbps ÷ 8 = 12.5 MB/s
Multiply by 8
1 GB × 8 = 8 Gb
Multiply by 0.9313
1 TB × 0.9313 = 0.931 TiB
Divide by 0.9313
1 TiB ÷ 0.9313 = 1.074 TB
Best Practices:
- Always check the unit (b vs B) when comparing speeds or sizes
- Remember that network speeds are in bits, file sizes are in bytes
- Use this converter tool to avoid confusion
- When in doubt, divide/multiply by 8 for bit/byte conversions
- Be aware of decimal vs binary differences for storage