CM  to  PX Converter

Conversion Guide

1. Identify the screen PPI. 2. Convert cm to inches: cm / 2.54. 3. Convert inches to px: multiply by PPI. Example: At 96 PPI, 2.54cm / 2.54 * 96 = 96px.

Conversion Settings
This conversion assumes a standard screen density of 96 PPI. Actual results may vary based on the device.
CM to Pixels Conversion Table (Screen density: 96 PPI)
CMPXActions
137.7953
275.5906
3113.3858
4151.1811
5188.9764
6226.7717
8302.3622
9340.1575
13491.3386
20755.9055
25944.8819
1003779.5276

Frequently Asked Questions

Basics

What is CM?

Centimeters (cm) are absolute-length units that correspond to physical centimeters, commonly used in print design and European markets.

4cm012344cm × 1cm
How do cm units compare to other length units?
1cm equals 10mm or approximately 37.8px (at 96 DPI). For web design, relative units like rem are generally preferred.
When are cm units most appropriate?
cm units are most appropriate for print stylesheets or when precise physical measurements are needed in metric units.

What is PX?

A CSS pixel (px) is a standardized unit of measurement that aims to make elements appear at similar physical sizes across different devices. Unlike physical screen pixels, CSS pixels are an abstraction that automatically scales based on device characteristics and user zoom settings.

CSS Pixels (px)1px2px5px10×10px20×20px50×50px1px = One CSS Pixel Unit(Device Independent)
Are CSS pixels the same as physical screen pixels?
No. On high-DPI (Retina) displays, one CSS pixel may actually use multiple physical screen pixels. For example, on a 2x display, 1 CSS pixel equals 4 physical pixels (2x2).
When should I use pixels vs relative units?
Use pixels for precise visual elements that should maintain their exact appearance, like borders (1px), box shadows, and small decorative details. For layout and typography, prefer relative units (rem, em, %) to ensure better accessibility and responsive design.
Do pixel-based layouts work well on mobile?
Fixed pixel layouts often break on mobile devices due to varying screen sizes. It's better to use relative units for layouts to ensure your design adapts smoothly across devices.
What happens to pixel values when users zoom?
CSS pixels scale proportionally when users zoom. If a user zooms to 200%, a 16px font becomes equivalent to 32px, ensuring content remains readable.
Do pixels affect accessibility?
Yes. Using fixed pixel values for text and layout can prevent proper scaling when users change their browser's font size settings. This creates accessibility issues for users who need larger text.

Conversion

How to convert CM to PX?

To convert CM to PX, use the following formula:

cm * 37.8