PX To CM
Enter a value in either field. The other updates in real time, and you can adjust DPI for different screen or print contexts.
Conversion Input
Conversion Result
Conversion Formula
A pixel (px) is the smallest addressable unit on a screen. A centimeter (cm) is a physical unit equal to 1/100 of a meter. The relationship depends on DPI (dots per inch). At 96 DPI (CSS reference), 1 px ≈ 0.0265 cm.
How PX to CM Calculator Works
To convert pixels (px) to centimeters (cm), enter a pixel value, select a DPI (Dots Per Inch), and get the centimeter result instantly.
The PX to CM calculator converts pixel measurements to centimeter values using DPI (Dots Per Inch) as the conversion bridge. The calculator applies the formula cm = px × 2.54 ÷ DPI in real time, where 2.54 is the fixed number of centimeters in one inch (1 in = 2.54 cm).
The PX to CM conversion calculator works in 3 steps:
- Enter a pixel (px) value in the input field — any positive number including decimals, such as 100 px, 1920 px, or 37.5 px.
- Select the DPI (Dots Per Inch) setting that matches the target context. The calculator supports 4 standard presets: 72 DPI (Mac Classic / legacy web), 96 DPI (Windows Standard / CSS reference pixel), 150 DPI (medium resolution print), and 300 DPI (high quality print). A custom DPI option is available for specific screen or print resolutions.
- Read the centimeter (cm) result along with the step-by-step formula breakdown and equivalent values in 4 related units: millimeters (mm), inches (in), typographic points (pt), and CSS rem.
The calculator also works in reverse — enter a centimeter value and the pixel equivalent updates using the inverse formula px = cm × DPI ÷ 2.54. Web designers, graphic designers, and front-end developers use the PX to CM calculator when preparing digital assets for print design, setting document dimensions in Adobe Photoshop or Figma, or converting CSS pixel values to physical centimeter measurements.
PX to CM Formula
The PX to CM conversion formula uses 2 variables: the pixel value and the DPI (Dots Per Inch) setting.
The PX to CM formula is cm = px × 2.54 ÷ DPI. The constant 2.54 represents the exact number of centimeters in one inch (1 in = 2.54 cm), and DPI (Dots Per Inch) defines how many pixels fit within that inch.
cm = px × 2.54 ÷ DPI px = cm × DPI ÷ 2.54 Here are 2 worked examples of the PX to CM conversion formula:
Example 1 — 100 px at 96 DPI: cm = 100 × 2.54 ÷ 96 = 254 ÷ 96 = 2.6458 cm. At 96 DPI (the W3C CSS reference pixel standard), 100 pixels equal 2.6458 centimeters (26.458 mm or 1.0417 inches).
Example 2 — 300 px at 300 DPI: cm = 300 × 2.54 ÷ 300 = 762 ÷ 300 = 2.54 cm. At 300 DPI (high quality print resolution), 300 pixels equal exactly 2.54 centimeters (1 inch), because 300 pixels divided by 300 DPI is exactly 1 inch.
The DPI value changes the conversion result. Higher DPI values produce smaller centimeter outputs per pixel because more pixels are packed into each inch. At 72 DPI, 1 px = 0.0353 cm (0.353 mm). At 96 DPI, 1 px = 0.0265 cm (0.265 mm). At 300 DPI, 1 px = 0.0085 cm (0.085 mm).
PX to CM Conversion Chart
Reference chart showing 20 common pixel values converted to centimeters at 4 standard DPI settings: 72, 96, 150, and 300 DPI.
| Pixels (px) | cm @72 DPI | cm @96 DPI | cm @150 DPI | cm @300 DPI |
|---|---|---|---|---|
| 1 px | 0.0353 cm | 0.0265 cm | 0.0169 cm | 0.0085 cm |
| 5 px | 0.1764 cm | 0.1323 cm | 0.0847 cm | 0.0423 cm |
| 10 px | 0.3528 cm | 0.2646 cm | 0.1693 cm | 0.0847 cm |
| 16 px | 0.5644 cm | 0.4233 cm | 0.2709 cm | 0.1355 cm |
| 20 px | 0.7056 cm | 0.5292 cm | 0.3387 cm | 0.1693 cm |
| 32 px | 1.1289 cm | 0.8467 cm | 0.5419 cm | 0.2709 cm |
| 50 px | 1.7639 cm | 1.3229 cm | 0.8467 cm | 0.4233 cm |
| 64 px | 2.2578 cm | 1.6933 cm | 1.0837 cm | 0.5419 cm |
| 72 px | 2.5400 cm | 1.9050 cm | 1.2192 cm | 0.6096 cm |
| 96 px | 3.3867 cm | 2.5400 cm | 1.6256 cm | 0.8128 cm |
| 100 px | 3.5278 cm | 2.6458 cm | 1.6933 cm | 0.8467 cm |
| 128 px | 4.5156 cm | 3.3867 cm | 2.1675 cm | 1.0837 cm |
| 150 px | 5.2917 cm | 3.9688 cm | 2.5400 cm | 1.2700 cm |
| 200 px | 7.0556 cm | 5.2917 cm | 3.3867 cm | 1.6933 cm |
| 250 px | 8.8194 cm | 6.6146 cm | 4.2333 cm | 2.1167 cm |
| 300 px | 10.5833 cm | 7.9375 cm | 5.0800 cm | 2.5400 cm |
| 500 px | 17.6389 cm | 13.2292 cm | 8.4667 cm | 4.2333 cm |
| 768 px | 27.0933 cm | 20.3200 cm | 13.0048 cm | 6.5024 cm |
| 1024 px | 36.1244 cm | 27.0933 cm | 17.3397 cm | 8.6699 cm |
| 1920 px | 67.7333 cm | 50.8000 cm | 32.5120 cm | 16.2560 cm |
What Is PX to CM
PX to CM is a unit conversion from pixels (px) to centimeters (cm) that uses DPI (Dots Per Inch) to bridge digital screen units and physical measurement units. The conversion formula is cm = px × 2.54 ÷ DPI, where 2.54 cm equals 1 inch.
A pixel (px) is the smallest addressable element on a digital display. The W3C (World Wide Web Consortium) CSS specification defines 1 CSS pixel as 1/96th of an inch at the standard 96 DPI reference. A centimeter (cm) is a metric unit of physical length equal to 1/100 of a meter (10 mm). Pixels are used in web design, responsive design, and digital image editing. Centimeters are used in print design, manufacturing, and physical measurement.
The PX to CM conversion depends on pixel density — the number of pixels packed into each inch of a display or print output. At 96 DPI (the CSS reference standard), 1 px equals 0.0265 cm (0.265 mm). At 72 DPI (legacy Mac displays), 1 px equals 0.0353 cm (0.353 mm). At 300 DPI (high quality print), 1 px equals 0.0085 cm (0.085 mm). The DPI value determines the physical size of each pixel.
Web designers use PX to CM conversion when exporting designs from tools such as Figma, Adobe Photoshop, Sketch, or GIMP for print production. Front-end developers use PX to CM conversion when CSS pixel dimensions need to match physical centimeter specifications in print stylesheets or PDF outputs.
How Much PX Is 1 CM
37.7953 px equals 1 cm at 96 DPI (Dots Per Inch). The number of pixels in 1 centimeter changes based on the DPI setting, because DPI defines how many pixels fit into each inch (1 inch = 2.54 cm).
px = 1 × DPI ÷ 2.54 Here are the pixel values for 1 cm at 4 standard DPI settings:
| DPI Setting | Pixels in 1 CM | Context |
|---|---|---|
| 72 DPI | 28.3465 px | Mac Classic, legacy web graphics |
| 96 DPI | 37.7953 px | Windows Standard, CSS reference pixel |
| 150 DPI | 59.0551 px | Medium resolution print output |
| 300 DPI | 118.1102 px | High quality offset printing, photo prints |
At 96 DPI, 1 cm contains 37.7953 pixels because 96 ÷ 2.54 = 37.7953. At 300 DPI, 1 cm contains 118.1102 pixels because 300 ÷ 2.54 = 118.1102. Higher DPI values pack more pixels into each centimeter, resulting in finer detail and sharper image resolution for print design and digital imaging.
What Is PX Compared to Inches
1 px equals 1/96th of an inch (0.0104 inches or 0.0265 cm) at the standard 96 DPI (Dots Per Inch). The pixel-to-inch relationship depends on DPI, because DPI defines how many pixels are packed into a single inch of display or print surface.
Here are the inch values for 1 px at 4 standard DPI settings:
| DPI Setting | 1 PX in Inches | 1 PX in CM | Pixels Per Inch |
|---|---|---|---|
| 72 DPI | 0.0139 in | 0.0353 cm | 72 px |
| 96 DPI | 0.0104 in | 0.0265 cm | 96 px |
| 150 DPI | 0.0067 in | 0.0169 cm | 150 px |
| 300 DPI | 0.0033 in | 0.0085 cm | 300 px |
The W3C CSS specification defines 1 CSS pixel as exactly 1/96th of 1 inch. This means 96 px = 1 inch = 2.54 cm at the 96 DPI reference. At 72 DPI (used by Mac Classic displays and legacy Adobe Photoshop), 72 px = 1 inch. At 300 DPI (used in high quality print design), 300 px = 1 inch. The conversion between px, inches, and cm follows the fixed constant: 1 inch = 2.54 cm = DPI pixels.
To convert px to inches, use the formula inches = px ÷ DPI. To convert inches to cm, multiply by 2.54. To convert px to cm directly, use cm = px × 2.54 ÷ DPI.
How to Change PX to CM in Photoshop
Open Image → Image Size (Alt+Ctrl+I on Windows, Option+Cmd+I on Mac) in Adobe Photoshop, change the unit dropdown from "Pixels" to "Centimeters," and set the resolution to the target DPI (Dots Per Inch) value.
To change px to cm in Adobe Photoshop, follow these 4 steps:
- Open Image Size: Go to Image → Image Size or press Alt+Ctrl+I (Windows) / Option+Cmd+I (Mac). The Image Size dialog box displays the current document dimensions in pixels.
- Change the unit dropdown: Click the unit dropdown next to Width or Height and select "Centimeters" instead of "Pixels." Adobe Photoshop recalculates the dimensions based on the current resolution (PPI) setting.
- Set the resolution: Enter the target resolution in the Resolution field. Use 72 PPI (Pixels Per Inch) for web/screen, 150 PPI for medium print, or 300 PPI for high quality print. Adobe Photoshop defaults to 72 PPI for new documents.
- Apply the changes: Click OK to apply. The document now displays dimensions in centimeters. Adobe Photoshop uses PPI (Pixels Per Inch), which is equivalent to DPI (Dots Per Inch) for the px to cm conversion.
How to Change PX to CM on Canva
Click "Resize" in Canva, switch the unit dropdown from "px" to "cm," and enter the target centimeter dimensions. The Resize feature is available with Canva Pro, Canva for Teams, and Canva for Education plans.
To change px to cm on Canva, follow these 3 steps:
- Open the Resize tool: Click the "Resize" button in the top toolbar of the Canva editor. On Canva Free, create a new design with "Custom size" and select the unit before starting.
- Switch units to centimeters: Click the unit dropdown (showing "px" by default) and select "cm" from the options. Canva also supports inches (in) and millimeters (mm) as alternative units.
- Enter the target dimensions: Type the desired width and height in centimeters and click "Resize" or "Copy & Resize" to apply the change.
How to Change PX to CM on Procreate
Create a new canvas in Procreate, tap the "+" icon, select "Custom Size," then switch the unit from "Pixels" to "Centimeters" and set the DPI (Dots Per Inch) value.
To change px to cm on Procreate, follow these 4 steps:
- Open Custom Canvas: Tap the "+" icon in the Gallery view, then tap the new canvas icon (rectangle with a "+" in the top right). This opens the Custom Canvas settings panel.
- Switch to centimeters: Tap the unit label (showing "Pixels" by default) at the top of the dimensions fields. Select "Centimeters" from the dropdown. Procreate also supports millimeters (mm) and inches (in).
- Set the DPI: Enter the target DPI value in the "DPI" field. Procreate defaults to 132 DPI on iPad. Use 300 DPI for high quality print output or 150 DPI for standard print. Higher DPI values reduce the maximum canvas size and the number of available layers.
- Enter dimensions and create: Type the desired width and height in centimeters and tap "Create" to generate the canvas. Procreate calculates the pixel dimensions automatically based on the cm values and DPI setting.
Is PX and CM the Same
No, px (pixels) and cm (centimeters) are not the same. Pixels are digital screen units and centimeters are physical measurement units. The conversion between px and cm requires a DPI (Dots Per Inch) value because the physical size of a pixel depends on screen resolution and pixel density.
There are 3 differences between px and cm:
DPI (Dots Per Inch) connects pixels to centimeters through the formula cm = px × 2.54 ÷ DPI. The W3C (World Wide Web Consortium) defines the CSS reference pixel at 96 DPI, meaning 1 px = 1/96 inch = 0.0265 cm in CSS. Graphic designers working in Adobe Photoshop, Figma, Sketch, or Canva convert between px and cm when moving designs from screen to print production.
Specialized PX to CM Calculators
Choose a focused calculator for physical area, visual ruler measurements, or pixel width.
Frequently Asked Questions
Multiply the pixel value by 2.54, then divide by the DPI. At 96 DPI, the formula becomes cm = px × 2.54 ÷ 96.
It depends on DPI. At 96 DPI, 1 px ≈ 0.0265 cm. At higher DPI, each pixel becomes physically smaller.
For web and CSS work, 96 DPI is the usual reference. For print, 150 DPI and 300 DPI are common choices.
There are exactly 2.54 centimeters in one inch. That fixed ratio is what links physical length to pixel density.
Yes. Multiply centimeters by DPI, then divide by 2.54. The converter works in both directions automatically.
Higher DPI means more pixels fit into the same inch, so each pixel corresponds to a smaller real-world centimeter value.
Yes. PX To CM is free to use and works instantly in your browser.