What this tool does
Enter a value in px or rem and see the conversion based on a configurable root font size (default 16 px). Handy for responsive CSS authoring.
Example input/output
Illustrative sample — your real inputs may look different.
Example input
24 px · base 16 px
Example output
1.5 rem
How to use
- Set the root font size if your project differs from the 16 px default.
- Type a value in px to see rem, or type rem to see px.