A pixel is a piece of an image, not a fixed physical measurement. To turn pixel dimensions into inches, you need to decide how many pixels to place in each inch. That number is the image’s resolution, measured in pixels per inch (PPI).
For each dimension, divide the pixel count by PPI. An image that is 3,000 pixels wide becomes 10 inches wide at 300 PPI, or 20 inches wide at 150 PPI. The image has not gained or lost pixels; you are changing how closely they are packed on the print.
Pixels → inchesinches = pixels ÷ PPIInches → pixelspixels = inches × PPI
Choose centimeters or millimeters when your print specifications use metric units. One inch is exactly 2.54 centimeters or 25.4 millimeters. The calculator keeps precision internally and rounds the displayed result for readability.