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

Real-time sync active
px
cm

Conversion Result

2.6458 cm
100 px = 2.6458 cm @ 96 DPI

Conversion Formula

cm = px × 2.54 ÷ DPI
cm = 100 × 2.54 ÷ 96
cm = 254 ÷ 96
cm = 2.6458
Millimeters
26.4583 mm
Inches
1.0417 in
Points (pt)
75 pt
CSS rem (16px base)
6.25 rem

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:

  1. Enter a pixel (px) value in the input field — any positive number including decimals, such as 100 px, 1920 px, or 37.5 px.
  2. 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.
  3. 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.

PX to CM (Forward) cm = px × 2.54 ÷ DPI
CM to PX (Reverse) 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.

PX to CM Conversion Chart — 72 / 96 / 150 / 300 DPI
Pixels (px) cm @72 DPI cm @96 DPI cm @150 DPI cm @300 DPI
1 px0.0353 cm0.0265 cm0.0169 cm0.0085 cm
5 px0.1764 cm0.1323 cm0.0847 cm0.0423 cm
10 px0.3528 cm0.2646 cm0.1693 cm0.0847 cm
16 px0.5644 cm0.4233 cm0.2709 cm0.1355 cm
20 px0.7056 cm0.5292 cm0.3387 cm0.1693 cm
32 px1.1289 cm0.8467 cm0.5419 cm0.2709 cm
50 px1.7639 cm1.3229 cm0.8467 cm0.4233 cm
64 px2.2578 cm1.6933 cm1.0837 cm0.5419 cm
72 px2.5400 cm1.9050 cm1.2192 cm0.6096 cm
96 px3.3867 cm2.5400 cm1.6256 cm0.8128 cm
100 px3.5278 cm2.6458 cm1.6933 cm0.8467 cm
128 px4.5156 cm3.3867 cm2.1675 cm1.0837 cm
150 px5.2917 cm3.9688 cm2.5400 cm1.2700 cm
200 px7.0556 cm5.2917 cm3.3867 cm1.6933 cm
250 px8.8194 cm6.6146 cm4.2333 cm2.1167 cm
300 px10.5833 cm7.9375 cm5.0800 cm2.5400 cm
500 px17.6389 cm13.2292 cm8.4667 cm4.2333 cm
768 px27.0933 cm20.3200 cm13.0048 cm6.5024 cm
1024 px36.1244 cm27.0933 cm17.3397 cm8.6699 cm
1920 px67.7333 cm50.8000 cm32.5120 cm16.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).

Pixels Per 1 CM Formula 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 DPI28.3465 pxMac Classic, legacy web graphics
96 DPI37.7953 pxWindows Standard, CSS reference pixel
150 DPI59.0551 pxMedium resolution print output
300 DPI118.1102 pxHigh 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 DPI0.0139 in0.0353 cm72 px
96 DPI0.0104 in0.0265 cm96 px
150 DPI0.0067 in0.0169 cm150 px
300 DPI0.0033 in0.0085 cm300 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
Note: Adobe Photoshop uses PPI (Pixels Per Inch) instead of DPI (Dots Per Inch) in the interface. PPI and DPI are functionally equivalent for the px to cm conversion formula: cm = px × 2.54 ÷ PPI. Changing the resolution in Photoshop does not resample (resize) the image unless the "Resample" checkbox is enabled.

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:

  1. 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.
  2. 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.
  3. Enter the target dimensions: Type the desired width and height in centimeters and click "Resize" or "Copy & Resize" to apply the change.
Note: Canva uses 96 DPI (Dots Per Inch) for standard screen designs and 300 DPI for print-ready exports (PDF Print). When exporting for print, Canva automatically upscales to 300 DPI. To manually convert Canva px dimensions to cm at 96 DPI, use the formula cm = px × 2.54 ÷ 96.

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:

  1. 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.
  2. 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).
  3. 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.
  4. 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.
Note: Procreate does not support changing units on an existing canvas. To convert an existing Procreate canvas from px to cm, use the PX to CM formula (cm = px × 2.54 ÷ DPI) with the canvas DPI setting, then create a new canvas in centimeters and copy the artwork.

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:

1 Unit type: A pixel (px) is a digital unit — the smallest addressable element on a screen display. A centimeter (cm) is a physical unit — a metric measurement equal to 1/100 of a meter (10 mm). Pixels exist on screens, centimeters exist in the physical world.
2 Size variability: The physical size of 1 pixel changes based on DPI (Dots Per Inch) and device pixel ratio. At 96 DPI, 1 px = 0.0265 cm. At 300 DPI, 1 px = 0.0085 cm. A centimeter is fixed — 1 cm always equals 10 mm (0.3937 inches) regardless of device or context.
3 Use context: Pixels are used in web design, CSS, responsive design, digital image editing, and screen resolution specifications (e.g., 1920×1080 px). Centimeters are used in print design, manufacturing, engineering, typography, and physical document specifications (e.g., A4 paper = 21.0 × 29.7 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.

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.