Toolman

18em to px

18em = 288px

At the browser default font size of 16 px. Change it and this number changes — see below.

How it is calculated

One em is 16px, so:

18em × 16 = 288px

Reversing it, 288px × 0.0625 returns 18em.

18em at other font sizes

em is measured against the element's own font size, inherited from its parent unless it sets one, so the answer above holds only while that is 16 px. Nested elements each compound on their parent, so this is the value for one level, not for the whole tree.

Font size18em equals
14 px252px
16 px (default)288px
18 px324px
20 px360px
24 px432px

Nearby values

empx
10em160px
12em192px
14em224px
16em256px
18em288px
20em320px
24em384px

Frequently asked questions

What is 18em in px?

288px at the default 16 px font size.

How is 18em converted to px?

Multiply by 16: 18 × 16 = 288. To go back, multiply 288 by 0.0625.

Is 288px always the answer?

No. em is relative to the element's own font size, inherited from its parent unless it sets one, so 18em is 288px only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.

The full EM to PX converter → · All CSS unit converters