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:
- Open Compress image and choose your photo.
- Type the maximum, for example 50 KB. If the form has a minimum, tick Also set a minimum and type it too.
- 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
- Read the rule carefully: is it KB (file size), pixels, or cm?
- Match the pixel or cm size first, then the KB limit, because resizing changes the file size.
- Check the format: many forms only accept JPG for photos and PDF for documents.
- Look at the result before uploading. A face or signature that is hard to read may be rejected even if the size is right.