Pixel to CM Converter

Convert pixels, centimeters, millimeters and inches at the DPI you choose. Load a photo to see how large it can be printed.

Size

DPI
72 for old screens, 96 for web, 150 for drafts, 300 for photos and documents.
Common sizes

Result

—
pxcmmminpt
Width
Height

cm = pixels ÷ DPI × 2.54. Social media sizes change now and then, so check the platform's current guidance.

Print size and DPI check

Load a photo, or type its pixel size, to see how large you can print it and how sharp it will be.

— effective DPI
—

Print size
—
Pixels for 300 DPI
—
DPIcminQuality

How many pixels are in a centimeter?

There is no single answer, because a pixel has no fixed size until you pick a resolution. A pixel to cm converter needs the DPI (dots per inch, also called PPI). At 300 DPI there are 118.11 pixels in one centimeter. At 96 DPI, the number browsers assume for screens, there are 37.8.

cm = pixels ÷ DPI × 2.54
pixels = cm ÷ 2.54 × DPI
mm = cm × 10  |  inch = cm ÷ 2.54  |  pt = inch × 72

Worked example: a 1080 px wide Instagram post printed at 300 DPI is 1080 ÷ 300 × 2.54 = 9.14 cm wide. The same file at 96 DPI is 28.58 cm wide. The pixels did not change, only the size you spread them over.

Pixels per cm at common DPI

DPIPixels per cmSize of one pixelTypical use
7228.350.353 mmOld screen and PDF default
9637.800.265 mmCSS and Windows screens
15059.060.169 mmDraft prints, large posters
300118.110.085 mmPhotos, documents, ID photos
600236.220.042 mmLine art, scans of small items

How many pixels is an ID photo or A4 page?

These are the sizes at 300 DPI, rounded to whole pixels. For online forms that ask for a photo "3 × 4 cm", send 354 × 472 px.

SizeAt 300 DPIAt 150 DPI
2 × 3 cm photo236 × 354 px118 × 177 px
3 × 4 cm photo354 × 472 px177 × 236 px
4 × 6 cm photo472 × 709 px236 × 354 px
4 × 6 in print1200 × 1800 px600 × 900 px
8 × 10 in print2400 × 3000 px1200 × 1500 px
A5 (14.8 × 21 cm)1748 × 2480 px874 × 1240 px
A4 (21 × 29.7 cm)2480 × 3508 px1240 × 1754 px
A3 (29.7 × 42 cm)3508 × 4961 px1754 × 2480 px

At 72 DPI an A4 page is 595 × 842 px, and at 96 DPI it is 794 × 1123 px. Those are the numbers design apps use when you create an "A4" canvas for screen work.

What DPI do I need to print a photo?

Divide the photo's pixel width by the print width in inches. A 4000 × 3000 px phone photo printed at 30 cm wide (11.8 in) gives 339 DPI, which looks sharp. Stretched to a 60 cm poster it drops to 169 DPI, fine from a few steps away and soft up close. The helper at the bottom of the tool does this sum for you and also tells you how many pixels you would need for 300 DPI.

These are rules of thumb, not standards. A printer with a good print shop behind it can often tell you the minimum they accept.

Does changing DPI change the image?

No. DPI stored inside a file is only a label that says how large to print it. A 3000 × 2000 px photo tagged 72 DPI and the same photo tagged 300 DPI hold identical pixels. Changing the tag does not add detail. To get a sharper print you need more pixels, meaning a bigger original, not a bigger number in the metadata. When you upload a photo above, the tool shows the DPI tag if the file has one, but works from the pixel size.

Pixels on a screen are not centimeters

A phone screen can have 400 physical pixels per inch while a CSS pixel is still defined as 1/96 inch. That is why 1 cm on your screen is never exactly 37.8 on-screen pixels. Use the DPI conversion for print, and for screen layouts think in pixels only.

Frequently asked questions

How do I convert pixels to cm?

Divide the pixels by the DPI and multiply by 2.54. For example, 1080 px at 300 DPI is 1080 ÷ 300 × 2.54 = 9.14 cm. At 96 DPI the same 1080 px is 28.58 cm.

How many pixels is 1 cm?

At 300 DPI, 1 cm is 118.11 pixels. At 96 DPI it is 37.8 pixels, and at 72 DPI it is 28.35 pixels. The number depends on the DPI, so pick the one your print or screen uses.

How many pixels is A4?

At 300 DPI, A4 (21 × 29.7 cm) is 2480 × 3508 pixels. At 150 DPI it is 1240 × 1754, at 96 DPI it is 794 × 1123 and at 72 DPI it is 595 × 842.

How many pixels is a 3x4 cm photo?

At 300 DPI a 3 × 4 cm photo is 354 × 472 pixels. A 2 × 3 cm photo is 236 × 354 and a 4 × 6 cm photo is 472 × 709, also at 300 DPI.

What DPI should I use for printing?

Use 300 DPI for photos and documents, 150 DPI for large posters seen from a distance, and even less for big banners. Enter your image size in the helper and it shows the DPI you would actually get.

Does DPI change the quality of an image?

No. DPI is only a print size label stored in the file. A 3000 × 2000 px image has the same pixels at 72 or 300 DPI. More quality needs more pixels, not a different DPI tag.

What is the difference between DPI and PPI?

PPI counts pixels per inch in an image or screen, while DPI counts printed dots per inch. For converting sizes the two are used the same way, so this tool treats them as one number.

How do I convert cm to pixels for a banner?

Enter the banner width and height in cm, set From to cm and To to px, then choose a DPI. A 60 × 160 cm X-banner needs 3543 × 9449 px at 150 DPI. Large banners are often printed at 100 DPI or less.