Convert centimeters to pixels at any DPI

Content last reviewed:

Enter a value in centimeters, set the DPI resolution, and read the result in pixels. Check how many pixels match a given value in centimeters. The converter helps you pick the right dimensions whenever you design graphics for print, for the screen, or for social media.

cm
px
to
ADVERTISEMENT

Why convert centimeters to pixels?

A centimeter describes the physical size in which paper and print formats are given. A pixel, in turn, describes a single point on a phone, tablet, or laptop screen. To translate one into the other you have to know the DPI resolution, which tells you how many pixels fit on one inch of the screen.

This kind of conversion is most often done by designers preparing files for a print shop, photographers checking whether a photo is large enough for a specific print size, or designers working on banners, social media graphics, or elements of a website. The converter saves you from doing the math by hand and from memorizing the formula.

Further down the page you will find a conversion table for the five most common resolutions, ready-made dimensions for popular formats (from an A4 sheet through 10×15 cm photos to a passport photo), and short walkthroughs that show how to convert centimeters to pixels in Photoshop, Figma, Canva, and other design tools.

How does cm to px conversion work? Formula and example

The whole conversion comes down to one formula built on the fixed relationship between an inch and a centimeter: one inch equals exactly 2.54 cm. You simply multiply the number of centimeters by the chosen DPI resolution and divide the result by 2.54.

The complete formula looks like this: number of pixels = number of centimeters × DPI ÷ 2.54. The converter performs this calculation exactly and instantly.

Example: you want to check how many pixels make up 7.5 cm at the print resolution of 300 DPI. You plug the values into the formula and get 7.5 × 300 ÷ 2.54, which equals about 886 pixels. At 96 DPI the same length gives only 284 pixels.

Do you already have a finished file and want to know its size on paper? That calculation belongs to the pixels to centimeters converter, which also covers camera and screen resolutions.

How many pixels do different centimeter values produce at different DPI values?

The table below shows how the same dimensions in centimeters translate into pixels at the five most commonly used resolutions. The values have been rounded to the nearest whole number, so they may differ slightly from the result our converter gives, which shows the exact pixel count with decimals.

Dimension72 DPI96 DPI150 DPI300 DPI600 DPI
0.5 cm14 px19 px30 px59 px118 px
1 cm28 px38 px59 px118 px236 px
1.5 cm43 px57 px89 px177 px354 px
2 cm57 px76 px118 px236 px472 px
2.5 cm71 px94 px148 px295 px591 px
3 cm85 px113 px177 px354 px709 px
3.5 cm99 px132 px207 px413 px827 px
4 cm113 px151 px236 px472 px945 px
4.5 cm128 px170 px266 px531 px1,063 px
5 cm142 px189 px295 px591 px1,181 px
6 cm170 px227 px354 px709 px1,417 px
7 cm198 px265 px413 px827 px1,654 px
8 cm227 px302 px472 px945 px1,890 px
9 cm255 px340 px531 px1,063 px2,126 px
10 cm283 px378 px591 px1,181 px2,362 px
12 cm340 px454 px709 px1,417 px2,835 px
15 cm425 px567 px886 px1,772 px3,543 px
20 cm567 px756 px1,181 px2,362 px4,724 px
25 cm709 px945 px1,476 px2,953 px5,906 px
30 cm850 px1,134 px1,772 px3,543 px7,087 px
50 cm1,417 px1,890 px2,953 px5,906 px11,811 px
100 cm2,835 px3,780 px5,906 px11,811 px23,622 px

All values have been rounded to the nearest whole number according to the formula px = cm × DPI ÷ 2.54.

ADVERTISEMENT

If you need the dimensions of a finished format rather than a single centimeter (for example an A4 sheet, a 10×15 cm photo, or a passport photo), the table below lists the values at the two most commonly used resolutions. Dimensions are always given as width × height in portrait orientation.

