AllMyCalculators

REM to PX Converter

Converts between rem and pixels.

rem
px
px

Browsers default to 16 px unless the site or the visitor changes it.

rem in pixels
— px

Share sends a link that reopens these numbers. Copy details pastes the full breakdown as a list.

Pixels in rem — rem
Common sizes

The formula

px = rem × root font size rem = px ÷ root font size

The root font size is the one set on the html element.

What to watch out for

Sizes in rem follow the visitor’s browser font setting, which is the usual reason to prefer them over pixels for text.

Frequently Asked Questions

How many pixels is 1.5 rem?

24 px at the default 16 px root.

What is 14 px in rem?

0.875 rem.