⚡ FreeDocTools

Pixels, DPI and File Size Explained in Plain English

By Rocky Star 474 · Last updated November 2026 · How our guides are written

Pixels, DPI, megapixels, KB and MB: forms and apps use all of these words, and they are often mixed up. This guide explains each in plain language and shows how they connect, so the numbers in a notification make sense and you can choose settings with confidence.

Pixels: the building blocks of a picture

A digital photo is a grid of tiny coloured squares called pixels. A photo that is 350 pixels wide and 450 pixels tall has 350 × 450 = 157,500 pixels. More pixels mean more detail, up to the point where the screen or print cannot show any more.

Megapixels: pixels in millions

A 12 megapixel phone camera makes pictures of about 12 million pixels, for example 4000 × 3000. That is far more than any form needs. A 350 × 450 photo has about 0.16 megapixels, which is less than one percent of the phone's picture. That is why phone photos are so large and why resizing is the biggest saving.

File size: KB and MB

File size is how much storage the file takes. 1 KB is 1024 bytes, 1 MB is 1024 KB. Two things decide the size of an image file:

Pixels (W × H)CompressionFile size (KB)

The picture's content matters too. A smooth, plain background compresses well. A busy, grainy or dark picture compresses badly, so two photos with the same pixel size can have very different file sizes.

DPI: a label for printing

DPI (dots per inch) tells a printer how many pixels to put in one inch of paper. A 600-pixel-wide image printed at 300 DPI is 2 inches wide, and at 100 DPI it is 6 inches wide. The image is the same. Only the print size changes. For screens and upload portals DPI is mostly irrelevant, because they look at pixels. DPI becomes useful when a form gives a size in centimetres and you need to turn it into pixels. The guide on converting cm to pixels shows how.

Pixel size or KB size: which one is the real limit?

Both can be limits at the same time. A form might ask for a photo of 350 × 450 pixels and under 50 KB. Handle them in this order:

  1. Set the pixel size first, using the image resizer.
  2. Then reduce the file size with the image compressor.

Doing it the other way round wastes quality. Compressing a large picture heavily and then shrinking it leaves a poor result.

Common questions answered

A short cheat-sheet

Free tools for this guide

More guides