DPI & Print Size Calculator

DPI & Print Size Calculator cm or inches to pixels, and back

Type a print size and DPI to get the pixels you need, or type pixels to see how big they print. No image needed.

cm, inches and pixelsBoth directionsNo upload

Calculate pixels and print size

Choose a direction, enter positive values, and get an instant result.

Result413 × 531 pxRequired pixel dimensions at 300 DPI

Pixel requirements are rounded to the nearest whole pixel. DPI is used here as the target print density.

Want to inspect an actual image and read its stored DPI metadata?Use our DPI Checker
Formula
  1. Pixels = inches × DPI.

  2. Inches = pixels ÷ DPI.

  3. Centimetres = inches × 2.54.

Image learning center

Understand the file, not just the setting.

Original, practical guides to compression, resizing, browser privacy, image resolution, and print planning.

For 3.5 × 4.5 cm at 300 DPI: divide each measurement by 2.54, multiply by 300, then round. The result is approximately 413 × 531 px.

Privacy note: This calculator runs entirely in your browser and requires no image upload.

Quick answers

Frequently asked questions

How do I calculate pixels from centimetres and DPI?

Divide centimetres by 2.54 to get inches, then multiply by the target DPI. PixelKaro rounds the result to the nearest whole pixel.

How do I calculate print size from pixels?

Divide the pixel width and height by the target DPI/PPI to get inches. Multiply those inch values by 2.54 for centimetres.

Why can the pixel result differ by one pixel?

Physical measurements can produce decimal pixel values, but image dimensions must use whole pixels, so the calculator rounds to the nearest pixel.

Does changing DPI improve image quality?

No. A DPI value connects existing pixels to a print size; changing it alone does not create new image detail.

Keep going

More useful image tools