Toolman

Convert mm to em

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

Formula

em = mm × 0.23622
mm = em × 4.2333

Because em is relative, this ratio holds only at a 16 px base. If your project sets html { font-size: 62.5% } — a common trick that makes 1rem equal 10 px — set the base above to 10 instead.

MM to EM conversion table

mmem
8mm1.8898em
10mm2.3622em
12mm2.8346em
14mm3.3071em
16mm3.7795em
18mm4.252em
20mm4.7244em
24mm5.6693em
28mm6.6142em
32mm7.5591em
36mm8.5039em
40mm9.4488em
48mm11.3386em
56mm13.2283em
64mm15.1181em
72mm17.0079em
80mm18.8976em
96mm22.6772em
128mm30.2362em

About mm

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

About em

One em equals the font size of the current element. It compounds through nesting, which makes it powerful for component-local spacing and dangerous for global scales.

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 em?

16mm equals 3.7795em at a 16 px root font size.

How do I convert mm to em?

Multiply the mm value by 0.23622. Going the other way, multiply the em value by 4.2333.

Does the root font size change the result?

Yes. One of these units is relative to the root font size, so changing it changes the conversion. Use the base control above to match your project.

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