Px to em

Convert pixels to em, with a table of every other typography unit.

How to convert pixels to em

One pixel equals 0.0625 em. To convert, multiply the number of pixels by 0.0625:

em = pixels × 0.0625

To go the other way, divide by 0.0625, or multiply by 16: pixels = em × 16.

Worked example

Say you have 7.5 pixels. Multiply 7.5 by 0.0625: 7.5 × 0.0625 = 0.46875 em.

Pixels to em table

1 pixels0.0625 em
2 pixels0.125 em
5 pixels0.3125 em
10 pixels0.625 em
20 pixels1.25 em
50 pixels3.125 em
100 pixels6.25 em
250 pixels15.625 em
500 pixels31.25 em
1,000 pixels62.5 em

Em back to pixels

  • 1 em = 16 pixels
  • 10 em = 160 pixels
  • 100 em = 1,600 pixels

Accuracy

Wezzet uses exact defined factors where they exist (for example, the international inch is exactly 2.54 cm and the pound is exactly 0.45359237 kg) and shows up to 10 significant digits. Round the result to match the precision of your original measurement.

This page also converts pixels to points, picas, inches, centimeters, millimeters, twips and every other typography unit in the table above; change the To menu to switch.