Last Updated on August 13, 2025 by Arnav Sharma
In the vast landscape of digital technology, understanding data storage units is crucial, whether you’re a casual user saving photos or a professional managing large databases. With terms like Kilobytes, Megabytes, and Petabytes frequently thrown around, it’s easy to get overwhelmed or confused. We’ll demystify these units, breaking down their conversions in a simple and digestible manner.
- Byte (B): The basic unit of data in computer systems.
- Kilobyte (KB): 1 KB = 1,024 Bytes
- Megabyte (MB): 1 MB = 1,024 KB = 1,048,576 Bytes
- Gigabyte (GB): 1 GB = 1,024 MB = 1,048,576 KB = 1,073,741,824 Bytes
- Terabyte (TB): 1 TB = 1,024 GB = 1,048,576 MB = 1,073,741,824 KB = 1,099,511,627,776 Bytes
- Petabyte (PB): 1 PB = 1,024 TB = 1,048,576 GB = 1,073,741,824 MB = 1,099,511,627,776 KB = 1,125,899,906,842,624 Bytes
To convert from a larger unit to a smaller unit, you multiply. For instance, to convert 5 GB to MB, you’d do: 5 GB * 1,024 = 5,120 MB
To convert from a smaller unit to a larger unit, you divide. For instance, to convert 5,000 KB to MB, you’d do: 5,000 KB ÷ 1,024 ≈ 4.88 MB
Conversion Calculator
| Unit | B | KB | MB | GB | TB | PB |
|---|---|---|---|---|---|---|
| B | 1 | 1,024 | 1,048,576 | 1,073,741,824 | 1,099,511,627,776 | 1,125,899,906,842,624 |
| KB | 0.0009765625 | 1 | 1,024 | 1,048,576 | 1,073,741,824 | 1,099,511,627,776 |
| MB | 0.00000095367432 | 0.0009765625 | 1 | 1,024 | 1,048,576 | 1,073,741,824 |
| GB | 0.00000000093132 | 0.00000095367432 | 0.0009765625 | 1 | 1,024 | 1,048,576 |
| TB | 0.00000000000091 | 0.00000000093132 | 0.00000095367432 | 0.0009765625 | 1 | 1,024 |
| PB | 0.00000000000000089 | 0.00000000000091 | 0.00000000093132 | 0.00000095367432 | 0.0009765625 | 1 |
I help organisations secure their cloud infrastructure and stay ahead of evolving cyber threats. Microsoft MVP and Certified Trainer, author of Mastering Azure Security, and founder of arnav.au — a platform for practical Cloud, Cybersecurity, DevOps and AI content.
Frequently Asked Questions
1 gigabyte (GB) equals 1,073,741,824 bytes. This is calculated by multiplying 1,024 three times: 1 GB = 1,024 MB × 1,024 KB × 1,024 B.
To convert from a larger unit to a smaller unit, you multiply by 1,024. So 5 GB × 1,024 = 5,120 MB.
A byte (B) is the basic unit of data in computer systems, while a kilobyte (KB) is 1,024 bytes. A kilobyte is the next larger unit in the data storage hierarchy.
To convert from a smaller unit to a larger unit, you divide by 1,024. So 5,000 KB ÷ 1,024 ≈ 4.88 MB.
1 petabyte (PB) equals 1,024 terabytes (TB). Each level in the data storage hierarchy increases by a factor of 1,024.