Computer Storage Units: Bit, Byte, KB, MB, GB, TB, PB and How to Convert
Learn computer storage size unit from bit and byte to kilobyte, megabyte, gigabyte, terabyte, petabyte, and more in very simple English, with conversion table, easy convert method, real example, and tips for beginner.
2026-11-03 ยท 8 min read
Hello my friend! ๐พ You buy 1 TB hard disk, but Windows show only 931 GB. Where the rest go? ๐ค Today we learn computer storage unit โ bit, byte, KB, MB, GB, TB, PB and more โ and how to convert from one unit to other. Very useful for every computer user!
1. Smallest Unit: Bit and Byte
Computer only understand 0 and 1. Everything โ photo, video, game, document โ is keep as many 0 and 1.
- Bit (b): Smallest unit. One bit = one
0or one1. - Nibble: 4 bit. (Not use much, but good to know.)
- Byte (B): 8 bit. One byte can keep one letter, like
Aorz.
1 Byte = 8 bits
Letter "A" = 01000001 โ 8 bit = 1 byte
Remember: small b = bit, big B = Byte. Very important! 100 Mb and 100 MB is not same.
2. Storage Unit Table (Small to Big)
Each step bigger is about 1,000 times (or exactly 1,024 โ see section 3).
| Unit | Short | Size (decimal) | Real-life example |
|---|---|---|---|
| Bit | b | 0 or 1 | One switch on/off |
| Byte | B | 8 bit | One letter |
| Kilobyte | KB | 1,000 Byte | Short text file |
| Megabyte | MB | 1,000 KB | One photo from phone (2โ5 MB) |
| Gigabyte | GB | 1,000 MB | One HD movie (1โ4 GB), RAM size |
| Terabyte | TB | 1,000 GB | External hard disk, big SSD |
| Petabyte | PB | 1,000 TB | Data center, big company storage |
| Exabyte | EB | 1,000 PB | Big cloud like Google, Microsoft |
| Zettabyte | ZB | 1,000 EB | All data in the world in one year |
| Yottabyte | YB | 1,000 ZB | Too big, no device have this yet |
| Ronnabyte | RB | 1,000 YB | New unit (added in 2022) |
| Quettabyte | QB | 1,000 RB | New unit (added in 2022), biggest now |
Easy way to remember order: K โ M โ G โ T โ P โ E โ Z โ Y
3. 1,000 or 1,024? Decimal vs Binary
This part make many people confuse. There are 2 system:
- Decimal (base 10): 1 KB = 1,000 Byte. Hard disk and USB maker use this. Also internet speed.
- Binary (base 2): 1 KiB = 1,024 Byte. Computer work in power of 2, so Windows and RAM use this.
Binary unit have special name with "i" in middle: KiB (kibibyte), MiB (mebibyte), GiB (gibibyte), TiB (tebibyte), PiB (pebibyte).
| Decimal | Byte | Binary | Byte | Different |
|---|---|---|---|---|
| 1 KB | 1,000 | 1 KiB | 1,024 | 2.4% |
| 1 MB | 1,000,000 | 1 MiB | 1,048,576 | 4.9% |
| 1 GB | 1,000,000,000 | 1 GiB | 1,073,741,824 | 7.4% |
| 1 TB | 1,000,000,000,000 | 1 TiB | 1,099,511,627,776 | 10.0% |
| 1 PB | 1015 | 1 PiB | 250 = 1,125,899,906,842,624 | 12.6% |
See? Bigger unit = bigger different.
Why 1 TB Hard Disk Show Only 931 GB?
Hard disk maker count: 1 TB = 1,000,000,000,000 Byte (decimal).
Windows count with 1,024, but still write "GB" (really mean GiB):
1,000,000,000,000 รท 1,024 รท 1,024 รท 1,024 = 931.32 GB
So no space is missing! Just 2 different way to count. Same thing happen with other size:
| You buy | Windows show |
|---|---|
| 128 GB | 119.2 GB |
| 256 GB | 238.4 GB |
| 500 GB | 465.7 GB |
| 1 TB | 931.3 GB |
| 2 TB | 1.81 TB |
(Real number a bit less again, because some space use for format and system file.)
4. How to Convert โ Easy Method
Only remember 2 rule:
- โฌ๏ธ Small unit โ Big unit: Divide (รท 1,000 or รท 1,024)
- โฌ๏ธ Big unit โ Small unit: Multiply (ร 1,000 or ร 1,024)
Each step you move, divide or multiply one time.
ร 1,000 ร 1,000 ร 1,000 ร 1,000
TB โโโโโโโโโโถ GB โโโโโโโโโโถ MB โโโโโโโโโโถ KB โโโโโโโโโโถ Byte
TB โโโโโโโโโโ GB โโโโโโโโโโ MB โโโโโโโโโโ KB โโโโโโโโโโ Byte
รท 1,000 รท 1,000 รท 1,000 รท 1,000
Example 1: GB โ MB (big to small, multiply)
2.5 GB = 2.5 ร 1,000 = 2,500 MB (decimal)
2.5 GB = 2.5 ร 1,024 = 2,560 MB (binary)
Example 2: MB โ GB (small to big, divide)
3,072 MB = 3,072 รท 1,024 = 3 GB (binary)
Example 3: Jump many step โ TB โ MB
From TB to MB is 2 step (TB โ GB โ MB), so multiply 2 time:
2 TB = 2 ร 1,000 ร 1,000 = 2,000,000 MB
Example 4: Byte โ GB
From Byte to GB is 3 step, so divide 3 time:
5,000,000,000 Byte = 5,000,000,000 รท 1,000 รท 1,000 รท 1,000 = 5 GB
Example 5: How many photo can keep in 64 GB?
64 GB = 64 ร 1,000 = 64,000 MB
One photo = 4 MB
64,000 รท 4 = 16,000 photo (about)
Quick Conversion Table (Decimal)
| From โ To | Do this |
|---|---|
| KB โ MB | รท 1,000 |
| MB โ GB | รท 1,000 |
| GB โ TB | รท 1,000 |
| TB โ PB | รท 1,000 |
| GB โ MB | ร 1,000 |
| TB โ GB | ร 1,000 |
| TB โ MB | ร 1,000,000 |
| PB โ GB | ร 1,000,000 |
| Byte โ bit | ร 8 |
| bit โ Byte | รท 8 |
For binary (Windows, RAM), just change 1,000 to 1,024.
5. Bonus: Internet Speed (Mbps vs MB/s)
Internet speed use bit (small b), not Byte:
- Mbps = Megabit per second (internet package, Wi-Fi speed)
- MB/s = Megabyte per second (download speed in browser)
Because 1 Byte = 8 bit, just divide by 8:
100 Mbps รท 8 = 12.5 MB/s
How long to download 5 GB game with 100 Mbps internet?
5 GB = 5,000 MB
5,000 MB รท 12.5 MB/s = 400 second โ 6 minute 40 second
(Real life a bit slower, because network not always full speed.)
Want learn more about Mbps, Gbps, and download time? Read Internet Bandwidth Units and How to Convert.
| Internet package | Max download speed |
|---|---|
| 20 Mbps | 2.5 MB/s |
| 50 Mbps | 6.25 MB/s |
| 100 Mbps | 12.5 MB/s |
| 1 Gbps (1,000 Mbps) | 125 MB/s |
Tips
- Small b = bit, big B = Byte. Always check letter when read internet package or download speed.
- Divide when go up (small โ big), multiply when go down (big โ small). Only this 2 rule!
- Hard disk, USB, and internet use 1,000. Windows and RAM use 1,024. That's why number not match.
- Buy storage bigger than you need. Windows, update, and app take more space every year.
- Keep at least 10โ15% free space on your system drive (C:). Full drive make computer slow.
- Quick estimate: 1 GB โ 250 song, โ 250 photo, or โ 20โ30 minute Full HD video. Good for plan space.
- Use Google search for fast convert: type
2.5 GB to MBand Google answer for you.
Conclusion
Now you understand computer storage unit from bit until petabyte and more. Remember: 8 bit = 1 Byte, each unit is 1,000 (or 1,024) times bigger, divide to go up, multiply to go down. And now you know why 1 TB disk show 931 GB โ nothing missing! Keep learning my friend! ๐ก
Related Posts
- Learn internet bandwidth units: bps, Kbps, Mbps, Gbps and how to convert
- Chapter 1 - Learn CPU, RAM, storage, and other computer hardware
- Chapter 5 - Windows installation, NTFS and FAT32 partition
- Chapter 4 - Preventive maintenance and keep your PC healthy
- Chapter 7 - Networking concepts and internet basics
- See all chapters of computer fundamentals