Skip to content
SentrueFile

KB, MB and file size limits: how big is 1 MB?

Updated · by Sentrue Labs

In everyday use, 1 MB = 1,000 KB and 1 KB = 1,000 bytes. Some software, including Windows, counts in steps of 1,024 instead, so the same file can look slightly smaller there. To be safe, make your file at or below the limit counted the decimal way - 1 MB = 1,000,000 bytes, 100 KB = 100,000 bytes - because that passes under either rule. SentrueFile's size targets, such as Compress PDF to 1 MB, always aim for that.

Bytes, kilobytes and megabytes

Every file is a number of bytes. Kilobytes and megabytes are just shorter ways of writing large numbers of bytes, in the same way that a kilometre is a shorter way of writing 1,000 metres.

The confusion comes from history. Computer memory is built in powers of two, so early software used 1,024 bytes as a 'kilobyte', because 1,024 is 2 to the power of 10 and close to 1,000. Standards bodies later gave those binary units their own names - kibibyte (KiB) and mebibyte (MiB) - and kept KB and MB for the decimal meaning. Both are still in use, often under the same label.

UnitDecimal (KB, MB)Binary (KiB, MiB)
Kilobyte1 KB = 1,000 bytes1 KiB = 1,024 bytes
Megabyte1 MB = 1,000 KB = 1,000,000 bytes1 MiB = 1,024 KiB = 1,048,576 bytes
Gigabyte1 GB = 1,000 MB1 GiB = 1,024 MiB

Why the difference matters for upload limits

The gap between the two counts is about 2.4% at the kilobyte level and almost 5% at the megabyte level. That sounds small, but upload limits are hard cut-offs, and files tend to end up right at the edge after compressing.

Take a photo of 102,000 bytes and a form that says 100 KB. If the website counts 1 KB as 1,024 bytes, its limit is 102,400 bytes and the photo passes. If it counts 1,000, the limit is 100,000 bytes and the same photo is refused. Most forms don't say which rule they use, so you can't tell in advance.

The safe answer is to go by the smaller number. A file of at most 100,000 bytes passes a 100 KB limit under both rules, and a file of at most 2,000,000 bytes passes any 2 MB limit.

Common upload limits in bytes

These are the limits people meet most often on application forms, with the largest file that passes under each way of counting. The first column is the one to aim for.

LimitSafe maximum (decimal)Binary count
20 KB20,000 bytes20,480 bytes
50 KB50,000 bytes51,200 bytes
100 KB100,000 bytes102,400 bytes
200 KB200,000 bytes204,800 bytes
500 KB500,000 bytes512,000 bytes
1 MB1,000,000 bytes1,048,576 bytes
2 MB2,000,000 bytes2,097,152 bytes
5 MB5,000,000 bytes5,242,880 bytes

What your computer or phone shows

Different systems display the same file differently, which is why a file can look like it fits on your screen and still be refused:

  • Windows File Explorer divides by 1,024 but still writes KB and MB, so a file of 1,040,000 bytes appears as about 1,015 KB - under '1 MB' at a glance, yet over a decimal 1 MB limit.
  • Mac (Finder) and iPhone or iPad (Files) show decimal sizes, so their numbers match the safe column in the table above.
  • Android file managers differ by phone and app; when it matters, check the exact number of bytes in the file's details.

The exact byte count settles any doubt. On Windows, the Properties window shows it in brackets next to the rounded size. On a Mac, Get Info shows the bytes beside the size. Compare that number with the decimal figure for your limit.

Making a file that fits every form

Every size target on SentrueFile counts the decimal way and stays at or under the number you choose, so the result is safe under both rules without any arithmetic on your part. The pages below start with the target already set:

If you prefer to work it out yourself, aim about 5% below the limit when you don't know how the website counts. That margin covers the difference between the two rules at every size.

Megabytes and megabits are different things

Internet speeds are measured in megabits per second, written Mb/s or Mbps with a small b. A byte is 8 bits, so a connection of 8 Mbps moves about 1 megabyte per second at best. A 2 MB PDF therefore takes at least two seconds to upload on that connection, and usually longer, because real connections rarely reach their advertised speed.

That is one reason forms keep their limits low: a large file on a slow mobile connection can take long enough for the upload page to time out, which is frustrating for applicants and expensive for the people running the system.

Questions

How many KB are in 1 MB?

1,000 KB in decimal units, which is how most websites and phones count. Software that counts in binary uses 1,024.

Is 100 KB the same as 0.1 MB?

Yes, in decimal units: 100 KB is 100,000 bytes and 0.1 MB. In binary units 100 KiB is 102,400 bytes, slightly more.

My file shows 980 KB on Windows. Will it pass a 1 MB limit?

Not necessarily. 980 KB on Windows is about 1,003,520 bytes, which is over a decimal 1 MB limit. Check the exact bytes in Properties, or compress it to a 1 MB target to be sure.

Why was my file rejected when it looked small enough?

Most likely the website counts 1 KB as 1,000 bytes while your computer shows binary sizes, or the file was right at the limit. Aim for the decimal number of bytes and the problem disappears.

Does SentrueFile count 1 MB as 1,000 or 1,024 KB?

As 1,000 KB, or 1,000,000 bytes, and every target stays at or under that number. A file made that way fits under either rule.

What does a 1 MB file size limit mean?

The file must be no bigger than 1 MB. Some sites count that as 1,000,000 bytes and others as 1,048,576, so aim for 1,000,000 bytes or less - it passes either way. SentrueFile's 1 MB targets do exactly that.

Is 8,516 KB over a 10 MB limit?

No. 8,516 KB is 8,516,000 bytes if 1 KB is 1,000 bytes, or 8,720,384 if it's 1,024 - either way well under 10 MB, which is at least 10,000,000 bytes. To compare quickly, divide the KB by 1,000: 8,516 KB is about 8.5 MB. A file only gets close to a 10 MB limit at around 9,700 KB and above.

Try it: Compress PDF or Compress Image - choose your form's limit and get a file that fits however the website counts.

Tools for this job