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:
- How many pixels it has. More pixels to store means a bigger file.
- How strongly it is compressed. JPG throws away detail the eye is unlikely to miss. Stronger compression makes smaller files and, past a point, visible blur or blocky patches.
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:
- Set the pixel size first, using the image resizer.
- 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
- Why is my 2 MB photo 40 KB after resizing? Because you removed more than 95% of the pixels. This is normal.
- Can I make a small photo bigger? You can add pixels, but not detail. An enlarged small photo looks soft.
- Why do PNG files look bigger than JPG? PNG keeps every pixel exactly, which suits graphics and screenshots, while JPG saves space on photos by discarding detail.
- What size is "good enough" for a form photo? The size the form asks for. Beyond that there is no benefit.
A short cheat-sheet
- Pixels decide how much detail the image can hold.
- KB or MB decide whether a portal accepts the file.
- DPI only matters when you convert between centimetres and pixels, or print.
- Always set pixels first, compress second, and check the result at 100% zoom.