FormatW × H (cm)W × H (150 DPI)W × H (300 DPI)
ISO A-series paper
A084.1 × 118.94,967 × 7,0229,933 × 14,043
A159.4 × 84.13,508 × 4,9677,016 × 9,933
A242.0 × 59.42,480 × 3,5084,961 × 7,016
A329.7 × 42.01,754 × 2,4803,508 × 4,961
A421.0 × 29.71,240 × 1,7542,480 × 3,508
A514.8 × 21.0874 × 1,2401,748 × 2,480
A610.5 × 14.8620 × 8741,240 × 1,748
A77.4 × 10.5437 × 620874 × 1,240
US paper sizes
Letter (8.5 × 11 in)21.59 × 27.941,275 × 1,6502,550 × 3,300
Legal (8.5 × 14 in)21.59 × 35.561,275 × 2,1002,550 × 4,200
Tabloid / Ledger (11 × 17 in)27.94 × 43.181,650 × 2,5503,300 × 5,100
Photo prints
4 × 6 in10.16 × 15.24600 × 9001,200 × 1,800
5 × 7 in12.70 × 17.78750 × 1,0501,500 × 2,100
8 × 10 in20.32 × 25.401,200 × 1,5002,400 × 3,000
11 × 14 in27.94 × 35.561,650 × 2,1003,300 × 4,200
16 × 20 in40.64 × 50.802,400 × 3,0004,800 × 6,000
Photo 10 × 15 cm10 × 15591 × 8861,181 × 1,772
Photo 13 × 18 cm13 × 18768 × 1,0631,535 × 2,126
Photo 20 × 30 cm20 × 301,181 × 1,7722,362 × 3,543
ID and passport photos
US passport (2 × 2 in)5.08 × 5.08300 × 300600 × 600
ICAO / EU passport (35 × 45 mm)3.5 × 4.5207 × 266413 × 531
Business cards
US (3.5 × 2 in)8.89 × 5.08525 × 3001,050 × 600
European (85 × 55 mm)8.5 × 5.5502 × 3251,004 × 650
Japanese (91 × 55 mm)9.1 × 5.5538 × 3251,075 × 650
Large-format advertising
Roll-up banner (85 × 200 cm)85 × 2005,020 × 11,81110,039 × 23,622

The A-series paper dimensions come from ISO 216, which sets A4 at 210 × 297 mm and every following size at half the area of the one before.[3] For billboards and other large-format graphics 30–72 DPI is usually enough in practice, because the viewer stands several meters away.

How much DPI do you actually need? Viewing distance decides

Three hundred DPI settled in as the default answer, yet it describes one specific case: material held in the hand, roughly at arm's length. The CSS standard defines its reference pixel through the visual angle from exactly that distance, about 28 inches.[1]

The further away the viewer stands, the fewer pixels have to land on an inch, because the eye stops separating neighbouring points anyway. A billboard read from twenty metres looks right at 30 DPI, while the same file seen up close would look soft. Media at that scale have their sides given in meters: a 48-sheet poster is 6.096 × 3.048 m, which at 30 DPI comes to 7,200 × 3,600 pixels, and the meters to pixels converter runs that sum. So start from the question of how far away somebody will be standing.

The second matter concerns enlarging finished files. Raising the DPI in a graphics program adds pixels but no detail, because the program invents points from their neighbours. An 800 px file stretched to 3,000 px carries three times the pixels and exactly the same information, which shows in the soft edges. Resolution that is not in the original comes only from a new scan or a new photograph.

Which DPI applies to which material?

Typical print-shop requirements together with the distance each material is viewed from. The third column gives the pixel count for ten centimetres of width at that DPI, so you can judge whether the file you have is enough.

MaterialViewing distanceRecommended DPI10 cm in pixels
Business cards, flyersabout 30 cm300–350 DPI1,181–1,378 px
Catalogues, books, albumsabout 30 cm300 DPI1,181 px
Photo printsabout 30 cm300 DPI1,181 px
B2 and B1 posters1–2 m150–200 DPI591–787 px
Roll-ups and backdrops1–2 m150 DPI591 px
Advertising banners3–10 m100–120 DPI394–472 px
Mesh banners and billboardsover 20 m30–50 DPI118–197 px

These figures describe print-shop practice rather than a standard. Check the requirements of your specific shop when ordering, because some ask for 300 DPI whatever the format.

ADVERTISEMENT

Comparison of centimeter and pixel units

