Convert CM, MM, and Inches to Pixels accurately based on DPI.
Whether you are designing a banner for print or adjusting an image for a website, knowing the correct pixel dimensions is crucial. This calculator helps you convert physical units (centimeters, millimeters, inches) into digital pixels (px) based on the image resolution (DPI/PPI).
DPI (Dots Per Inch) or PPI (Pixels Per Inch) determines the density of pixels in an image.
If you want to calculate pixels manually, here are the formulas used by designers:
| Conversion | Formula |
|---|---|
| Inches to Pixels | Pixels = Inches × DPI |
| CM to Pixels | Pixels = (CM × DPI) ÷ 2.54 |
| MM to Pixels | Pixels = (MM × DPI) ÷ 25.4 |
Use this quick reference guide for common paper sizes at 300 DPI: