Toolman

Convert mm to in

At the browser default root font size of 16 px, 1mm = 0.03937in. Change the base below if your project uses a different root size.

Formula

in = mm × 0.03937
mm = in × 25.4

Both units are absolute in CSS, so this ratio never changes regardless of font size or user settings.

MM to IN conversion table

mmin
8mm0.314961in
10mm0.393701in
12mm0.472441in
14mm0.551181in
16mm0.629921in
18mm0.708661in
20mm0.787402in
24mm0.944882in
28mm1.1024in
32mm1.2598in
36mm1.4173in
40mm1.5748in
48mm1.8898in
56mm2.2047in
64mm2.5197in
72mm2.8346in
80mm3.1496in
96mm3.7795in
128mm5.0394in

About mm

One millimetre is about 3.78 CSS pixels. Like centimetres it is a print unit that CSS accepts everywhere.

About in

CSS defines one inch as exactly 96 pixels. On screen this is a nominal measure, not a guarantee of physical size; in print stylesheets it maps to a real inch.

Which unit should you use?

PropertyRecommended unitWhy
Font sizeremScales with the user's browser font-size preference, which px ignores — an accessibility requirement.
Padding and marginrem or emrem for a consistent global rhythm; em when the spacing should track the component's own text size.
Borders and hairlinespxYou almost always want exactly one crisp pixel, not a value that scales.
Media query breakpointsemHistorically the most reliable across browsers when the user zooms.
Print stylesheetspt, cm, mmThese map to real physical measurements on paper.

Frequently asked questions

What is 16mm in in?

16mm equals 0.629921in at a 16 px root font size.

How do I convert mm to in?

Multiply the mm value by 0.03937. Going the other way, multiply the in value by 25.4.

Does browser zoom change the result?

No. Both units are absolute in CSS and keep the same ratio at any zoom level, though the rendered size on screen changes.

Why does CSS use 96 pixels per inch?

It is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.

Related CSS unit conversions

All CSS unit converters · All converters