px ↔ rem converter
Convert pixel values to rem and back against your root font size.
How to use
- Choose the direction.
- Set the root font size if it is not 16px.
- Enter the value and copy the result.
What it supports
rem always refers to the root element — a component-level font-size does not change it. Results round to 4 decimals; line-height and layout can still differ from the math.