Enter the size in centimeters and the resolution of the screen or image into the calculator to determine the size in pixels. This calculator can also evaluate any of the variables given the others are known.

Cm to Pixel Calculator

DPI
PPI

Leave exactly one field blank to solve for it

Cm To Pixel Formula

The following formula is used to calculate the conversion from centimeters to pixels.

PX = CM * DPI / 2.54

Variables:

  • PX is the size in pixels
  • CM is the size in centimeters
  • DPI is the resolution of the screen or image (dots per inch)

To calculate the size in pixels, multiply the size in centimeters by the resolution of the screen or image (DPI), then divide the result by 2.54 (the number of centimeters in an inch).

Centimeters to Pixels Conversion Table (DPI Mode)
Centimeters (cm) Pixels at 72 DPI Pixels at 96 DPI Pixels at 150 DPI Pixels at 300 DPI Pixels at 600 DPI
0.514193059118
1283859118236
25776118236472
2.547296150300600
385113177354709
3.599132207413827
4113151236472945
51421892955911181
61702273547091417
7.52132834438861772
82273024729451890
1028337859111812362
1234045470914172835
1542556788617723543
20567756118123624724
21595794124024804961
25709945147629535906
287941051165433076614
308501134177235437087
4011341512236247249449
Pixels are calculated as px = cm × DPI ÷ 2.54. Values rounded to the nearest pixel. Note: 2.54 cm = 1 inch.

What is Cm To Pixel?

Cm to Pixel is a conversion method used to change the measurement of a digital image from centimeters to pixels. This is often necessary because while physical sizes (like centimeters) are used in the real world, digital images are measured in pixels on screens. The conversion rate can vary based on the resolution or DPI (dots per inch) of the screen or image. For example, an image that is 1 cm on a 300 DPI screen would be approximately 118 pixels.

How to Calculate Cm To Pixel?

The following steps outline how to calculate the Cm To Pixel using the formula: PX = CM * DPI / 2.54.


  1. First, determine the size in centimeters (CM).
  2. Next, determine the resolution of the screen or image (DPI).
  3. Next, use the formula PX = CM * DPI / 2.54 to calculate the size in pixels (PX).
  4. Finally, calculate the Cm To Pixel.
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

size in centimeters (CM) = 10

resolution of the screen or image (DPI) = 300

Calculator Change Log:

  • 6/13/25 – Added an option to toggle between calculating with DPI or PPI.