CM to Pixels Converter

Updated November 22, 2026Free, no sign-upChecked by the MM Ruler Online Team

At 96 DPI, 1 cm = 37.8 px. Formula: px = cm × DPI ÷ 2.54. At 300 DPI, 1 cm = 118.1 px.

On this page
  1. How to convert centimeters to pixels
  2. CM to Pixels conversion chart
  3. When you need centimeters to pixels
  4. Frequently asked questions

How to convert centimeters to pixels

Use the formula px = cm × DPI ÷ 2.54. Example: 10 cm × 300 ÷ 2.54 = 1181 px.

Formula to convert centimeters to pixels: px = cm × DPI ÷ 2.54

CM to Pixels conversion chart

Centimeters 72 DPI 96 DPI 150 DPI 300 DPI
0.5 cm 14.2 px 18.9 px 29.5 px 59.1 px
1 cm 28.3 px 37.8 px 59.1 px 118.1 px
2 cm 56.7 px 75.6 px 118.1 px 236.2 px
2.5 cm 70.9 px 94.5 px 147.6 px 295.3 px
5 cm 141.7 px 189 px 295.3 px 590.6 px
8 cm 226.8 px 302.4 px 472.4 px 944.9 px
10 cm 283.5 px 378 px 590.6 px 1,181.1 px
15 cm 425.2 px 566.9 px 885.8 px 1,771.7 px
20 cm 566.9 px 755.9 px 1,181.1 px 2,362.2 px
21 cm 595.3 px 793.7 px 1,240.2 px 2,480.3 px
29.7 cm 841.9 px 1,122.5 px 1,753.9 px 3,507.9 px
50 cm 1,417.3 px 1,889.8 px 2,952.8 px 5,905.5 px

When you need centimeters to pixels

Building a flyer or a document template in cm? Convert to pixels to set the canvas size in your image editor. For printing, use 300 DPI.

  • 96 DPI is the CSS and Windows default; 72 DPI is the old Mac and web image default.
  • For print, 300 DPI is the usual minimum for sharp photos.
  • Pixels on a real screen depend on its PPI – find yours with the PPI calculator.
The same inch divided into 72, 96 and 300 dots

Frequently asked questions

How many pixels is 10 cm?

378 px at 96 DPI, 1181 px at 300 DPI.

How many pixels is 5 × 5 cm?

At 300 DPI, 591 × 591 px.

What DPI should I use?

96 for screens, 300 for print, 150 for large posters seen from a distance.

MM Ruler Online Team This page was written and tested by our team. Sizes and formulas are checked against published standards. Read our editorial policy or send a correction.