r/AskComputerScience • u/coffee-mugz • May 26 '21
Why does a kilobyte = 1024?
Hoping for some help and want to say thanks in advance. I’m having trouble getting this and I’ve read several sites that all say it’s because computers operate in binary and 210 = 1024, but this doesn’t make sense to me.
Here’s what I think are true statements:
1) A bit is the fundamental unit of a computer and it can either be a 0 or a 1.
2) A byte is 8 bits.
Why then can’t 1 kilobyte be 1,000 bytes or 8,000 bits?
Am I thinking about 210 wrong? Doesn’t 210 just represents 10 bits? Each bit has two options and you have 10 of them so 210 combinations. I suspect that’s where I’ve got my misconception but I can’t straighten it out
View all comments
Show parent comment
2
u/coffee-mugz May 26 '21
This totally makes sense. 1024 is literally just how we count the bytes that are being stored. They are not the actual bits that are doing the storage. Thank you, that really cleared that up for me.