Converting a form's cm size into pixels: the formula and a chart

Reviewed: 2026-10-02

The form quotes centimetres, the editor wants pixels. Enter the size below or do the sum yourself: pixels = cm ÷ 2.54 × DPI.

Try the converter

3.5 × 4.5 cm at 300 DPI = 413 × 531 pixels

The sum is done on this page. If the form does not name a DPI, 200 suits on-screen forms and 300 suits forms that mention print.

Why the same form lists cm and pixels

A centimetre is a physical length, while a pixel is a dot on a screen. They only relate once a density is chosen, and the density is the DPI. Forms written for print quote centimetres; upload portals measure pixels.

The sum written out

Divide the length in centimetres by 2.54 to get inches, then multiply by the DPI. For 3.5 cm at 300 DPI that is 3.5 ÷ 2.54 × 300 = 413 pixels. For 4.5 cm it is 531 pixels.

Going the other way

Printed length in cm is pixels ÷ DPI × 2.54, so a side of 413 pixels at 300 DPI measures 3.5 cm.

Ready-made chart

Size (cm)Pixels @ 200 DPIPixels @ 300 DPI
2.5 × 3.5197 × 276295 × 413
3.5 × 4.5276 × 354413 × 531
3.5 × 1.5 (signature)276 × 118413 × 177
5.0 × 7.0394 × 551591 × 827
2 × 2 in (5.08 × 5.08 cm)400 × 400600 × 600
1 cm (one side)79118

Values are rounded to whole pixels.

Pixels per centimetre

The count shifts with DPI: roughly 28.3 pixels at 72 DPI, 37.8 at 96 DPI, 78.7 at 200 DPI and 118.1 at 300 DPI. Multiply by your length in cm to get the pixels for that side.

Choosing a DPI when the form is silent

If a form gives both centimetres and pixels, divide the pixels by the inches to see which DPI it assumes, and follow the pixels. If it gives neither a DPI nor pixels, 200 DPI is a sensible default for on-screen forms and 300 DPI suits anything that mentions print quality.

Read the numbers from your own file

On Windows, right-click the picture, open Properties and then Details; width, height and resolution are listed there. A photo with a 413 × 531 size and a 300 dpi tag matches the 3.5 × 4.5 cm row of the chart. To set the numbers for you, open Image Resizer in CM, or tag an existing file with Set image to 300 DPI.

Common follow-up questions

How many pixels is 1 cm?

It depends on DPI: 28.3 at 72, 37.8 at 96, 78.7 at 200 and 118.1 at 300 DPI.

How do I turn pixels into cm?

Take the pixels, divide by the DPI for inches, then multiply that by 2.54.

Does a higher DPI make the file heavier?

Changing only the DPI tag changes a few header bytes. Raising the pixel count is what makes the file heavier.

The form gives me both cm and pixels. Which one counts?

Follow the pixels, since a portal measures those. The cm figure is the print size they correspond to.

Can a tool do the sum and the resize together?

Yes. Image Resizer in CM takes width, height, unit and DPI, and gives you a picture with exactly those pixels.

Tools for this job