Convert an image size between pixels and cm/mm/inches for a given DPI (resolution).
50.8 cm
Print typically uses 300dpi; the web typically uses 72 or 96dpi. The conversion treats 1 inch as exactly 2.54 cm. Everything runs locally in your browser.
Print typically uses 300dpi, web images typically use 72 or 96dpi, and high-density mobile displays use higher values such as 144dpi or 192dpi. Pick the value that matches your target medium.
The tool treats 1 inch as exactly 2.54cm (25.4mm), and converts between pixels and inches via the DPI (pixels per inch). At 96dpi, 1 inch equals 96px; at 300dpi, 1 inch equals 300px.
Calculations use the browser's floating-point arithmetic and are rounded for legibility. The precision is more than enough for print preparation and web design work.