This topic came up recently at work and I had always considered a kilobyte to be 1,024 bytes. However, SI seems to differentiate between a kilobyte and kibibyte (the latter being 1,024 bytes):
https://physics.nist.gov/cuu/Units/binary.html
I'm curious how other developers define kilobytes/megabytes/etc.