REM to PX example 1
Input
2 with default root 16
Output
32px
Converts a common rem value using the default root size.
Converters
Review practical REM to PX examples so you can understand expected input, output, and common patterns faster.
Use this REM to PX converter to turn rem values into pixels based on a root font size. It is useful for CSS debugging, design systems, front-end implementation, layout checks, and any workflow where scalable rem units need to be translated back into exact pixel values.
Example pages are especially useful for converters because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
2 with default root 16
Output
32px
Converts a common rem value using the default root size.
Input
1.5 with root 20
Output
30px
Useful when a project uses a custom root font size.
Fix: Use the actual project root size for an accurate result.
Fix: Use the correct converter for the CSS unit you need.
Fix: Enter clean numeric values if the tool expects raw numbers.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main REM to PX page and test your own real input.