Try an example
Enter the pixel value and your root font size in pixels.
24, 16
Expected output
1.5rem
Common questions
- Is the root font size always 16 pixels?
- That is a common browser default. The user or site can set a different root size, so check the relevant computed value.
- How is rem different from em?
- rem refers to the root element’s font size. em depends on the font size used by the current property and element.
The tool processes your input in this browser. It does not upload the input itself.