REM to PX converter
Type rem and copy the pixels.
PX
Formula
px = rem × base 1.5rem × 16 = 24px
REM to PX table
| REM | Pixels |
|---|---|
Questions
How do I convert rem to px?
Multiply the rem by the root font size, which is 16px in most browsers. 1.5rem × 16 = 24px.
How many pixels is 1rem?
16px, unless the page or the reader changed the root font size.
What base should I use?
16, the browser default. Change it only if your CSS sets another font-size on the html element.
Is rem the same as em?
No. rem is relative to the root font size. em is relative to the font size of the element itself.