You can use this calculator to convert pixels ( px ) to em and vs for conversions from em to pixels px in coding web pages HTML or in CSS files – cascading style sheets. First 2 options from the top ( 1 – 2 ) are straight forward for px – em. The other two ( 3 – 4 ) are to convert from em to px or the other way around from px to em if body element of the page has font size set to 62.5% – for example
To link to this web based Pixels px to em conversion tool, copy then paste this code into your html.
The link will appear on the page as: Pixels px to em conversion
For online collaboration to improve the » Pixels px to em conversion, requests for new units or web tools additions, send your feedback.