EasyUnitConverter.com

REM to PX Converter

Convert REM units to pixels based on base font size. The rem unit is relative to the root element font size, which defaults to 16px in most browsers. Use this tool to quickly find the pixel equivalent of any rem value for your web designs.

How to Convert REM to Pixels

  1. Determine the base font size of the root element (default is 16px).
  2. Multiply the rem value by the base font size.
  3. The result is the pixel equivalent.

Formula

Pixels = REM × Base Font Size

Default base font size = 16px

Example Calculation

Convert 1.5 rem to pixels (base 16px):

Pixels = 1.5 rem × 16px = 24px

REM to Pixels Reference Table

REMBase 14pxBase 16pxBase 18px
0.25rem3.5px4.0px4.5px
0.5rem7.0px8.0px9.0px
0.75rem10.5px12.0px13.5px
1rem14.0px16.0px18.0px
1.25rem17.5px20.0px22.5px
1.5rem21.0px24.0px27.0px
2rem28.0px32.0px36.0px
3rem42.0px48.0px54.0px
4rem56.0px64.0px72.0px
5rem70.0px80.0px90.0px

Frequently Asked Questions

What is a rem unit?

REM stands for "root em." It is a CSS unit relative to the font size of the root (html) element. If the root font size is 16px, then 1rem equals 16px.

What is the default base font size?

All major browsers set the default root font size to 16px. This means 1rem = 16px unless you override it in your CSS.

What is the difference between rem and em?

rem is always relative to the root element font size, making it predictable. em is relative to the parent element font size, which can compound when elements are nested.

Why should I use rem units?

rem units respect user font size preferences set in browser settings. This improves accessibility because layouts scale proportionally when users increase their default font size.

How do I change the base font size?

Set the font-size on the html element in CSS. For example, html { font-size: 62.5%; } sets the base to 10px (16 × 0.625), making 1rem = 10px for easier calculations.

Related Calculators