Pixels to Millimeters Converter
Convert pixels to millimeters at a chosen resolution. There are 25.4 mm per inch, and 96px equals 1 inch at the CSS reference.
Pixels per inch — 96 for screen, 150–300 for print.
Result
4.2333mm
Formula
mm = (px ÷ DPI) × 25.4 (default DPI 96)Conversion table
px → mm at resolution (dpi) = 96.
About the Pixels to Millimeters conversion
A millimeter is a metric length. Converting pixels to millimeters goes through inches: divide the pixel count by the DPI to get inches, then multiply by 25.4 because there are 25.4 millimeters in one inch.
At the 96 DPI CSS reference, 96px is 25.4mm, so roughly 3.78px make up 1mm. Set the DPI to your export resolution when preparing print assets at 150 or 300 DPI.
This pixels to millimeters converter is useful for fine print work, physical component sizing, and translating on-screen pixels into precise metric measurements.