PX to REM Converter
Convert pixels to rem and em (and back) for any root font size, with a quick reference table.
What Is the PX to REM Converter?
The PX to REM Converter turns pixel values into rem and em units and back again, based on your root font size (16px by default). It includes a handy reference table of common sizes for responsive, accessible CSS.
How It Works
Set your base font size, then type a pixel or rem value — the converted units update instantly and can be copied with one click.
When to Use It
Use it while writing responsive CSS, where rem units scale with user font-size preferences for better accessibility.
Frequently Asked Questions
- What's the difference between rem and em?
- rem is always relative to the root (html) font size; em is relative to the current element's font size. This tool assumes the root for both, which is the common case.
Found an issue? Send Feedback. See our data sources and update policy for tools that depend on changing information.