Skip to content
PDFHive

Online form file limits: KB, MB, pixels and cm explained

Updated

Online forms for jobs, exams, visas and universities often come with strict upload rules: “photo under 50 KB”, “signature 140 × 60 pixels”, “image 3.5 × 4.5 cm”. These rules use different units that measure different things, and mixing them up is the most common reason an upload is rejected. This guide explains each one in plain terms.

Two different things: file size and picture size

Every form rule is about one of two things:

  • File size is how much storage the file takes up, measured in KB or MB. It decides whether the upload is accepted.
  • Picture size (dimensions) is how big the image is, measured in pixels, or in cm or mm for printing.

They are linked but not the same. Two photos of exactly 600 × 800 pixels can be 40 KB and 400 KB, depending on how much detail they have and the quality they are saved at. That is why a form can ask for both, and why fixing one doesn’t automatically fix the other.

KB and MB: the file size

Unit What it means
1 KB (kilobyte) 1,000 bytes, or 1,024 bytes on some systems
1 MB (megabyte) 1,000 KB

The 1,000-or-1,024 difference only matters when you are close to a limit. Windows File Explorer counts 1,024 bytes as 1 KB, while Macs and many websites count 1,000. So a file of 50,500 bytes is “49 KB” on Windows but over a 50 KB limit on a website that counts 1,000.

PDFHive’s tools always aim for the stricter number: a 50 KB limit means under 50,000 bytes, so the file is accepted however the form counts. If a form sets a minimum, aim a little above it, because a site that counts 1,024 bytes needs slightly more.

To meet a KB limit:

  1. Open Compress image and choose your photo.
  2. Type the maximum, for example 50 KB. If the form has a minimum, tick Also set a minimum and type it too.
  3. Click Compress image. PDFHive finds the best quality that fits and shows the final KB and pixel size before you download.

For PDFs, the same idea applies: Compress PDF has a Target size option where you type the limit in KB or MB.

Pixels: the picture size on screen

A digital picture is a grid of tiny dots called pixels. “200 × 230 pixels” means 200 dots wide and 230 dots tall. More pixels means more detail, and usually a bigger file.

When a form gives a pixel size, it usually wants exactly that size. Use Resize image, choose Pixels (px), and type the width and height. If your photo is a different shape, you can crop it to fit, add a white border, or stretch it, and the preview shows the result before you save.

cm and mm: the printed size

Forms sometimes describe a photo the way it would look on paper, such as 3.5 × 4.5 cm for a passport-style photo. A file has no real size in cm, only pixels. The link between them is DPI (dots per inch): how many pixels fit in one inch (2.54 cm) when printed.

To turn cm into pixels:

pixels = cm ÷ 2.54 × DPI

So 3.5 × 4.5 cm at 300 DPI is 413 × 531 pixels. In Resize image, choose Centimetres (cm) or Millimetres (mm), type the size and pick the print resolution (200, 300 or 600 DPI). PDFHive works out the pixels and saves the DPI inside the file, so it also prints at the right size.

If a form lists both cm and pixels, the pixel size is the one to match: that is what the website can actually check.

Signatures

Signature uploads usually have the tightest limits, often small in both pixels and KB. Signatures are mostly white paper, so they compress very well once the background is clean. Signature resizer whitens the paper, crops close to the ink, and resizes to a pixel or cm size (cm are worked out at 200 DPI), and keeps it under the KB limit you type (it starts at 20 KB).

A quick checklist before you upload

  1. Read the rule carefully: is it KB (file size), pixels, or cm?
  2. Match the pixel or cm size first, then the KB limit, because resizing changes the file size.
  3. Check the format: many forms only accept JPG for photos and PDF for documents.
  4. Look at the result before uploading. A face or signature that is hard to read may be rejected even if the size is right.

Tools for this guide

Frequently asked questions

Why does Windows show a different size from the website?

Windows File Explorer counts 1 KB as 1,024 bytes, while many websites and Macs count 1,000. The same file can show as 49 KB on Windows and 50 KB elsewhere. Aim a little under the maximum and you are safe either way.

My photo is the right number of pixels but too many KB. What do I do?

Keep the pixel size and lower the quality instead. Compress image does this for you when you type the KB limit. If the form doesn't fix the pixel size, it may also shrink the picture to fit.

Does changing the DPI make my file smaller?

No. DPI is only a note inside the file about how big to print it. The pixels, and so the file size, stay the same. To make the file smaller you need fewer pixels or lower quality.

Can a photo be too small for a form?

Yes. Some forms set a minimum size, such as at least 20 KB, to stop blurry or blank uploads. Compress image has an **Also set a minimum** option for this. Aim a little above the minimum, for example 21 KB for a 20 KB minimum, because some sites count a kilobyte as 1,024 bytes.

More guides

All guides