Skip to content
1440px

mm to px

px = mm × 96 ÷ 25.4 — with a live converter and the full table.

Formula
px = mm × 96 ÷ 25.4

20mm = 75.5906px. CSS defines this ratio as fixed.

Millimetres to CSS pixels at the spec-defined 96 DPI.

Converter

mm to px conversion table

mm to px — exact values
mmpxRounded
1mm3.77953px3.78px
2mm7.55906px7.56px
3mm11.33858px11.34px
4mm15.11811px15.12px
5mm18.89764px18.9px
6mm22.67717px22.68px
8mm30.23622px30.24px
10mm37.79528px37.8px
12mm45.35433px45.35px
15mm56.69291px56.69px
20mm75.59055px75.59px
25mm94.48819px94.49px
30mm113.38583px113.39px
40mm151.1811px151.18px
50mm188.97638px188.98px
60mm226.77165px226.77px
80mm302.3622px302.36px
100mm377.95276px377.95px
148mm559.37008px559.37px
210mm793.70079px793.7px
297mm1122.51969px1122.52px

Questions

How do I convert mm to px?

px = mm × 96 ÷ 25.4. So 20mm = 75.5906px.

Is the mm to px conversion exact?

Yes, for CSS. The specification fixes 1in = 96px, which pins every absolute unit to a fixed ratio regardless of the physical display. It is not a physical measurement — a CSS inch on a phone is not an inch of glass. For real-world output size use the DPI calculator instead.

How do I convert px back to mm?

Invert the formula, or use the px to mm converter.

Other conversions

Conversions follow the CSS Values and Units specification, in which 1in is defined as exactly 96px. Values are computed, not tabulated by hand.