KB, MB and pixels explained for uploads

Upload forms describe limits in several ways, often on the same page: “maximum 2 MB”, “at least 600 × 600 pixels”, “under 100 KB”. They measure different things, and mixing them up is one of the most common reasons a file is rejected. This guide explains each term and what to do about it.

File size: bytes, KB and MB

File size is how much storage the file takes up. It is counted in bytes. A kilobyte (KB) is 1,000 bytes and a megabyte (MB) is 1,000 KB, or one million bytes. So 2 MB is 2,000 KB, and a 100 KB limit is one twentieth of a megabyte.

There is a catch. Some software, notably Windows File Explorer, counts in steps of 1,024 instead of 1,000 while still writing “KB” and “MB”. Strictly these binary units are called kibibytes (KiB) and mebibytes (MiB); the US National Institute of Standards and Technology explains the difference in its note on binary prefixes. In practice a file shown as 98 KB in Windows is about 100 KB elsewhere. Goodhandover counts 1 KB as 1,000 bytes. If you are close to a form’s limit, aim a little below it, for example 95 KB for a 100 KB limit, so the file fits however the form counts.

Pixel dimensions

Pixel dimensions describe how many dots make up the picture: 1,200 × 800 means 1,200 pixels across and 800 down. They control how much detail the picture can show and how big it appears at full size. A form asking for “600 × 600 pixels” wants a square image of exactly that size; “at least 600 pixels wide” sets a minimum.

Dimensions and file size are related but not the same. Halving the width and height leaves a quarter of the pixels and usually cuts the file size a lot, but two pictures with identical dimensions can have very different file sizes depending on how detailed they are and how they were saved.

Megapixels

A megapixel is one million pixels. Multiply the width by the height: a 4,000 × 3,000 photo has 12 million pixels, or 12 megapixels. Phone cameras today take 12 to 50 megapixel photos, far more than most forms need. Goodhandover tools list their megapixel limits because large images use a lot of memory while they are processed.

DPI

DPI (dots per inch) only matters when an image is printed or when a PDF page is turned into a picture. A form asking for “300 DPI” usually means the scan should be detailed enough to print clearly. On screen, DPI on its own does not change anything; the pixel dimensions do.

Meeting each kind of limit

  1. Maximum KB or MB for a photo: use Resize image to KB and type the limit. Read how small each target makes a photo.
  2. Exact pixel dimensions: crop to the right shape with Crop image, then set the size with Resize image.
  3. Maximum MB for a PDF: use Compress PDF with a size target.
  4. A required format: convert first, then resize, because converting a photo to PNG can make it much bigger.

Checking a file’s size

On Windows, right-click the file and choose Properties. On a Mac, select it and press Command and I. On a phone, the Files app usually shows the size in the file details. Goodhandover tools show the size before and after processing, along with the pixel dimensions for images, so you can check a file against the form before you upload it.

Last updated