EasyUnitConverter.com

CM to Pixel Converter

Convert centimeters to pixels based on screen DPI (dots per inch). The standard screen resolution is 96 DPI, meaning 1 inch equals 96 pixels. Since 1 inch = 2.54 cm, the conversion uses the formula: Pixels = CM × DPI ÷ 2.54.

How to Convert CM to Pixels

  1. Determine the DPI (dots per inch) of your display or target output.
  2. Multiply the centimeter value by the DPI.
  3. Divide the result by 2.54 (since 1 inch = 2.54 cm).
  4. The result is the pixel equivalent.

Formula

Pixels = CM × DPI ÷ 2.54

Standard screen DPI = 96

Example Calculation

Convert 2.54 cm to pixels at 96 DPI:

Pixels = 2.54 × 96 ÷ 2.54 = 96 pixels

(1 inch = 96px at 96 DPI)

CM to Pixels Reference Table

CM72 DPI96 DPI150 DPI300 DPI
0.5 cm14.2px18.9px29.5px59.1px
1 cm28.3px37.8px59.1px118.1px
2 cm56.7px75.6px118.1px236.2px
2.54 cm72.0px96.0px150.0px300.0px
5 cm141.7px189.0px295.3px590.6px
10 cm283.5px378.0px590.6px1181.1px

Frequently Asked Questions

What is DPI?

DPI stands for Dots Per Inch. It measures how many pixels (dots) fit in one inch of screen or print space. Higher DPI means more detail and sharper images.

What is the standard screen DPI?

The standard screen DPI for web is 96 DPI (Windows default). macOS uses 72 DPI as its base. High-DPI (Retina) displays use 192 or higher.

What is the difference between print and screen DPI?

Screen displays typically use 72-96 DPI, while print requires 150-300 DPI for quality output. A 300 DPI print image needs more pixels per centimeter than a screen image.

What is the CM to pixel formula?

The formula is Pixels = CM × DPI ÷ 2.54. The 2.54 factor converts centimeters to inches since DPI is defined per inch.

Why does DPI matter for conversions?

DPI determines how physical measurements map to pixels. The same centimeter value produces different pixel counts at different DPI settings. Always match the DPI to your target output device.

Related Calculators