PX  to  CM Converter

Conversion Guide

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

Conversion Settings
This conversion assumes a standard screen density of 96 PPI. Actual results may vary based on the device.
Pixels to CM Conversion Table (Screen density: 96 PPI)
PXCMActions
10.0265
601.5875
60015.875
108028.575
300079.375

Frequently Asked Questions

Basics

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.

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.

Conversion

How to convert PX to CM?

To convert PX to CM, use the following formula:

px / 37.8