Why is there 1024 bytes in a kilobyte?

The term ‘kilobyte’ has traditionally been used to refer to 1024 bytes (210 B). The usage of the metric prefix kilo for binary multiples arose as a convenience, because 1024 is approximately 1000. The binary interpretation of metric prefixes is still prominently used by the Microsoft Windows operating system.

For More Information Please Refer:
https://en.wikipedia.org/wiki/Kilobyte&sa=U&ved=2ahUKEwj4srzih7DwAhWbVs0KHfh9BPIQFnoECAoQAg&usg=AOvVaw1GchYW4HQLmNPzFKQUxtDJ
You May Also Like to Read: