Neksio Tools Logo

Cm To Pixels

Free online Cm To Pixels tool. Quick, fast, and 100% free Converters utility with zero installation or sign-up required.

CM to PX Converter Pro

Bidirectional Sync 96 & 300 DPI Presets ISO Paper Sizes

Convert centimeters (cm) to pixels (px) and pixels to centimeters with custom resolution (DPI / PPI). Features W3C web standards (96 DPI), commercial printing presets (300 DPI), and standard paper sizes.

Conversion Parameters
cm
px
DPI
72 DPI (Legacy Screen) 96 DPI (W3C Web) 150 DPI (Draft Print) 300 DPI (High-Res Print) 600 DPI (Fine Art)
Computed Result
378 px
10 cm @ 96 DPI = 377.95 Pixels
Physical Dimension Preview
10 cm × 10 cm
Proportional aspect ratio representation (scaled to preview)
Equivalent Physical Units
  • Millimeters (mm) 100 mm
  • Inches (in) 3.937 in
  • Typographic Points (pt) 283.46 pt
  • Picas (pc) 23.62 pc
  • CSS Metric Width width: 378px;

CM to PX Conversion Reference Table

Comparing pixels across 72, 96, 150, 300, and 600 DPI
Centimeters (cm) 72 DPI (Screen) 96 DPI (Web CSS) 150 DPI (Draft) 300 DPI (High-Res Print) 600 DPI (Ultra HD)

The Complete Technical Guide to Centimeters to Pixels Conversion in Web Design & Printing

Converting physical real-world metric dimensions (centimeters and millimeters) into digital display units (pixels) is an essential workflow across graphic design, web layout, digital photography, and commercial pre-press printing. Because a pixel has no fixed physical size on its own, translating centimeters into pixels requires an anchor metric: Resolution, expressed as Dots Per Inch (DPI) or Pixels Per Inch (PPI).

The Metric Standard

Exactly 1 inch = 2.54 centimeters. Dividing centimeters by 2.54 converts the length to inches before applying the DPI multiplier.

W3C 96 DPI Anchor

The W3C defines 1 CSS inch as 96 CSS pixels. Consequently, 1 cm = 37.795px across all modern desktop and mobile web browsers.

300 DPI Print Rule

For magazines, brochures, and photographs viewed at arm's length, 300 DPI represents the threshold of human visual acuity without dot perception.

The Mathematical Conversion Formula

To convert centimeters (cm) to pixels (px), use the following formula:

Pixels = (Centimeters / 2.54) × DPI

Conversely, to convert pixels back into physical centimeters:

Centimeters = (Pixels × 2.54) / DPI

Example: Converting 10 cm to Pixels at 300 DPI (Print)

  1. Convert centimeters to inches: 10 cm / 2.54 = 3.937 inches
  2. Multiply by the print resolution (300 DPI): 3.937 × 300 = 1181.1 pixels
  3. Result: A 10 cm line requires 1,181 pixels in high-resolution printing.

DPI vs. PPI: Clarifying the Terminology

While often used interchangeably in graphic editing applications, DPI and PPI represent two distinct physical concepts:

  • PPI (Pixels Per Inch): Measures the number of digital square pixels displayed per linear inch on a computer screen, smartphone, or camera sensor. It dictates display sharpness and UI scaling.
  • DPI (Dots Per Inch): Measures the number of physical microscopic ink droplets sprayed onto paper by a commercial printing press or inkjet printer. Modern printers often spray 1,200 to 2,400 physical ink dots to reproduce a 300 PPI image accurately.

International ISO 216 Paper Sizes (CM to PX at 300 DPI & 96 DPI)

The ISO 216 international paper standard maintains a constant aspect ratio of 1:√2 (1:1.414). When creating artwork in Figma, Photoshop, or InDesign, referencing standard pixel dimensions prevents raster distortion:

