A LITTLE HELP FOR YOUR NEXT DESIGN

PX to REM converter

Convert pixels to rem units with your own root font size. Simple, instant, and free.

24 px1.5 rem
MAKE IT YOURS
font-size: 1.5rem;

How do you convert PX to REM?

Divide the pixel value by the root font size. For example, 24px divided by a 16px root is 1.5rem. If your site sets a different root size, enter that value instead. REM follows the root element’s font size; it does not refer to the parent element.

Read the guide: Build a typography scale that feels like a system

See how real sites set their type.

Font Inspector shows the font, size, line height and spacing of any text on any website, then copies it as CSS. Free, no account.

Add to Chrome