All guides
Everyday

MB vs MiB: why a file can exceed an upload limit

The same file passes a 10 MiB limit and fails a 10 MB one. Here is the byte-by-byte calculation.

A file can be smaller than 10 MiB and still exceed a 10 MB upload limit. Those labels describe different byte counts. Converting between them changes the number you see, not the file itself.

Open the digital storage converter. Set From unit to MB and To unit to MiB, then enter 10 in From value. The result is about 9.536743 MiB. You can edit either value; the other side updates automatically.

Start with the byte count

The NIST binary-prefix reference distinguishes decimal MB from binary MiB: 1 MB is 1,000,000 bytes, while 1 MiB is 1,048,576 bytes. A byte contains eight bits.

Here are four conversions checked with the same function used by the tool:

Input Output What it tells you
10 MB 10,000,000 B A decimal ten-megabyte limit
10 MiB 10,485,760 B A binary ten-mebibyte limit
10 MiB 10.48576 MB The same bytes, expressed in MB
10,000,000 B 80,000,000 bit Bits and bytes are different units too

Use the exact byte count when checking a boundary. A rounded label such as “10 MB” may hide a small excess. The converter's Result precision controls displayed significant digits; it does not change the original file or a website's limit.

Try a file that passes only one limit

Imagine an image containing exactly 10,200,000 bytes. Download the small calculation sheet for the numbers; it is a CSV, not a ten-megabyte dummy upload.

In the converter, select B as the source unit and enter 10200000 without separators. Select MB as the destination: the result is 10.2. Change the destination to MiB: the result is about 9.727478.

  • Against a 10 MB limit defined as 10,000,000 bytes, the image is 200,000 bytes too large.
  • Against a 10 MiB limit defined as 10,485,760 bytes, the same image fits, with 285,760 bytes to spare.

This example assumes the service limits the file's own bytes and allows values up to the stated maximum. It does not predict a particular site's acceptance rules. A service might count the whole request, apply another restriction, or use “MB” loosely in its interface. Check its documentation or error message before deciding which interpretation applies.

Change the file, not just its label

If an image is too large, try the image compressor and inspect the exported file. For the sample above, a decimal ten-megabyte limit requires a reduction of at least 200,000 bytes—about 1.96% of the original size. Aim below the boundary rather than relying on a rounded display.

Changing dimensions can also reduce the amount of image data, but renaming an extension or converting MB to MiB cannot. Keep the original and check text, faces and fine edges after a lossy export. A compression result depends on the source image and settings; this calculation does not promise a particular reduction.

The results record contains the exact conversions and boundary checks from 21 October 2026. These are arithmetic checks against the converter, not tests of another website's uploader.