How to calculate
Divide the pixel size by the reference font size to get em. Multiply by the reference size to convert back.
Worked example
Use Direction CSS pixels to em · Size 24 · Reference font size (px) 16. The result is 1.5 em.
Input and result notes
Enter numbers using the same units. Rounded results are marked with ≈.