Pixel conversion

Pixels to Centimeters Converter

Convert pixels to centimeters and centimeters to pixels at any PPI. 1 inch is exactly 2.54 cm, so cm = pixels ÷ PPI × 2.54.

1200 px at 300 PPI = 10.16 cm

At 96 PPI (CSS), 1 cm = 37.7953 px · at 300 PPI, 1 cm = 118.1102 px

Pixels to centimeters

Convert a full image ↗

Use your print PPI. CSS uses 96 px per inch.

Enter one dimension using a decimal point. Values from 0 to 100,000,000; up to 4 decimal places.

Result at 300 PPI

10.16 cm

1,200 px ÷ 300 PPI × 2.54 cm/in = 10.16 cm

Pixels
1,200 px
Inches
4 in
Centimeters
10.16 cm
Millimeters
101.6 mm

A fractional result is a measurement. For a whole-pixel print canvas, use the size-to-pixels calculator.

Centimeters to pixels

Convert a full image ↗

Use your print PPI. CSS uses 96 px per inch.

Enter one dimension using a decimal point. Values from 0 to 100,000,000; up to 4 decimal places.

Result at 300 PPI

1,181.102362 px

10 cm ÷ 2.54 cm/in × 300 PPI = 1,181.102362 px

Pixels
1,181.102362 px
Inches
3.937008 in
Centimeters
10 cm
Millimeters
100 mm

A fractional result is a measurement. For a whole-pixel print canvas, use the size-to-pixels calculator.

Pixels to centimeters table

The same pixel count measures a different length at each density. Values are rounded for display; the converters above use the unrounded calculation.

Pixels in centimeters at 72, 96, 150 and 300 PPI
Pixelscm at 72 PPIcm at 96 PPIcm at 150 PPIcm at 300 PPI
1 px0.03530.02650.01690.0085
10 px0.35280.26460.16930.0847
50 px1.76391.32290.84670.4233
100 px3.52782.64581.69330.8467
200 px7.05565.29173.38671.6933
300 px10.58337.93755.082.54
500 px17.638913.22928.46674.2333
600 px21.166715.87510.165.08
1,000 px35.277826.458316.93338.4667
1,080 px38.128.57518.2889.144
1,200 px42.333331.7520.3210.16
1,500 px52.916739.687525.412.7
1,920 px67.733350.832.51216.256
2,560 px90.311167.733343.349321.6747
3,000 px105.833379.37550.825.4
3,840 px135.4667101.665.02432.512

Centimeters to pixels

Multiply the length by PPI and divide by 2.54. Round to a whole pixel only when you create a canvas; the print size calculator lets you choose nearest or upward rounding.

Centimeters to pixels · unrounded to 2 decimals
LengthPixels at 96 PPIPixels at 150 PPIPixels at 300 PPI
1 cm37.859.06118.11
2 cm75.59118.11236.22
2.54 cm96150300
5 cm188.98295.28590.55
10 cm377.95590.551,181.1
15 cm566.93885.831,771.65
20 cm755.911,181.12,362.2
21 cm793.71,240.162,480.31
29.7 cm1,122.521,753.943,507.87

Formula and worked example

cm = pixels ÷ PPI × 2.54

pixels = cm ÷ 2.54 × PPI

A 2400-pixel edge at 300 PPI is 2400 ÷ 300 = 8 inches, and 8 × 2.54 = 20.32 cm. In reverse, 21 cm (the width of A4) at 300 PPI is 21 ÷ 2.54 × 300 = 2,480.315 pixels, which a canvas rounds to 2480.

Screen pixels are different: CSS defines 96 CSS px per CSS inch, so 1 CSS cm is 37.7953 CSS px. That is a layout relationship, not a ruler on your display.

Questions about this conversion

How many pixels are in one centimeter?

At 300 PPI, one centimeter holds 118.1102 pixels; at 150 PPI, 59.0551. In CSS layout, 1cm = 37.7953 CSS px.

How do I convert pixels to centimeters?

Divide the pixels by PPI to get inches, then multiply by 2.54. For example, 1200 px ÷ 300 PPI × 2.54 = 10.16 cm.

Why do other converters give a different answer?

The result depends entirely on the density assumed. Some tools silently use 96 (CSS) or 72; this converter shows the PPI and lets you change it.