PX to CM Converter
Convert pixels to centimeters instantly
Enter a pixel value and get the equivalent in centimeters, millimeters, and inches. Supports multiple DPI settings for screen and print use cases.
Based on 96 DPI — 1 px = 0.026458 cm
Reverse: CM to PX
Common Conversions (96 DPI)
Updates automatically based on the DPI selected above.
| Pixels | cm | mm | in |
|---|
PX to CM Reference Table
Quick reference for the most common pixel values at 96, 150, and 300 DPI.
| Pixels | cm 96 DPI |
cm 150 DPI |
cm 300 DPI |
|---|---|---|---|
| 1 px | 0.0265 | 0.0169 | 0.0085 |
| 2 px | 0.0529 | 0.0339 | 0.0169 |
| 4 px | 0.1058 | 0.0677 | 0.0339 |
| 8 px | 0.2117 | 0.1355 | 0.0677 |
| 10 px | 0.2646 | 0.1693 | 0.0847 |
| 16 px | 0.4233 | 0.2709 | 0.1355 |
| 24 px | 0.6350 | 0.4064 | 0.2032 |
| 32 px | 0.8467 | 0.5419 | 0.2709 |
| 48 px | 1.2700 | 0.8128 | 0.4064 |
| 64 px | 1.6933 | 1.0837 | 0.5419 |
| 96 px | 2.5400 | 1.6256 | 0.8128 |
| 100 px | 2.6458 | 1.6933 | 0.8467 |
| 128 px | 3.3867 | 2.1675 | 1.0837 |
| 192 px | 5.0800 | 3.2512 | 1.6256 |
| 256 px | 6.7733 | 4.3349 | 2.1675 |
| 300 px | 7.9375 | 5.0800 | 2.5400 |
| 512 px | 13.5467 | 8.6699 | 4.3349 |
| 768 px | 20.3200 | 13.0048 | 6.5024 |
| 1024 px | 27.0933 | 17.3397 | 8.6699 |
| 1920 px | 50.8000 | 32.5120 | 16.2560 |
How to Convert PX to CM
Choose the DPI
Select the DPI that matches your context — 96 for web browsers, 300 for high-quality print.
Enter the pixel value
Type any pixel dimension. The tool instantly shows the result in cm, mm, and inches.
Copy the result
Click any result card to copy the value to your clipboard and use it wherever you need.
The Formula
cm = px × (2.54 ÷ DPI)
Example: 96 px at 96 DPI → 96 × (2.54 ÷ 96) = 2.54 cm (exactly 1 inch).
What is a Pixel (PX)?
A pixel is the smallest single dot of light that can be controlled on a digital screen. Pixels are relative units — they have no fixed physical size. Their actual dimensions depend entirely on the screen resolution and the number of pixels packed into each inch (DPI).
What is a Centimeter (CM)?
A centimeter is a fixed physical unit of length in the metric system — 1/100 of a meter. Unlike pixels, centimeters always represent the same real-world size regardless of the medium. This makes them essential for print design, physical layout, and any context requiring precise physical dimensions.
What is DPI?
DPI (Dots Per Inch) defines how many pixels are packed into one linear inch of physical space. It is the critical bridge between digital and physical measurements. A higher DPI means more pixels per inch — sharper detail in a smaller area. Choosing the correct DPI is what makes the conversion accurate.
Common DPI Standards Explained
96 DPI — Standard Web / Windows
The default resolution for most web browsers and Windows operating systems. When a designer says "this element is 96 px wide," it corresponds to exactly 1 inch (2.54 cm) on a standard screen. This is the most common setting for web-to-print conversions.
72 DPI — Traditional Print / macOS Legacy
Historically the standard for Apple monitors and traditional desktop publishing. Still widely used as a baseline in some print workflows and older design applications. At 72 DPI, 1 pixel equals approximately 0.0353 cm.
150 DPI — Medium-Quality Print / Draft
Common for newspaper printing, draft proofs, and lower-quality inkjet output. Acceptable for documents where sharp text and photographic detail are not critical. At 150 DPI, a 1920 px image prints at about 32.51 cm wide.
300 DPI — Professional High-Quality Print
The gold standard for professional printing — magazines, brochures, business cards, and photography. At 300 DPI, a 1920 px wide image prints at approximately 16.26 cm, producing crisp, sharp results indistinguishable to the naked eye.
Who Needs a PX to CM Converter?
Graphic Designers
Converting logo pixel dimensions for business card printing. A logo that looks great at 400 × 200 px on screen must be translated to the correct centimeter size for the print shop.
Web Developers
Translating on-screen layouts into print stylesheets using absolute units (cm, mm). CSS print media queries require physical units for correct page layout when users print web pages.
Photographers
Calculating maximum print dimensions from image resolution. A 6000 × 4000 px photo at 300 DPI produces a print of 50.8 × 33.87 cm — knowing this prevents ordering oversized prints that will be blurry.
UI/UX Designers
Ensuring interactive elements meet physical usability standards. A tap target recommended at 44 × 44 px at 96 DPI is approximately 1.17 × 1.17 cm — verifying it meets the minimum finger-friendly size for touch screens.
Office & Document Users
Resizing web images for placement in Word documents or presentations. Tools like Microsoft Word use centimeters for image dimensions, so knowing the equivalent size avoids distortion.
Print & Prepress Professionals
Preparing digital files for offset and digital printing. Verifying that artwork at a given pixel count meets the required physical dimensions and DPI for the print run specification.
Using CM in CSS
CSS supports centimeters as an absolute unit (cm). While pixels are best for screen layouts, centimeters are useful inside @media print stylesheets to define physical page margins, image sizes, and element dimensions for printed output.
Preguntas Frecuentes
It depends on the DPI setting. At 96 DPI (standard web), 1 pixel equals approximately 0.02646 cm. At 72 DPI, 1 pixel equals approximately 0.03528 cm. At 300 DPI (high-quality print), 1 pixel equals approximately 0.00847 cm. The formula is: cm = 2.54 ÷ DPI.
At 96 DPI: 1 cm ≈ 37.795 pixels. At 72 DPI: 1 cm ≈ 28.346 pixels. At 300 DPI: 1 cm ≈ 118.11 pixels. The formula is: px = DPI ÷ 2.54.
Use 96 DPI for standard web design. This is the default resolution for most web browsers on Windows and Linux. macOS uses 96 DPI as well for CSS calculations, even on Retina displays (which physically have higher pixel density, but the browser normalises the coordinate system). If you are designing for HiDPI/Retina screens, your actual image assets may be 2× or 3× larger, but the CSS logical pixel remains based on 96 DPI.
For professional print (magazines, business cards, brochures), use 300 DPI. For standard office printing and documents, 150–200 DPI is generally acceptable. For large-format printing (banners, posters viewed from a distance), 72–96 DPI may be sufficient because viewers stand further away. Always check your print shop specification before exporting files.
The CSS specification defines 1 CSS inch as exactly 96 CSS pixels. This is an anchor point — 1in = 96px = 2.54cm in CSS. This definition is fixed and does not vary with the physical pixel density of the screen. This is why a CSS pixel on a Retina display is rendered using multiple physical pixels, but the logical size calculation remains the same.
In Photoshop, go to Image → Image Size. Change the unit to "Centimeters" in the dropdown next to the width and height fields. Make sure the Resolution field matches your target DPI. Photoshop applies the same formula: cm = px × (2.54 / DPI). You can also set the ruler units to centimeters in Preferences → Units & Rulers.
No. Physical pixel size varies by screen. A 4K monitor has more physical pixels per inch than a standard HD monitor. However, browsers normalize this using CSS logical pixels (device pixel ratio), so from a CSS perspective, 96 CSS pixels always represents approximately 1 inch of screen space on a standard display. On Retina displays, one CSS pixel may use 2 or 3 physical pixels, but the visual size remains the same.
An A4 page is 21 × 29.7 cm. In pixels this depends on DPI:
- At 72 DPI: 595 × 842 px
- At 96 DPI: 794 × 1123 px
- At 150 DPI: 1240 × 1754 px
- At 300 DPI: 2480 × 3508 px
Technically yes — CSS supports cm as an absolute unit. However, it is strongly discouraged for screen layouts. Centimeters are physically meaningful only in print contexts. On screen, the rendered size of 1cm in CSS varies depending on the device's actual pixel density, making layouts unpredictable across devices. For screen layouts, always use px, em, rem, %, vw, or vh. Reserve cm and mm for @media print stylesheets.
PPI (Pixels Per Inch) refers to the pixel density of a digital screen or image file. DPI (Dots Per Inch) technically refers to the physical dots a printer lays down per inch of paper. In everyday usage, both terms are often used interchangeably when discussing image resolution, but they are distinct concepts. For the purpose of px-to-cm conversion, DPI is the correct term — it defines how many pixels map to one physical inch.