Calculate DPI from dots and a length in cm, or solve for the pixels or print size you need at a target DPI, with a viewing-distance quality check.

Required: dots/pixels along the measured length and that length in cm.

+ Viewing distance check (optional)

Cm To Dpi Formula

The following formula is used to calculate DPI (or PPI) when you know the number of dots/pixels along a measured length and the physical length in centimeters.

DPI = D / (C / 2.54)

Variables:

  • DPI is the dots (pixels) per inch
  • D is the number of dots/pixels along the measured length (for example, the image width in pixels)
  • C is the physical length in centimeters that corresponds to D

To calculate the DPI, divide the number of dots/pixels along the measured length by the length in inches. Since 1 inch equals 2.54 cm, you can convert centimeters to inches by dividing by 2.54, giving the formula above.

Centimeters to Pixels Conversion Table (Common DPI Values, One Dimension)
Centimeters (cm) Pixels @ 72 dpi Pixels @ 96 dpi Pixels @ 150 dpi Pixels @ 300 dpi
0.514.17318.89829.52859.055
128.34637.79559.055118.110
256.69375.591118.110236.220
2.54 (1 in)72.00096.000150.000300.000
385.039113.386177.165354.331
5141.732188.976295.276590.551
7.5212.598283.465442.913885.827
10283.465377.953590.5511181.102
12.7 (5 in)360.000480.000750.0001500.000
15425.197566.929885.8271771.654
20566.929755.9061181.1022362.205
21 (A4 width)595.276793.7011240.1572480.315
21.59 (8.5 in)612.000816.0001275.0002550.000
25.4 (10 in)720.000960.0001500.0003000.000
27.94 (11 in)792.0001056.0001650.0003300.000
29.7 (A4 height)841.8901122.5201753.9373507.874
30850.3941133.8581771.6543543.307
401133.8581511.8112362.2054724.409
501417.3231889.7642952.7565905.512
601700.7872267.7173543.3077086.614
Pixels (โ‰ˆ dots) along one dimension are calculated as: px = cm ร— DPI รท 2.54. Assumes 1 inch = 2.54 cm.

What is Cm To Dpi (PPI)?

Cm to DPI (more precisely PPI for digital images) refers to finding pixel density when you know a physical length in centimeters and the number of dots/pixels along that same length. This is often used in printing and graphic design to relate an imageโ€™s pixel dimensions to a desired print size. DPI is a printing term (printer dots per inch), while PPI is the usual term for images/screens (pixels per inch), but people often use โ€œDPIโ€ informally for both.

How to Calculate Cm To Dpi?

The following steps outline how to calculate the Cm To Dpi using the formula: DPI = D / (C / 2.54).


  1. First, determine the number of dots/pixels along the measured length (D) (for example, the image width in pixels).
  2. Next, determine the corresponding physical length in centimeters (C).
  3. Next, substitute the values of D and C into the formula: DPI = D / (C / 2.54).
  4. Finally, calculate the DPI (PPI).
  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.

Dots/pixels along the measured length (D) = 500

Length in centimeters (C) = 10

DPI = 500 / (10 / 2.54) โ‰ˆ 127.00