Rusty Kite
FreeLayout & CSSWeb tool

PX to REM Converter

Convert between pixels and rem using your own root font size, and generate a consistent modular type scale.

Open the tool
  • Runs in your browser
  • Nothing uploaded
  • Free, no signup
PX to REM Converter preview
PX to REM Converter screenshot
Live tool

Base Settings

Live Converter

Standard Typographic Scale (Based on 16px)

Element / Size Pixels (px) REM (rem) Preview Example

How to use the PX to REM Converter

  1. Enter your root font size (16px by default).
  2. Type a px or rem value.
  3. Copy the converted value or the full scale.

Frequently asked questions

How do I convert px to rem?

Divide the pixel value by the root font size. 24px / 16px = 1.5rem.

Why use rem instead of px?

rem scales with the user's browser font setting, which improves accessibility.

PriceFree
CategoryLayout & CSS
Works inAny modern browser, on desktop or mobile
PrivacyRuns locally. Your input is never sent to us.

Found a problem? Tell us.

Reports with a screenshot get fixed fastest.

Report a bug

Tell us what went wrong. A screenshot helps a lot. We read every report.

Screenshot (optional)
Drop an image, paste one (Ctrl+V), or click to choosePNG, JPG, WebP or GIF, up to 4 MB

We also receive the page address and your browser version so we can reproduce the problem. Nothing else is collected.