Why are there 1024 bytes in a kilobyte?
Answer: Many people think that there are 1000 bytes in a kilobyte. After all, "kilo" means 1000. In most cases, this approximation is fine for determining how much space a file takes up or how much disk space you have.
But there are really 1024 bytes in a kilobyte. The reason for this is because computers are based on the binary system. That means hard drives and memory are measured in powers of 2. For example,
Notice how 2^10 is 1024. Therefore, 2^10, or 1024 bytes compose one kilobyte. Furthermore, 1024 kilobytes compose one megabyte, and 1024 megabytes compose one gigabyte. For most practical purposes, you can estimate 1024 to 1000. But correcting someone who says there are 1000 bytes in a kilobyte is a great way to impress your friends.
Entered: June 7, 2002 – by Per Christensson