EM to PX Converter
About
em back to px multiplies by the element's computed parent font size. Because em compounds, the honest workflow is to read the computed font-size in DevTools for the exact element, use it as the base here, and only then convert — a number converted against the wrong base is worse than no number.
Frequently Asked Questions
Why is the default base 16?
Every major browser ships with a 16px default root font size; designs and frameworks (Tailwind's spacing scale among them) assume it unless the user or the CSS changes it.
Should I use px or relative units?
Relative units (rem for layout, em for component internals) respect user font preferences — an accessibility requirement in most guidelines. px survives for hairline borders and fixed media.