ToolsKitFull site
All tools / Developer and web / PX to REM converter

PX to REM converter

Convert CSS pixels to rem and em.

Loading interactive tool…

Open the full tool for saved settings, clipboard access, or more space.

About this tool

Convert CSS pixels to rem or em, and back, for any base font size. The default base is 16 pixels, the browser default.

How to use it

  1. Set your base font size.
  2. Enter pixels or rem.
  3. Read the converted value.

Questions

How many rem is 24px?
With a 16px base, 24px is 1.5rem.
rem or em?
rem scales from the root font size. em scales from the parent element's size.

More tools

tools4freeonline.com google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0