Print size & resolution calculator

How the calculation works

px = (cm ÷ 2.54) × ppi
ppi = px ÷ in