Format Name Dimensions (cm) Dimensions (Inches) Pixels @ 300 DPI (Print) Pixels @ 96 DPI (Web)
A3 Sheet29.7 × 42.0 cm11.7 × 16.5 in3508 × 4960 px1123 × 1587 px
A4 Standard21.0 × 29.7 cm8.3 × 11.7 in2480 × 3508 px794 × 1123 px
A5 Booklet14.8 × 21.0 cm5.8 × 8.3 in1748 × 2480 px559 × 794 px
A6 Postcard10.5 × 14.8 cm4.1 × 5.8 in1240 × 1748 px397 × 559 px
US Letter21.59 × 27.94 cm8.5 × 11.0 in2550 × 3300 px816 × 1056 px
US Legal21.59 × 35.56 cm8.5 × 14.0 in2550 × 4200 px816 × 1344 px
Passport Photo3.5 × 4.5 cm1.38 × 1.77 in413 × 531 px132 × 170 px
Business Card8.5 × 5.5 cm3.35 × 2.17 in1004 × 650 px321 × 208 px

High-DPI, Retina Displays & Device Pixel Ratio (DPR)

Modern smartphones, tablets, and 4K/5K monitors feature pixel densities exceeding 300 to 450 PPI. To prevent web pages and buttons from shrinking to microscopic sizes on these screens, operating systems implement a Device Pixel Ratio (DPR):

  • Standard Screens (1x DPR): 1 CSS pixel corresponds to exactly 1 physical hardware pixel.
  • Apple Retina Screens (2x DPR): 1 CSS pixel is rendered using 4 physical hardware pixels (2 × 2 grid).
  • Ultra HD Flagship Phones (3x DPR): 1 CSS pixel is rendered using 9 physical hardware pixels (3 × 3 grid).

When exporting raster graphics (PNG, JPG, WebP) for websites, designers export images at @2x (192 DPI) or @3x (288 DPI) so they appear crisp on Retina displays while using standard CSS pixel layout coordinates.

Frequently Asked Questions (FAQ)

How many pixels are in 1 centimeter? ▼
It depends strictly on resolution. At standard web resolution of 96 DPI, 1 cm equals 37.795 pixels. At commercial print quality of 300 DPI, 1 cm equals 118.11 pixels. At 72 DPI, 1 cm equals 28.35 pixels.
How many pixels do I need for a 3.5 x 4.5 cm passport photo? ▼
For physical printing at 300 DPI, an international 3.5 × 4.5 cm passport photo requires exactly 413 × 531 pixels. For online digital application portals that specify 96 DPI, it requires 132 × 170 pixels.
Can I convert pixels directly into centimeters without knowing the DPI? ▼
No. Pixels are virtual dimensionless dots. Without knowing the target resolution (DPI/PPI), a 1000-pixel image could measure 8.4 cm (at 300 DPI on paper) or 26.4 cm (at 96 DPI on a monitor). You must always specify DPI to calculate physical centimeters.
What resolution should I use when designing web graphics? ▼
For web pages and UI design, use 96 DPI (W3C standard). If targeting Retina displays, create graphics at 2x resolution (192 DPI) to ensure crisp rendering on smartphones and modern laptops.
What resolution is needed for large format posters and billboards? ▼
While handheld items (brochures, business cards) require 300 DPI, large posters viewed from 1 to 2 meters away only need 100 to 150 DPI. Massive highway billboards viewed from 10+ meters away frequently use 10 to 30 DPI because human eye angular resolution diminishes with viewing distance.
What is the pixel size of an A4 document? ▼
An A4 document measures 21.0 × 29.7 cm. At 300 DPI (print standard), it is 2480 × 3508 pixels. At 96 DPI (screen display), it is 794 × 1123 pixels.
How does CSS handle centimeters in stylesheets? ▼
CSS natively supports the cm length unit (e.g., width: 5cm;). The browser engine computes 5cm = 5 * (96 / 2.54)px = 188.976px, anchoring the calculation to the 96 DPI standard regardless of your monitor's actual physical pixel density.
How do I convert millimeters (mm) to pixels? ▼
Because 1 centimeter equals 10 millimeters, simply divide millimeters by 10 to get centimeters, then apply the formula: Pixels = ((mm / 10) / 2.54) * DPI. For example, 50 mm at 300 DPI is (5 / 2.54) * 300 = 590.55 px.