PropertyCentimeter (cm)Pixel (px)
Type of unitPhysical and tangibleDigital and screen-based
Dependence on the deviceAlways the sameDepends on DPI or PPI
Print at 300 DPI1 cm equals 118 px1 px equals 0.0085 cm
Screen at 96 DPI1 cm equals 37.8 px1 px equals 0.0265 cm
A4 format21 × 29.7 cm2,480 × 3,508 px (300 DPI)
  1. Photoshop

    In Adobe Photoshop you set the canvas dimensions in Image › Image Size. Pick Centimeters from the units dropdown, type the physical dimension and the target DPI in the Resolution field, and Photoshop will convert the value into pixels automatically. If you want the unit change to keep the pixel count of the file intact, uncheck the Resample option – you then change only the physical dimension while the pixels stay untouched.
  2. Illustrator

    Adobe Illustrator works in the unit you chose when you created the document. You can change it under Edit › Preferences › Units – pick Pixels for screen projects or Centimeters for print materials. The resulting pixel count depends on the artboard resolution set at the start of the project. If you are working on a flyer in cm but the client asks for the file in px, the easiest approach is to copy the dimension from our converter and paste it into the Transform panel.
  3. Figma

    Figma works only in pixels and assumes a fixed 96 DPI. That means whenever you design something in Figma that will later be printed in centimeters, you first have to translate the physical dimension into pixels at the target resolution. For example, a 10 × 15 cm flyer at 300 DPI becomes a 1,181 × 1,772 px frame – type that value when you create a new frame, then export at 1× scale so the dimensions stay true to the original.
  4. Canva

    In Canva you click Create a design › Custom size and pick cm or mm as the unit before typing the physical dimension. Canva converts the value into pixels automatically on export. If the file is going to a print shop, check the PDF Print option in the download dialog and turn on bleed and crop marks. Canva exports such files at 300 DPI by default, so the format table on this page matches what you receive at the output.
  5. Procreate

    When you create a new Procreate canvas you can pick pixels, millimeters, centimeters, or inches as the unit. In the Custom Canvas tab set the dimension in cm and type 300 DPI if the illustration is going to print. Keep in mind that the higher the DPI and the larger the format, the fewer layers the app gives you – on an iPad Pro with 8 GB RAM the safe limit is A3 at 300 DPI, while larger formats are better split into sections or rendered at 150 DPI.
  6. GIMP

    In GIMP the dimensions live in Image › Scale Image. Open the unit list next to the width and height fields, pick centimeters, and type the target DPI into the X and Y resolution fields. GIMP then converts the physical size into pixels the same way Photoshop does, and you save the file through File › Export As, because the default save creates an XCF project.
  7. Word, Excel, PowerPoint

    Microsoft 365 (Word, Excel, and PowerPoint) works in centimeters, and image dimensions live in the Size and Position panel. PDF files exported from these apps keep their high quality by default, so 1 cm matches 118 px at 300 DPI. If you save a slide as a PNG or JPG, PowerPoint uses the standard 96 DPI, which means 1 cm equals about 38 px – that is when our converter helps you check whether the file is actually large enough for print.
  8. CSS and HTML

    In CSS the cm unit is translated by the fixed formula 1cm = 96px ÷ 2.54 ≈ 37.8px.[1] The value does not change with the screen – you always get the same result regardless of the device. In practice you use px, rem, or em for web interfaces and reserve cm for print stylesheets (@media print). Only then does the page layout actually mirror the physical dimensions of a sheet of paper.

What is converting centimeters to pixels good for?

  1. Preparing files for a print shop

    You can check that an A4 print sheet measures 2,480 × 3,508 px at 300 DPI, and that an A3 poster takes 3,508 × 4,961 px. The converter helps you avoid the situation where a print shop rejects your file because the resolution is too low.
  2. Graphics for a website

    If you designed a banner that measures 20 × 6 cm, you will see that at 96 DPI it matches exactly 756 × 227 px. That is precisely the size to drop into your website code or a CMS template.
  3. ID and passport photos

    The United States asks for a square photo of 2 × 2 in, which comes to 600 × 600 px at 300 DPI, and the online renewal form accepts between 600 and 1200 px per side.[2] The United Kingdom, Ireland and the EU follow the ICAO format of 35 × 45 mm, which gives 413 × 531 px at the same resolution.
  4. Business cards and brand assets

    A European business card (8.5 × 5.5 cm) becomes 1,004 × 650 px at 300 DPI, while a US one (3.5 × 2 in) matches 1,050 × 600 px. Print shops ask for a 3 mm bleed on every side, which comes to 35 px at 300 DPI — a figure you can work out in the mm to px converter, because bleeds are always quoted in millimeters.
ADVERTISEMENT

Convert other units to Pixels

Convert Centimeters to other units

Explore other unit converters

Sources

  1. ISO 216 – the international standard for A, B and C series paper sizesWikipedia
  2. CSS Values and Units Module Level 3W3C
  3. Passport PhotosU.S. Department of State

Every figure in the tables was computed from the unit definitions and checked arithmetically before publication. Historical values and the names of local units come from the sources listed above.

