Some forms describe the photo or signature as "3.5 cm × 4.5 cm", while the upload box, the resizer or the editing app asks for pixels. Without a clear way to convert, people guess, and a wrong guess means another rejected upload. This guide explains the one formula you need, gives a ready table for common sizes, and shows how to pick the right DPI.
The idea in one line
A digital picture is made of pixels. Centimetres only appear when it is printed. DPI (dots per inch) is the link between the two: it says how many pixels fit into one inch of print. One inch is exactly 2.54 cm, so:
- Pixels = centimetres ÷ 2.54 × DPI
- Pixels = millimetres ÷ 25.4 × DPI
- Pixels = inches × DPI
Worked example: a width of 3.5 cm is 3.5 ÷ 2.54 = 1.378 inches. At 300 DPI that is 1.378 × 300 = 413 pixels. A height of 4.5 cm is 1.772 inches, which is 531 pixels. So a 3.5 × 4.5 cm photo at 300 DPI is 413 × 531 pixels.
Ready table for common sizes
Values are rounded to the nearest whole pixel. The sizes are examples to show the arithmetic. Always use the size in your own form's notification.
| Size | 72 DPI | 96 DPI | 150 DPI | 200 DPI | 300 DPI |
|---|---|---|---|---|---|
| 3.5 × 4.5 cm | 99 × 128 | 132 × 170 | 207 × 266 | 276 × 354 | 413 × 531 |
| 3 × 4 cm | 85 × 113 | 113 × 151 | 177 × 236 | 236 × 315 | 354 × 472 |
| 6 × 2 cm | 170 × 57 | 227 × 76 | 354 × 118 | 472 × 157 | 709 × 236 |
| 2 × 2 inch | 144 × 144 | 192 × 192 | 300 × 300 | 400 × 400 | 600 × 600 |
| A4 (21 × 29.7 cm) | 595 × 842 | 794 × 1123 | 1240 × 1754 | 1654 × 2339 | 2480 × 3508 |
For any other size, type it into the cm to pixels converter. It shows the pixel size at all these DPI values at once.
Quick mental shortcuts
One centimetre equals about 118 pixels at 300 DPI, 79 pixels at 200 DPI, 59 pixels at 150 DPI, 38 pixels at 96 DPI and 28 pixels at 72 DPI. If you need a rough idea fast, multiply the centimetres by one of these numbers.
Which DPI should you choose?
Here is the part that confuses most people: the file itself does not store a real physical size. DPI inside a photo is only a label, and many upload portals ignore it and look at the pixel size and the file size. That gives you a simple rule.
- The form gives pixels. Use them exactly and forget DPI.
- The form gives pixels and centimetres. Trust the pixels. They are what the software checks.
- The form gives only centimetres. Start at 300 DPI. If the file is too large for the KB limit, redo it at 200 DPI. If the form also sets a minimum size, do not go too low, because a tiny file can be rejected as well.
Step by step: from centimetres to a finished file
- Write down width and height from the form, and the unit.
- Convert them with the table above or the converter.
- Open the image resizer and type the pixel width and height. It crops to the right shape first, so the face is not stretched.
- If the form has a size limit in KB, run the result through the image compressor.
- Open the final file, check that it is sharp, and check the size and format against the form.
Mistakes to avoid
- Mixing mm and cm. 45 mm is 4.5 cm, not 45 cm.
- Swapping width and height. Most portrait photos are taller than they are wide. Landscape signatures are wider than tall.
- Enlarging a small photo. If the original has fewer pixels than you need, stretching it only makes it soft. Start from a larger original.
- Using an old size. Notifications change from year to year. Always read the latest one.
Frequently asked questions
Is 300 DPI always better?
It gives more pixels for the same physical size, which means a sharper image but a bigger file. For online forms with small size limits, a lower DPI is often enough.
My photo already says 300 DPI in its properties. Do I need to change it?
Usually not. Portals that check pixels do not usually read that label. Check the pixel width and height instead.
What if my result is off by one pixel?
Rounding can create a difference of one pixel. Forms with a minimum and maximum range accept it. If a form asks for exact pixels, type exactly those numbers in the resizer.