Convert em to in
At the browser default root font size of 16 px, 1em = 0.166667in. Change the base below if your project uses a different root size.
Formula
in = em × 0.166667
em = in × 6
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.
EM to IN conversion table
| em | in |
|---|---|
| 8em | 1.3333in |
| 10em | 1.6667in |
| 12em | 2in |
| 14em | 2.3333in |
| 16em | 2.6667in |
| 18em | 3in |
| 20em | 3.3333in |
| 24em | 4in |
| 28em | 4.6667in |
| 32em | 5.3333in |
| 36em | 6in |
| 40em | 6.6667in |
| 48em | 8in |
| 56em | 9.3333in |
| 64em | 10.6667in |
| 72em | 12in |
| 80em | 13.3333in |
| 96em | 16in |
| 128em | 21.3333in |
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.
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?
| Property | Recommended unit | Why |
|---|---|---|
| Font size | rem | Scales with the user's browser font-size preference, which px ignores — an accessibility requirement. |
| Padding and margin | rem or em | rem for a consistent global rhythm; em when the spacing should track the component's own text size. |
| Borders and hairlines | px | You almost always want exactly one crisp pixel, not a value that scales. |
| Media query breakpoints | em | Historically the most reliable across browsers when the user zooms. |
| Print stylesheets | pt, cm, mm | These map to real physical measurements on paper. |
Frequently asked questions
What is 16em in in?
16em equals 2.6667in at a 16 px root font size.
How do I convert em to in?
Multiply the em value by 0.166667. Going the other way, multiply the in value by 6.
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.