⚡ FreeDocTools

cm, mm and Inch to Pixels Converter

Type the size from your form, pick the unit and DPI, and read the pixel size. Use it with the image resizer to match a form exactly.

Loading the tool…

How to use the converter

  1. In the first box, type the width and height from your form and choose the unit: cm, mm or inch.
  2. Set the DPI. If your form does not mention one, 300 is a safe choice for a sharp image and 200 gives a smaller file.
  3. Read the result in pixels. The table below it shows the same physical size at 72, 96, 150, 200 and 300 DPI so you can compare.
  4. Use the pixel size in the image resizer, then bring the file under its size limit with the image compressor.

The second box works the other way round. Enter a size in pixels and a DPI, and it shows how many centimetres, millimetres and inches the image would measure when printed.

The formula behind it

One inch is exactly 2.54 centimetres or 25.4 millimetres. DPI means dots (pixels) per inch. So:

For example, 3.5 cm ÷ 2.54 = 1.378 inches. At 300 DPI that is 1.378 × 300 = 413 pixels. A height of 4.5 cm becomes 531 pixels, so a 3.5 × 4.5 cm photo at 300 DPI is 413 × 531 pixels. The converter does this arithmetic and rounds to the nearest whole pixel.

Which DPI should I choose?

A digital file does not really have a physical size. It only has pixels. DPI is a label that tells a printer how large to print them. Online forms that ask for "3.5 cm × 4.5 cm" usually check the pixel size or the file size, not the label. If your form gives pixels, use those and ignore DPI. If it only gives centimetres, start with 300 DPI, and if the file is too large for the limit, try 200 DPI and compress again.

The longer guide on converting cm to pixels for forms explains this with a table of common sizes.

Common mistakes

Is anything uploaded?

No. The calculation runs in your browser and nothing you type is sent to our servers. See the privacy policy.

Frequently asked questions

Why do I get different pixel sizes at different DPI?

Because the same physical size contains more pixels when they are packed more densely. A 3.5 × 4.5 cm photo is 207 × 266 pixels at 150 DPI and 413 × 531 pixels at 300 DPI.

Does the converter resize my photo?

No. It only calculates numbers. To change an actual photo, use the image resizer.

What if the answer has decimals?

Pixels must be whole numbers, so the converter rounds to the nearest pixel. A difference of one pixel does not matter for forms.

More free tools