px to rem

Convert pixels to rem units instantly — set your base font size and see the exact rem value for any pixel measurement

16px ÷ 16 = 1 rem
Result
1 rem

base: 16px

16px equals 1rem16px equals 1rempx16rem116px = 1rem

About this calculator

The rem unit (root em) is relative to the root element's font size — usually 16px by default in browsers. Converting px to rem makes your CSS scalable: if a user changes their browser font size, rem-based layouts adapt automatically. Use this tool to find the rem equivalent of any pixel value for any base font size.

How to use the px to rem converter

  1. Enter your value into the input field.
  2. Read the converted result.
  3. Adjust the input to try other values instantly.
  4. Copy the page URL to share the exact conversion.

Common examples

  • 16px = 1rem (base 16px)
  • 24px = 1.5rem (base 16px)
  • 32px = 2rem (base 16px)
  • 12px = 0.75rem (base 16px)
  • 18px = 1.125rem (base 16px)

Frequently asked questions

How does the px to rem converter work?

Enter a value in the source unit and the calculator applies the standard conversion factor (or temperature formula, where relevant) to give you the equivalent value in the target unit. The result updates as you type.

When would I use a px to rem converter?

Whenever you need to translate a quantity between two units of measurement — common cases include travel, cooking, shipping, engineering, science homework, and reading product specifications written in a different system.

How accurate is the px to rem converter?

Conversions use the standard definitions of each unit and full-precision arithmetic. The displayed value is rounded for readability, but the underlying calculation keeps higher precision so repeated conversions do not drift.

Can I share a specific conversion with someone else?

Yes. Every value you enter updates the URL, so copying the address bar and sharing the link reopens the exact same conversion for whoever clicks it.