We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Convert pixels to centimeters or centimeters to pixels using a custom PPI value for screen design, image sizing, and print preparation.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
A pixel is a count in a digital image; a centimeter is a physical length. A pixel count alone does not determine how many centimeters an image will occupy. This converter uses the density field labeled DPI on the page (commonly expressed as pixels per inch, or PPI, for image dimensions) to connect the digital count to physical size. The default density is 96.
One inch equals 2.54 centimeters. With density D, the conversion is cm = px × 2.54 ÷ D. To work backward, use px = cm × D ÷ 2.54. At 96 pixels per inch, 100 px is about 2.6458 cm; at 300 pixels per inch, the same 100 px is about 0.8467 cm. The pixel count is unchanged while the physical length changes with the density assumption.
The two fields work in both directions: edit the pixel value to calculate centimeters, or edit centimeters to calculate the pixel count. Results update as you type and are rounded to at most four decimal places for display. The density value is part of the calculation, not a measurement of your particular screen or printer.
Changing a resolution value can change the physical dimensions associated with an image without adding or removing pixel data. This calculation does not resample an image, inspect its metadata, or predict print sharpness. For a print layout, also account for the output size and any bleed or trim requirements specified by the print provider.
Keep the default only when 96 is the intended assumption for your calculation. For print preparation, enter the resolution requested for the final output. For a display, use the relevant image or device specification if physical dimensions matter. Do not infer an exact print size from a web image’s pixel dimensions alone.
The page accepts decimal numbers and updates the paired field; its reset action returns the pixel value to 16 and density to 96. Both directions use the same density field. If the density is zero or blank, the page falls back to 96 in its calculation, so enter a meaningful positive value explicitly when accuracy matters.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Enter the PPI/DPI value required by the destination. The initial value is 96; replace it when your print or design specification calls for another value.
Type a pixel count for a centimeter result, or type centimeters to calculate the corresponding pixel count.
Use the result as a rounded dimension. Increase source pixel dimensions if a print specification requires more detail; this calculator does not create image pixels.
Calculate width and height separately using the same density and check that the image aspect ratio remains appropriate.
Use cases
See how the tool fits into real work and everyday tasks.
A designer with a 1200 px banner and a required 300 PPI setting can calculate its nominal width in centimeters before placing it in a layout.
An office team can convert a target physical page dimension to an approximate pixel count at the resolution their document workflow specifies.
A developer can see why the same exported pixel width maps to different physical sizes under different density assumptions, without treating CSS pixels as a ruler measurement.
Q&A
Find concise answers to common questions and confusing cases.
It depends on density: 1 px corresponds to 2.54 ÷ D centimeters. At 96 PPI that is about 0.02646 cm; at 300 PPI it is about 0.00847 cm.
The density specifies how many pixels occupy one inch. More pixels per inch means each pixel takes less physical length, so the same pixel count produces a smaller centimeter value.
No. It converts between a pixel count and a physical length under the chosen density. It does not edit the image, add pixels, or assess print quality.
Notes
Review scope, result limitations, and important precautions before use.
Use the resolution and physical-size requirements supplied by your printer, display workflow, or design specification. Actual output may be scaled by an application or print process, and this tool does not account for bleed, crop, margins, or calibration. The inch-to-centimeter factor is exact; the entered density and displayed rounding determine the practical result.
Related
Discover related tools, collections, and available API capabilities.