CSS Tools
Rem to Px Converter
Rem to Px Converter is part of Toolspire and is ready as soon as this page loads. The root font size is an input because browsers and resets do not all use 16. If your html rule sets 10 px, type 10 or the pixels will be wrong.
On this page
What you can do here
Root is a box
16 is the sample, not a hard-coded browser.
The inverse is named
The detail points at the division the other page does.
Fractional rem is allowed
1.5 is the check, not only whole rem.
The sequence
How to use the Rem to Px Converter
- 1
Read the html font-size
If you did not set it, 16 is the usual browser default.
- 2
Check 24
1.5 times 16.
- 3
Use px-to-rem to go backwards
Do not divide in your head and then also divide here.
Worth knowing
- Rem to Px Converter on Toolspire: pixels = rem × root font size.
- 1.5 × 16 = 24 px.
- A root of 10 makes 1.5 rem equal 15 px. The root is not assumed.
- The px-to-rem converter does the division. 24 px at root 16 is 1.5 rem.
Rem is a multiple of the root
One rem equals the font size of the root element. At 16 px, 1.5 rem is 24 px. At a 10 px root, which some resets use so that 1.6 rem is 16 px, the same 1.5 rem is 15 px. The page multiplies the two numbers you type. It does not read your stylesheet. The px-to-rem page is the same relationship run backwards.
FAQ
Questions about Rem to Px Converter
Where does Rem to Px Converter run?
What is 1.5 rem at a 16 px root?
What if the root is 10 px?
Is 16 always the browser default?
How do I convert px to rem?
Keep going
Related tools
Last updated Report a problem or suggest a feature