CSS pixels and print PPI
In CSS, 1in equals 96px by definition. That relationship does not measure the physical size of a monitor. For an image, print inches = image pixels ÷ PPI. Printer DPI counts ink dots and is a different specification from image PPI.
Conversion reference
W3C CSS Values and Units · Checked November 16, 2026.