Pixels = cm × DPI / 2.54. Set your DPI (72, 96, 150, 300) and get the exact pixel count for any centimeter dimension instantly.

In print design, dimensions are specified in centimeters or inches, but digital images are measured in pixels. The conversion depends on the DPI (dots per inch) resolution: pixels = cm × DPI / 2.54.
Standard print resolution is 300 DPI: 10 cm = 1,181 pixels, 21 cm (A4 width) = 2,480 pixels. Web resolution is typically 72 DPI: 10 cm = 283 pixels.
This converter is essential for preparing images for print, setting up document templates, and calculating the required image resolution for a specific print size.
All calculations run locally in your browser — nothing is sent to any server.
The formula is: pixels = cm × DPI / 2.54. DPI means dots per inch, and 1 inch = 2.54 cm.
At 300 DPI: 1 cm = 118.11 pixels. At 72 DPI: 1 cm = 28.35 pixels.
Higher DPI = more pixels per centimeter = sharper print. 300 DPI is the standard for professional print quality.
| Feature | 300 DPI (print) | 72 DPI (screen) |
|---|---|---|
| 10 cm | 1,181 px | 283 px |
| A4 width (21 cm) | 2,480 px | 595 px |
| A4 height (29.7 cm) | 3,508 px | 842 px |
| Use case | Professional print | Web graphics |
| Quality | Sharp at any size | Screen-only |
1 cm at 300 DPI = 118.11 pixels. The formula is: pixels = cm × DPI / 2.54. So 1 cm × 300 / 2.54 = 118.11px. At 96 DPI (screen): 1 cm = 37.8px. At 72 DPI (screen legacy): 1 cm = 28.35px.
300 DPI: standard for professional print — brochures, business cards, photo prints, magazines. 150 DPI: acceptable for large-format printing — posters, banners, canvas prints viewed from a distance. 72–96 DPI: screen only — web graphics, digital presentations, on-screen PDFs.
A 12 MP camera produces roughly 4,000 × 3,000 pixels. At 300 DPI: 4000/300 × 2.54 = 33.9 × 25.4 cm (about 13×10 inches). At 150 DPI: 67.7 × 50.8 cm. Beyond these sizes, visible pixelation may appear at normal viewing distance.
A4 paper (21 × 29.7 cm) at 300 DPI = 2,480 × 3,508 pixels. This is the standard canvas size requested by most commercial print shops for full-bleed A4 documents. Add 3mm bleed on each side: 21.6 × 30.3 cm = 2,551 × 3,579px.
96 DPI became the Windows screen standard because it gives a comfortable text size on early monitors. CSS defines 1 inch = 96 CSS pixels, so 1 cm = 96/2.54 = 37.795 CSS pixels. This is independent of the physical screen DPI, which on modern Retina displays can be 200+ PPI.
In Photoshop: File > New > choose Centimeters as the unit, enter your dimensions (e.g. 21 × 29.7 cm), set resolution to 300 pixels/inch. The pixel dimensions update automatically. For bleed, add 3mm to each side: enter 21.6 × 30.3 cm instead.
Yes. CSS accepts cm as a unit — width: 10cm is valid. The browser converts it using the standard: 1cm = 37.795px at 96 DPI. This is only useful for print stylesheets (@media print) because screen pixels do not correspond to physical centimeters on screen.
Yes. All calculations run in your browser. No data is sent to any server.

Have an idea, found a bug, or want to suggest a feature? Drop us a message – we respond within 24 hours.