how is 1 kilobyte 1024 bytes?
Base 2 (1024 bytes) The kilobyte has traditionally been used to refer to 1024 bytes (210 B), a usage still common. The usage of the metric prefix kilo for binary multiples arose as a convenience, because 1024 is approximately 1000. ... Thus the kibibyte, symbol KiB, represents 210 bytes = 1024 bytes.