An easy to use rem to px converter tool for web designers.
Font Size = 1rem & Base Font Size = 16px
[Sample Text]
Simply enter the rem value you want to convert in the REM input box and the tool will convert it into pixels automatically and instantly as you type the value. No extra clicks required!
Also, this is a two way rem ⇄ px converter tool. So, feel free to enter the px value in the pixels input box to get its rem conversion. Alternatively, you can use our dedicated PX to REM converter, which also works both the ways.
And, for your reference this tool also shows you the live text preview of the px font-size, so you can also test the font-size right on this page using this tool to save your time.
As per base (root font size of HTML) - 16px.
Rem | Pixels |
0.15rem | 2.4px |
0.1875rem | 3px |
0.25rem | 4px |
0.375rem | 6px |
0.45rem | 7.2px |
0.5rem | 8px |
0.62rem | 9.92px |
0.625rem | 10px |
0.65rem | 10.4px |
0.75rem | 12px |
0.8rem | 12.8px |
0.875rem | 14px |
0.93rem | 14.88px |
0.9375rem | 15px |
1rem | 16px |
1.07rem | 17.12px |
1.125rem | 18px |
1.2rem | 19.2px |
1.25rem | 20px |
1.3rem | 20.8px |
1.375rem | 22px |
1.4rem | 22.4px |
1.5rem | 24px |
1.625rem | 26px |
1.75rem | 28px |
1.8rem | 28.8px |
1.875rem | 30px |
2rem | 32px |
2.25rem | 36px |
2.375rem | 38px |
2.5rem | 40px |
2.625rem | 42px |
2.68rem | 42.88px |
2.75rem | 44px |
2.875rem | 46px |
3rem | 48px |
3.25rem | 52px |
Rem | Pixels |
3.4rem | 54.4px |
3.5rem | 56px |
3.84rem | 61.44px |
4rem | 64px |
4.16rem | 66.56px |
4.32rem | 69.12px |
4.48rem | 71.68px |
4.5rem | 72px |
4.72rem | 75.52px |
4.8rem | 76.8px |
4.96rem | 79.36px |
5rem | 80px |
5.12rem | 81.92px |
5.28rem | 84.48px |
5.44rem | 87.04px |
5.6rem | 89.6px |
5.76rem | 92.16px |
5.92rem | 94.72px |
6rem | 96px |
6.08rem | 97.28px |
6.24rem | 99.84px |
6.4rem | 102.4px |
6.56rem | 104.96px |
6.72rem | 107.52px |
6.88rem | 110.08px |
7.04rem | 112.64px |
7.2rem | 115.2px |
7.36rem | 117.76px |
8rem | 128px |
8.75rem | 140px |
10rem | 160px |
12rem | 192px |
60rem | 960px |
64rem | 1024px |
80rem | 1280px |
100rem | 1600px |
120rem | 1920px |
To do conversions for other rem, px or base values use the tool above.
The formula to calculate PX from REM is:
px = rem x base font-size of root <html> tag
Suppose you want to calculate px value of 1 rem, then as per the formula above, you have to multiply 1 with the base font-size.
If the base font-size is 16px, then 1 multiplied by 16 is 16.
Hence, 1rem is equals to 16px.
This REM to PX converter tool does calculations using the same formula and allows you to convert rem to px in much fast and easy way than doing this calculation manually.
px, em, and rem are all units of measurement used in CSS by UI/UX developers for defining sizes and dimensions of various elements on a webpage.
Pixels (px) is an absolute unit of measurement that is fixed to a specific size on a screen. Using px is much easy and straightforward to define precise sizes, such as for borders, text, and images.
However, it does not scale with different screen sizes and may not be as accessible for users who have vision impairments or who need to enlarge text.
Em-height (em) is a relative unit of measurement that is based on the font size of the parent element. When the font size of the parent element changes, the font-size of the child elements with em units will also change accordingly.
Not limited to fonts, the em unit is also commonly used to define padding and margin of the sections and divs on the webpage. It helps create responsive designs that can adjust to different screen sizes and accessibility needs.
Read more about em on our pixel to em converter page.
Rem (root-em) is also a relative unit of measurement but is based on the font size of the root element (the <html> tag).
Like em, it is also used to define font sizes, padding, and margins, but the main difference between them is rem is not affected by the font size of the parent element. This makes it easier to use and more predictable than em when designing responsive layouts.
To summarize, px is usually used for fixed size elements, while em and rem are used for elements that you want to adjust automatically with different screen sizes. When choosing between em and rem, consider whether the size you are defining should be affected by the font size of the parent element or not.