300 DPI, Pixels and Print Size Explained for Passport Photos
Passport photo instructions often mention millimetres, pixels and DPI in the same sentence, which confuses many people. The ideas are simple once you see how they connect. This guide explains each term in plain words and shows how to convert between them so that your photo is sharp on screen and on paper.
What a pixel is
A pixel is the smallest dot of colour in a digital image. A photo is a grid of thousands or millions of these dots. The more pixels a photo has across and down, the more detail it can show. When a form asks for a photo of 413 x 531 pixels, it means the grid must be 413 dots wide and 531 dots tall.
Pixels have no physical size on their own. A pixel is tiny on a phone screen and larger on a big monitor. The physical size appears only when the image is printed, and that is where DPI comes in.
What DPI means
DPI stands for dots per inch. It tells a printer how many pixels to place in one inch of paper. A higher number packs the dots closer together and gives a sharper print. For passport photos, 300 DPI is the usual standard because it is detailed enough for face recognition and small enough to keep files light.
If a photo is printed at 100 DPI, the same pixels are spread over a bigger area and the image looks soft and blocky. If it is printed at 600 DPI, the print is very fine but the file has to be much larger. For most passport uses, 300 is the sweet spot.
Converting millimetres to pixels
The formula is easy. Divide the size in millimetres by 25.4 to get inches, then multiply by the DPI. For a 35 x 45 mm photo at 300 DPI, the width is 35 divided by 25.4 times 300, which is about 413 pixels, and the height is about 531 pixels.
Other common results at 300 DPI are 40 x 60 mm, which is about 472 x 709 pixels, and 51 x 51 mm, which is about 602 x 602 pixels. Our passport photo size guide lists the millimetre sizes for many countries, and you can apply this formula to any of them.
Why a bigger original is better
You can always shrink a large photo without losing quality, but you cannot enlarge a small one without making it blurry. That is why it is best to start from the original camera file. A modern phone photo is often 3000 pixels wide or more, which is far more than the 413 pixels needed for a standard passport photo.
When you crop to the face, you throw away most of the pixels. A photo that starts at 4000 x 3000 pixels may only have 1500 pixels left across the face after cropping, which is still plenty for a sharp result. A small image shared through a chat app might have only 600, and the final photo may look soft.
File size is not the same as pixel size
File size, measured in kilobytes or megabytes, depends on both the number of pixels and the compression level. Two photos of the same pixel size can have different file sizes if one is compressed harder. Some online forms limit the file size, for example to 200 KB or 1 MB, even when they also ask for exact pixel dimensions.
If your file is too large, reduce the JPG quality a little rather than shrinking the pixels, because the pixel dimensions must stay exact. We explain this further in our upload size and format guide.
DPI metadata can be misleading
Every image file can carry a DPI number in its hidden data. That number does not change how many pixels the photo has. A 413 x 531 pixel image tagged as 72 DPI and the same image tagged as 300 DPI contain exactly the same dots. The tag only suggests a default print size.
This means that you should not trust the DPI label alone. Always check the pixel dimensions. When printing, set the printer to print at actual size so that 413 pixels becomes 35 mm wide, as described in printing passport photos at home.
Common mistakes with resolution
Taking a screenshot of a photo, saving a photo from a chat app, or enlarging a tiny image are the most common causes of a blurry passport photo. Another mistake is changing the width and height separately, which stretches the face. Always crop with fixed proportions.
If you are unsure whether your photo is sharp enough, zoom in to 100 percent on your screen. If the eyes and hair edges look clear, the photo is good. If they look fuzzy, take a new one. See common passport photo mistakes for related problems.
Letting a tool do the maths
You do not need to calculate pixels by hand. Uphoto converts the country's millimetre size into the right pixel dimensions at 300 DPI and exports the final file for you. Choose your country on the Uphoto home page, add a clear photo and download the JPG or PDF.
Understanding the basics still helps. When a form asks for a strange size, you can calculate it quickly, and when a photo looks soft, you will know whether the cause is the resolution, the compression or the original camera file.