is a kb 1000 or 1024?
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.