Convert pixels to REM and back against your root font size, with a live reference table you can copy. Perfect for responsive, accessible CSS, with no manual math.
| Pixels | REM |
|---|
Why use REM units in your CSS
REM (root em) units are based on the font size of the root html element, so anything you size in REM scales with the user’s browser settings. That makes REM a great choice for accessible, responsive designs, and not just for fonts: use it for margins, padding, and any size-related property to keep a consistent, scalable layout.
px to REM, made simple
Manually dividing pixels by your base font size gets tedious fast. Set your root font size above (16px by default), type a pixel value, and get the matching REM instantly. It works both ways, so you can enter a REM value and read the pixels too. The reference table covers the sizes you reach for most, each one a click away from your clipboard.
