Convert centimetres and millimetres into print pixels
Admin ·
An image needs both a pixel grid and an intended print scale. The same number of pixels can cover different lengths on paper depending on the density used for printing.
Work through a 5 by 7 cm print
Choose centimetres, 5 by 7, and 254 PPI. Each centimetre corresponds to 100 pixels, giving a 500 × 700 raster. Switching to millimetres shows 50 × 70. Raising the density to 508 PPI in that unit changes the export to 1000 × 1400 pixels.
Read the scale in the saved image
JPEG stores horizontal and vertical density in its JFIF header. PNG records whole pixels per metre, so another viewer can show a slightly rounded PPI. Select the intended paper size and print at 100% to check the result.
W3C PNG specification, physical pixel dimensionsJPEG File Interchange Format, version 1.02
Diagnose an unexpected paper measurement
For a 500 × 700 file meant to print at 254 PPI, divide each pixel dimension by 254, then multiply by 2.54 to recover centimetres. The result is 5 × 7 cm. The measurements below help distinguish changed print settings from rounding to the nearest raster pixel.
| Measured on paper | Interpretation | Check next |
|---|---|---|
| 4.5 × 6.3 cm | Both sides are 90% of the requested size | Check scaling and fit-to-printable-area settings. |
| About 4.23 × 5.93 cm | 500 × 700 printed at 300 PPI | Check whether the print application overrode the stored 254 PPI. |
| Correct size, jagged detail | The pixel grid was enlarged from a small original | Start with a higher-resolution source and compare one detailed area in a new print. |
Common questions
What happens with fractional pixels?
Each requested side rounds to the nearest whole pixel. Use the displayed pixel dimensions to see the result before exporting.
Why did my print come out smaller?
Check the print dialog for fit-to-page scaling, borders and automatic enlargement. Measure a test print made at actual size.