Data Storage Converter
Convert between bytes, KB, MB, GB, TB, and more.
Data Storage Converter
Data Storage Units Explained
Digital data storage is measured in bytes — the fundamental unit of digital information. Every file, photo, video, and program on your computer, phone, or the internet is ultimately stored as a sequence of bytes. Understanding storage units is essential when evaluating drives and devices, comparing cloud storage plans, understanding file sizes, managing mobile data, and working with any digital content.
A byte consists of 8 bits, where each bit is either a 0 or 1. Modern storage capacities range from megabytes (document files) to terabytes (personal hard drives) to petabytes (data center storage), with each unit 1,024 times larger than the previous in the binary system.
The Binary vs Decimal Controversy
There are two competing standards for data storage units, which creates widespread confusion:
- Binary (IEC standard — used by operating systems): Based on powers of 2. 1 KB = 2¹⁰ = 1,024 bytes; 1 MB = 2²⁰ = 1,048,576 bytes; 1 GB = 2³⁰ = 1,073,741,824 bytes. Windows reports file sizes in this system (though it calls them "KB" and "MB" rather than the technically correct "KiB" and "MiB").
- Decimal (SI standard — used by drive manufacturers): Based on powers of 10. 1 KB = 1,000 bytes; 1 MB = 1,000,000 bytes; 1 GB = 1,000,000,000 bytes. Hard drive and SSD manufacturers use this system when advertising capacity — which is why a "1 TB" drive shows up as only 931 GB in Windows (1 trillion bytes ÷ 1,073,741,824).
The IEC introduced separate names in 1998 to resolve the ambiguity: Kibibyte (KiB), Mebibyte (MiB), Gibibyte (GiB), Tebibyte (TiB). Most operating systems are gradually adopting these correct names, though "KB," "MB," and "GB" persist in everyday usage for both systems.
Complete Unit Reference Table
- 1 Bit (b): A single binary digit (0 or 1) — the fundamental unit of digital information
- 1 Byte (B) = 8 bits: Stores one character of text (ASCII)
- 1 Kilobyte (KB) = 1,024 bytes: A short email; a few paragraphs of plain text
- 1 Megabyte (MB) = 1,024 KB: A 1-minute MP3 at low quality; a high-resolution photo
- 1 Gigabyte (GB) = 1,024 MB: ~6 hours of HD streaming video; 250 MP3 songs; 1,000 typical photos
- 1 Terabyte (TB) = 1,024 GB: ~1,000 hours of HD video; ~500 hours of 4K video; 250,000 photos
- 1 Petabyte (PB) = 1,024 TB: ~1 million GB; the scale of large data centers and internet archives
- 1 Exabyte (EB) = 1,024 PB: The world generates roughly 2.5 exabytes of data per day
Common File Sizes for Reference
- Plain text document (1 page): ~3–5 KB
- Word document (10 pages, no images): ~50–100 KB
- JPEG photo (smartphone, typical): 3–8 MB
- RAW photo (digital camera): 20–50 MB
- MP3 song (4 min, 128 kbps): ~4 MB; (320 kbps): ~10 MB
- FLAC audio (lossless, same song): ~25–40 MB
- SD video (480p, 1 hour): ~700 MB–1.4 GB
- HD video (1080p, 1 hour): ~4–8 GB
- 4K video (1 hour, compressed): ~15–30 GB; (RAW, uncompressed): ~300+ GB
- Blu-ray disc: 25 GB (single layer), 50 GB (dual layer), 100 GB (BDXL)
- Modern AAA video game: 50–200 GB
- Operating system (Windows 11): ~20 GB installed
Data Transfer and Internet Speed
Network speeds are measured in bits per second (bps), not bytes. This is a common source of confusion:
- Internet speed ratings use lowercase "b" for bits: 100 Mbps = 100 Megabits per second = 12.5 MB/s (megabytes per second)
- File sizes use uppercase "B" for bytes
- To convert Mbps to MB/s, divide by 8. A 300 Mbps connection downloads files at ~37.5 MB/s.
- A 1 GB file on a 100 Mbps connection takes 80 seconds to download (1,000 MB × 8 ÷ 100 = 80 seconds)
Frequently Asked Questions
Why does my 1 TB hard drive only show 931 GB in Windows? Hard drive manufacturers use decimal (1 TB = 1,000,000,000,000 bytes). Windows reports storage in binary (1 TB binary = 1,099,511,627,776 bytes). 1,000,000,000,000 ÷ 1,073,741,824 (bytes per GB binary) = 931.3 GB. No bytes are missing — it's purely a labeling difference between the manufacturer's decimal TB and the OS's binary GB.
What's the difference between bits and bytes in internet speeds? Network speeds are measured in bits (lowercase b) because the original telegraph and telephone systems measured in bits per second. Storage is measured in bytes (uppercase B) because bytes are the practical unit for file storage. To convert: 1 byte = 8 bits. A 1 Gbps internet connection delivers ~125 MB/s actual file transfer speed.
How much storage do I actually need? A guideline for personal devices: 128 GB suits light users (photos, apps, documents); 256 GB works for most people; 512 GB–1 TB for heavy photo/video users, gamers, or creative professionals. For cloud storage, 100–200 GB handles most people's photo and document backups; heavy users benefit from 1–2 TB plans.