Your "49 KB" file is actually 50.5 KB. Blame the kilobyte.
A user picks a file. Their computer says 49 KB. Your form says "max 50 KB." The upload gets rejected anyway, and now there's a support ticket that says your site is broken. It isn't broken, exactly. You and the user just disagree about what a kilobyte is. And honestly? Both of you are right. Two kilobytes, one label There are two definitions in everyday use: KB (kilobyte), SI/decimal: 1,000 bytes…
A user uploads a file, but their computer may report the file size differently than the website's upload limit. This is due to two definitions of "kilobyte": SI/decimal (1,000 bytes) and IEC/binary (1,024 bytes). The confusion arises because websites often use the term "KB" without specifying which definition they mean. Windows Explorer uses 1,024 bytes and calls it "KB," while macOS has switched to the decimal definition.
The file size differences can lead to upload rejections and support tickets. Both decimal and binary definitions are technically correct, so the issue lies in inconsistent communication about file sizes.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.