Convert between different units of digital storage and data size.
Data storage conversion is essential for understanding file sizes, storage capacity, download speeds, and bandwidth. Whether you're buying a hard drive, managing cloud storage, or calculating download times, knowing how bytes, kilobytes, megabytes, and gigabytes relate helps you make informed decisions.
Data storage uses binary system (base-2) where each unit is 1024 times the previous, not 1000. This differs from metric prefixes:
| Unit | Bytes | Approximate Size |
|---|---|---|
| 1 Byte (B) | 8 bits | One character (letter) |
| 1 Kilobyte (KB) | 1,024 B | Small text file, email |
| 1 Megabyte (MB) | 1,024 KB | High-res photo, short audio |
| 1 Gigabyte (GB) | 1,024 MB | HD movie, album, video game |
| 1 Terabyte (TB) | 1,024 GB | Large media library, backup |
| 1 Petabyte (PB) | 1,024 TB | Enterprise data center |
| File Type | Typical Size | Notes |
|---|---|---|
| Text document | 10-100 KB | Plain text, Word doc |
| 5-50 KB | Without attachments | |
| Photo (smartphone) | 2-5 MB | JPEG compressed |
| Photo (DSLR) | 5-15 MB | High resolution JPEG |
| MP3 song | 3-5 MB | 3-4 minute song at 128kbps |
| HD video (1080p) | 1-2 GB/hour | Compressed H.264 |
| 4K video | 4-8 GB/hour | High bitrate |
| Video game (modern) | 50-100 GB | AAA titles |
Understanding storage helps when buying hard drives, SSDs, USB drives, or memory cards. A 1TB drive holds approximately 250,000 photos, 500 hours of HD video, or 200 modern video games (average 5GB each).
Internet speeds are measured in Mbps (megabits per second), not MB/s. Since 1 byte = 8 bits, a 100 Mbps connection downloads at about 12.5 MB/s. A 1GB file takes about 80 seconds at this speed.
Cloud services like Google Drive, Dropbox, and iCloud charge by storage size. Knowing typical file sizes helps estimate needed capacity. A photographer might need 1TB+ for RAW images, while document storage might only need 50GB.
Streaming video consumes significant data. Netflix HD uses about 3GB/hour, 4K uses 7GB/hour. A 10GB mobile plan allows roughly 3 hours of HD streaming or 33 hours of music streaming.
Understanding the difference prevents confusion:
| File Size | 25 Mbps | 100 Mbps | 1 Gbps |
|---|---|---|---|
| 10 MB photo | 3 seconds | 0.8 seconds | 0.08 seconds |
| 1 GB movie | 5.3 minutes | 1.3 minutes | 8 seconds |
| 50 GB game | 4.4 hours | 1.1 hours | 6.7 minutes |