CalcOS

CalcOS · Physical pixel density

Digital Image Resolution Converter

Convert physical pixel density and reciprocal pixel pitch without treating printer dots, CSS pixels, or device pixels as interchangeable.

01

Set the units

Converted value118.1 px/cm

300 ppi in pixel per centimeter

Convert physical pixel density

Pixel density describes a count of image or display pixels per physical length. CalcOS converts supported values through pixels per meter. Pixel pitch is the reciprocal physical length occupied by one pixel.

pixel density = pixels ÷ physical length

This converter does not calculate density from pixel dimensions and screen size; the PPI Calculator performs that separate task.

PPI, printer DPI, and CSS resolution are different contexts

TermMeaningConverter treatment
PPIImage or display pixels per physical inchSupported as px/in
Printer DPIOutput-device dots per physical inchNot converted as pixels
CSS dppxDevice pixels per CSS reference pixelSeparate W3C resolution context
Pixel pitchPhysical length per pixelSupported reciprocally

A CSS pixel is not necessarily a device pixel

CSS defines reference relationships for layout units, including 96 CSS px per CSS inch, while browsers map those units to displays according to viewing conditions and device behavior. That reference relationship does not certify the physical density of a screen.

Metadata does not resample an image

Changing or converting a PPI metadata value does not add or remove pixels. Physical output size is pixel count divided by the chosen output density, and software or printer settings may override metadata.

Why zero is rejected

Zero pixel density has no finite reciprocal pixel pitch. Since pixel density describes a physical scale, CalcOS requires a finite value greater than zero.