The formula behind a print-size calculation
Convert to inches first
Pixels equal physical inches multiplied by pixels per inch. Centimeters are divided by 2.54 before applying that formula.
Work on both edges
Calculate width and height separately and preserve the intended proportions. A 10 × 12 inch design at 300 PPI requires 3000 × 3600 pixels.
Distinguish required pixels from source quality
The calculation describes a target grid. Enlarging a low-detail image to that grid will not create the missing detail. Check the source artwork and the provider’s specifications before exporting.
Work in one physical unit
For inches, multiply physical size by PPI to obtain pixels. For centimeters, divide by 2.54 first. A 25.4 cm edge is 10 inches, so at 300 PPI it corresponds to 3000 pixels. The physical-to-pixel result is rounded to a whole pixel because an image edge cannot contain a fraction of a pixel.
Check both directions
Divide pixels by PPI to interpret a physical size. A 5000-pixel edge at 300 PPI represents about 16.67 inches. Use the same selected PPI in both directions when checking a calculation. Changing PPI changes the size interpretation; it does not create more pixels in a file.
Try and verify the workflow
10 inches at 300 pixels per inch needs 3000 pixels on that edge. A 5000-pixel edge at 300 PPI represents about 16.67 inches.
Open print size and dpi calculator