Content last reviewed: · written and checked by the Arteon team

Frequently asked questions about cm to px conversion

How many pixels does 1 cm contain?

Everything depends on the resolution you choose. At the standard screen value of 96 DPI one centimeter equals about 38 pixels, while at the older 72 DPI used in earlier screen graphics it is only 28 pixels. In print, where 300 DPI is the typical baseline, the same centimeter already covers about 118 pixels.

How do you convert centimeters to pixels?

The easiest way is to type the number of centimeters into the converter field and pick the DPI you need – the result appears right away. If you would rather calculate by hand, use the formula: number of pixels = number of centimeters × DPI ÷ 2.54. For 5 cm at 300 DPI you get 5 × 300 ÷ 2.54, which equals about 591 pixels.

How many pixels does 5 cm contain?

At the standard screen resolution of 96 DPI five centimeters equal about 189 pixels. If you are preparing a graphic for 300 DPI print, the same length grows to 591 pixels, and at 600 DPI it reaches 1,181 pixels.

How many pixels does 7 cm contain?

Seven centimeters at 96 DPI equal about 265 pixels. In 300 DPI print the same length corresponds to 827 pixels, and at 600 DPI it gives 1,654 pixels.

How many pixels does 10 cm contain?

Ten centimeters match about 378 pixels at 96 DPI. In 300 DPI print the same 10 cm equal exactly 1,181 pixels – a number worth remembering because it appears in photography as the short side of a classic 10 × 15 cm print.

How many pixels does 20 cm contain?

Twenty centimeters equal 756 pixels on a 96 DPI screen and 2,362 pixels in 300 DPI print. If you design for a billboard where 30–72 DPI is enough, the same width drops to between 236 and 567 pixels.

How many pixels does A4 contain at 300 DPI?

An A4 sheet measures 21 × 29.7 cm, which at 300 DPI gives exactly 2,480 × 3,508 pixels. At 150 DPI the same dimensions become 1,240 × 1,754 pixels, while at the screen value of 96 DPI they are only 794 × 1,123 pixels.

How many pixels does a 10×15 cm photo contain?

A standard 10 × 15 cm photo print matches 1,181 × 1,772 pixels at 300 DPI. If your camera file is at least that large, you can order the print with confidence – the quality will be excellent.

How many pixels does a passport photo contain?

A US passport photo is 2 × 2 in, which is 600 × 600 px at 300 DPI, and the online renewal form accepts 600 to 1200 px per side. The UK, Ireland and the EU use the ICAO format of 35 × 45 mm, giving 413 × 531 px at the same resolution.

How do you set centimeters to pixels in Photoshop or Canva?

In Photoshop open Image › Image Size, change the unit to centimeters, and type the dimensions together with the target DPI. In Canva pick Create a design › Custom size, switch the unit to cm, and enter the required dimension – the app will convert the file into pixels automatically on export. Detailed walkthroughs for Photoshop, Illustrator, Figma, Canva, and Procreate are in the section above.

What is the difference between DPI and PPI?

DPI (dots per inch) is the number of ink dots per inch of material and describes a printer. PPI (pixels per inch) is the number of pixels per inch of a screen and describes a monitor or display. In everyday work designers use both abbreviations interchangeably, but technically DPI is for print and PPI is for screens.

How much is 1 pixel in centimeters?

A single pixel on a standard 96 DPI screen measures about 0.0265 cm, and at the 300 DPI used for print only 0.0085 cm. To convert any pixel count into centimeters, divide it by the DPI value and multiply by 2.54.

How many pixels does a passport photo (35 × 45 mm) contain?

The ICAO biometric photo standard for passports and ID cards used across the EU, UK, and many other countries measures 35 × 45 mm, which at 300 DPI gives 413 × 531 pixels. Government agencies often also accept a slightly larger digital file, so 492 × 633 px is a safe choice that meets the most common official requirements.

How many pixels does a centimeter contain on a Retina screen?

Apple Retina displays pack pixels twice as densely as a regular monitor, but the operating system still interprets dimensions as if the panel was 96 DPI. That is why you prepare graphics at twice the resolution (1 cm equals 76 px instead of 38 px), save them as 96 DPI, and export them with the @2x suffix.

cm to px converter – Arteon

Help us improve this converter

Missing a format in the tables, spotted a calculation error, or want to suggest a new feature? Drop us a message – we read every email personally and respond within 24 hours.