File Size Units Explained: KB, MB, GB, TB
File sizes are measured in bytes and scaled up using prefixes. Understanding these units helps you know how big your files really are โ and why "1 GB" can mean different things on different systems.
๐ File Size Units Conversion Table
| Unit | Symbol | Decimal (SI) | Binary (IEC) | Short Form |
|---|---|---|---|---|
| Byte | B | 1 byte | 1 byte | B |
| Kilobyte | KB | 1,000 bytes | 1,024 bytes | KB / KiB |
| Megabyte | MB | 1,000,000 bytes | 1,048,576 bytes | MB / MiB |
| Gigabyte | GB | 1,000,000,000 bytes | 1,073,741,824 bytes | GB / GiB |
| Terabyte | TB | 1,000,000,000,000 bytes | 1,099,511,627,776 bytes | TB / TiB |
| Petabyte | PB | 10ยนโต bytes | 2โตโฐ bytes | PB / PiB |
โ๏ธ Binary vs Decimal โ Why "1 GB" Is Confusing
Hard drive manufacturers use decimal (1 GB = 1,000,000,000 bytes) to make their drives seem larger. Operating systems use binary (1 GB = 1,073,741,824 bytes), which is why a "1 TB" hard drive shows as ~931 GB in Windows.
Storage manufacturers
1 GB = 1,000 MB
Decimal (SI)
Windows / Linux OS
1 GB = 1,024 MB
Binary (IEC)
๐ Real-World File Sizes
Plain text file (1 page)~4 KB
Word document (.docx)25โ500 KB
PDF document (text)100 KB โ 5 MB
JPEG photo (smartphone)2โ8 MB
PNG screenshot (1080p)500 KB โ 3 MB
WebP image50โ300 KB
MP3 song (4 minutes)~5 MB at 160kbps
MP4 video (1 minute, 1080p)~150โ500 MB
Blu-ray movie (2 hours)~25โ50 GB