My Computer Science study experiment
00:00 elapsed
0 pts
🔥 0 streak
0  ❌ 0
Overall Progress 0 / 5 topics

📦 Data Units

All data in a computer is stored as binary (0s and 1s). Electronic circuits have two states — off (0) and on (1) — making binary the natural language of computing.

Storage Units

UnitAbbreviationSizeReal-world Example
BitbSingle 0 or 1One switch on/off
Nibble4 bitsOne hex digit
ByteB8 bitsOne character e.g. 'A'
KilobyteKB1,024 BShort text message
MegabyteMB1,024 KBA digital photo
GigabyteGB1,024 MBAn HD film
TerabyteTB1,024 GBLaptop hard drive
PetabytePB1,024 TBLarge data centre

Each unit is 1,024× larger than the previous because 2¹⁰ = 1,024.