Convert px to rem

Convert font sizes between px and rem for CSS, Word and design tools.

Free to use · No account needed · Files are processed on your device and never uploaded

Quick answer: 16 px = 1 rem

About the PX to REM

Points (pt) come from print and are used in Word and Google Docs; pixels (px) and rem are used in CSS. In CSS, 1 inch = 96 px = 72 pt, so 1 pt = 1.333 px. Em and rem are relative to the font size, which browsers default to 16 px.

How to convert px to rem

  1. Enter your numbers (or keep the example).
  2. The result updates instantly as you type.
  3. Copy the result, or copy the link: it keeps your numbers so you can share them.

px to rem (16px base)

pxrem
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
15px0.9375rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
48px3rem
64px4rem

How it's calculated

px = pt × 96 ÷ 72. rem = px ÷ base font size (16 px by default).

Features

  • Instant resultsUpdates as you type.
  • Shareable linkThe URL keeps your inputs.
  • Reference tableCommon values on this page.
  • Works offlineRuns in your browser.

Frequently asked questions

Is the PX to REM free?

Yes, the PX to REM is free with no sign-up, no limits and no ads covering the result.

Does it work on my phone?

Yes. It works in any modern browser on phones, tablets and computers, and keeps working offline once the page has loaded.

Last updated · Processing happens locally in your browser.

You might also need