A form says “maximum 200 KB”. Your file is 203 KB in one program and 198 KB in another, and the form rejects it anyway. Nobody is lying: the same letters mean two different quantities, and different software picks different ones. This guide explains where the confusion comes from, what the standards say, and a simple rule that keeps you safe whichever definition a form uses.
The two meanings
- Kilobyte (kB or KB) in the metric sense: 1,000 bytes. “Kilo” means a thousand in kilometre and kilogram, and the same prefix is used here. A megabyte (MB) is 1,000,000 bytes and a gigabyte (GB) is 1,000,000,000.
- Kibibyte (KiB) in the binary sense: 1,024 bytes, which is 2 to the power of 10. A mebibyte (MiB) is 1,048,576 bytes and a gibibyte (GiB) is 1,073,741,824.
Computers count in powers of two, and 1,024 is very close to 1,000. Early programmers borrowed “kilo” for 1,024 because it was close enough, and for a while it did no harm. As files grew, the gap grew too: it is 2.4% at the kilobyte level, 4.9% at the megabyte level and 7.4% at the gigabyte level.
What the standards say
The International Electrotechnical Commission (IEC) approved names and symbols for binary prefixes in 1998 for use in data processing and data transmission: kibi (Ki), mebi (Mi), gibi (Gi) and so on. The US National Institute of Standards and Technology (NIST) publishes them and notes that they were first adopted as an amendment to IEC 60027-2 and incorporated in its second edition of 2000-11. NIST is explicit that the binary prefixes are not part of the International System of Units (SI): the SI prefixes keep their decimal meaning. NIST’s examples: 1 MB is 10 to the 6th power, or 1,000,000 bytes, while 1 MiB is 2 to the 20th power, or 1,048,576 bytes.
NIST also describes how messy things had become. Memory makers used megabyte to mean 1,048,576 bytes, storage makers used it to mean 1,000,000, and the familiar “1.44 MB” floppy diskette used a third definition entirely: 1,024,000 bytes. The IEEE decided that its standards would use the SI meanings, so mega means 1,000,000. This is the root of the confusion: three industries, three meanings, one set of letters.
Who uses which
- Storage makers and Apple’s current systems use decimal. Apple’s documentation says manufacturers measure capacity in the decimal system, so “1 GB = 1 billion bytes”, and that only some apps and operating systems, such as iOS 10 and earlier and OS X Leopard and earlier, report capacity in the binary system.
- Windows has a long history of using binary values with the KB, MB and GB labels. This is the best-known source of “my 1 TB drive shows less than 1 TB” complaints. Behaviour has varied between versions and tools, so for a precise figure, open the file’s Properties and read the exact number of bytes in brackets.
- Upload forms and email limits are unpredictable. They are written by developers who may have used either definition, and the form rarely says which. Treat every limit as ambiguous.
What the difference costs you
The table shows common limits both ways. The last column is the gap: the file that is fine under one definition and rejected under the other.
| Limit on the form | If KB means 1,000 (bytes) | If KB means 1,024 (bytes) | Difference (bytes) |
|---|---|---|---|
| 20 KB | 20,000 | 20,480 | 480 |
| 50 KB | 50,000 | 51,200 | 1,200 |
| 100 KB | 100,000 | 102,400 | 2,400 |
| 200 KB | 200,000 | 204,800 | 4,800 |
| 500 KB | 500,000 | 512,000 | 12,000 |
| 1 MB | 1,000,000 | 1,048,576 | 48,576 |
| 2 MB | 2,000,000 | 2,097,152 | 97,152 |
| 25 MB | 25,000,000 | 26,214,400 | 1,214,400 |
At 20 KB the gap is only 480 bytes, but a 20,300-byte file would still be refused by a form that counts decimal. At 25 MB the gap is more than 1.2 million bytes. Which brings us to the rule.
The safe rule: round against yourself
- For a maximum, use the smaller number. Treat “max 200 KB” as 200,000 bytes. A file under 200,000 bytes passes whether the form counts 1 KB as 1,000 or as 1,024.
- For a minimum, use the larger number. Treat “min 54 KB” as 54 × 1,024 = 55,296 bytes. A file that big passes under either definition.
This is exactly what ReduceThis does. Its exact-size tools keep results under N × 1,000 bytes for maximums and above N × 1,024 bytes for minimums, such as the 54 KB minimum on the US passport photo page. The sizes the tools display use the decimal convention as well, so a result shown as 99.8 KB is 99,800 bytes. If you want to see which definition your own system uses, create a file of known size and compare what each program reports.
Bits and bytes: a second trap
A byte is 8 bits (NIST lists 1 B = 2 to the 3rd power bits = 8 bits). File sizes are normally quoted in bytes, with a capital B: KB, MB, GB. Connection speeds are normally quoted in bits, with a lowercase b: kbit/s, Mbit/s, or Mbps. So a 100 Mbps connection moves at most 12.5 MB per second, and a 25 MB attachment is 200 megabits of data. NIST also notes that telecommunications engineers always use megabit per second to mean 1,000,000 bits per second, so network speeds are decimal.
Worked examples
- A visa form allows 240 KB. Aim for under 240,000 bytes. That is what the US visa photo tool does, so the result passes whichever definition the portal uses.
- A job site says “PDF up to 2 MB”. Aim under 2,000,000 bytes with the PDF under 2 MB tool. Anything between 2,000,000 and 2,097,152 bytes is a gamble.
- An email limit of 25 MB. The exact meaning of “MB” hardly matters here; email encoding adds about a third, so work with the figures in our guide to compressing PDFs for email.
- A file is “100 KB” in one program and “97.7 KB” in another. It is the same file: 100,000 bytes counted by 1,000s and by 1,024s. 100,000 ÷ 1,024 = 97.66.
Quick reference
- kB / KB, MB, GB (SI): 1,000, 1,000,000, 1,000,000,000 bytes.
- KiB, MiB, GiB (IEC): 1,024, 1,048,576, 1,073,741,824 bytes.
- To convert a binary figure to decimal, multiply by 1.024 for KiB, 1.0486 for MiB, 1.0737 for GiB.
- Maximum limit: use the smaller number. Minimum limit: use the larger number.
- Capital B is bytes. Lowercase b is bits.
Sources
Checked 6 December 2026. Software behaviour differs between versions; confirm the exact byte count where it matters.
- NIST: Prefixes for binary multiples (IEC 60027-2, KiB, MiB, GiB, historical context)
- Apple Support: How storage capacity is measured on Apple devices
Frequently asked questions
Is 1 KB 1,000 or 1,024 bytes?
Both are used. In the metric (SI) sense it is 1,000 bytes. The binary unit, properly written KiB, is 1,024 bytes. Software often uses the label KB for either.
What does KiB stand for?
Kibibyte: the IEC name for 1,024 bytes, from “kilobinary”. The IEC approved the binary prefixes (Ki, Mi, Gi) in 1998.
How do I stay under a limit if I don’t know which one the form means?
For a maximum, use the smaller (decimal) number of bytes. For a minimum, use the larger (binary) number. A file inside both stays valid either way.
Why does my 1 TB drive show less than 1 TB?
The maker counts in decimal (1 TB = 1 trillion bytes) while some operating systems report the same bytes in binary units. Apple notes that some systems report capacity in the binary system.