The print-size formula
PPI means pixels per inch of the printed image. Divide pixel dimensions by PPI to get inches; multiply inches by 2.54 for centimeters or 25.4 for millimeters. In the reverse direction, multiply inches by PPI and round up to a whole pixel.
print width in inches = image width in pixels ÷ PPIWorked exampleA 3000 × 2400 image at 300 PPI measures 10 × 8 inches, or 25.4 × 20.32 cm. An 8 × 10 inch print at 300 PPI requires 2400 × 3000 pixels.