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
3
u/codemasonry May 26 '21
The last sentence doesn't make any sense. What changes at gigabyte? It sounds like you are implying that "1 073 741 824 bytes" is faster to say than "1 gigabyte".