Skip to content
ExactUnit

Digital Image Resolution / px/cm → ppi

Convert Pixels per centimeter to Pixels per inch

Convert linear pixel density between pixels per inch and per metric distance. Convert Pixels per centimeter (px/cm) to Pixels per inch (ppi). Find the formula, worked examples, unit definitions, and practical guidance below.

Reverse: Pixels per inch to Pixels per centimeter →

Unit converter
Edit either value
1 px/cm = 2.54 ppi

Results rounded to 12 significant digits.

How to convert pixels per centimeter to pixels per inch

Pixel density relates pixel counts to physical length. Printer dots (DPI) are not necessarily image pixels (PPI); resolution alone cannot determine image dimensions without a pixel count. This tool does not resize images.

Use x for the value in px/cm, b for the intermediate value in px/m, and y for the result in ppi.

ppi = px/cm × 100 ÷ 39.37007874015748

Worked examples

  • 10 px/cm ≈ 25.4 ppi

    Step 1: (10 × 100) ≈ 1000 px/m.
    Step 2: 1000 ÷ 39.3700787402 ≈ 25.4 ppi.

  • 20 px/cm ≈ 50.8 ppi

    Step 1: (20 × 100) ≈ 2000 px/m.
    Step 2: 2000 ÷ 39.3700787402 ≈ 50.8 ppi.

Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.

About Pixels per centimeter

Pixels per centimeter (px/cm) measures digital image resolution under the conventions above. The base value in px/m is (x × 100), where x is the numerical value in px/cm. Factors shown here are rounded for display; calculations use the stored factor.

About Pixels per inch

Pixels per inch (ppi) measures digital image resolution under the conventions above. The base value in px/m is (x × 39.3700787402), where x is the numerical value in ppi. Factors shown here are rounded for display; calculations use the stored factor.

Definitions and sources

For a different quantity or formatting task, see the related other conversion tools.

Pixels per centimeter to pixels per inch reference table

Common pixels per centimeter values converted to pixels per inch
Pixels per centimeter (px/cm)Pixels per inch (ppi)
12.54
512.7
1025.4
2563.5
50127
100254
10002540

Browse every digital image resolution conversion →

Popular conversions

A shortcut to your next answer