Muhammed Ahmed Tools

px to rem Converter

Convert CSS units: px, rem / em, pt and percent. You set the root font size; a table of common values is ready to copy.

This tool runs in your browser: your files and text never leave your device and are not uploaded anywhere.

How to use

  1. Type the root font size (16 pixels by default).
  2. Type a value in any field; the others are calculated right away.
  3. Copy common values from the table with one tap.

Frequently asked

How many pixels is 1 rem?

As many as the root font size; the browser default is 16 pixels. In that case 24 px = 1.5 rem.

Why use rem?

rem follows the font size the user chose in the browser; it is preferred for accessible, scalable design.

Related tools

All tools