Toolman

96px to em

96px = 6em

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

How it is calculated

One px is 0.0625em, so:

96px × 0.0625 = 6em

Reversing it, 6em × 16 returns 96px.

96px 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 size96px equals
14 px6.8571em
16 px (default)6em
18 px5.3333em
20 px4.8em
24 px4em

Nearby values

pxem
48px3em
56px3.5em
64px4em
72px4.5em
80px5em
96px6em
128px8em

Frequently asked questions

What is 96px in em?

6em at the default 16 px font size.

How is 96px converted to em?

Multiply by 0.0625: 96 × 0.0625 = 6. To go back, multiply 6 by 16.

Is 6em always the answer?

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

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