PX to REM Converter

Convert Pixels to REM (px to rem)

base value:

Value(Pixels):


Value(rem):

How to convert PX to REM

To convert PX (pixels) to REM (root em), you need to know the base font size (usually defined in the CSS). REM is a relative unit, based on the root element's font size, typically set in the HTML element.

The formula to convert from Pixels to REM is:

PX ÷ Base Font Size = Rem

For example, if your base font size is 16 pixels (which is common), and you want to convert 24 pixels to REM:

24px ÷ 16px = 1.5rem

So, 24 pixels equals 1.5 REM if the base font size is 16 pixels. Make sure to adjust the base font size in the calculation according to your specific CSS settings.

Conversion Table

Pixelsrem
10.0625
20.125
30.1875
40.25
50.3125
60.375
70.4375
80.5
90.5625
100.625
110.6875
120.75
130.8125
140.875
150.9375
161
171.0625
181.125
191.1875
201.25
211.3125
221.375
231.4375
241.5
251.5625
261.625
271.6875
281.75
291.8125
301.875
311.9375
322
332.0625
342.125
352.1875
362.25
372.3125
382.375
392.4375
402.5
412.5625
422.625
432.6875
442.75
452.8125
462.875
472.9375
483
493.0625
503.125