Pixel To REM Conversion

Root size is

px

I want my text to be

Pixel

px

REM

rem


Pixels And REM

Convert pixels to the CSS unit REM or converts REM to pixels. The conversion is based on the default font-size of 16 pixels but can be changed in the input above.


Pixels to REM And REM to Pixels Conversion (root font-size is 16px):

PixelsREM
1px0.06rem
2px0.13rem
3px0.19rem
4px0.3rem
5px0.3rem
6px0.4rem
8px0.5rem
10px0.6rem
12px0.8rem
14px0.9rem
15px0.9rem
16px1rem
18px1.1rem
20px1.3rem
24px1.5rem
25px1.6rem
28px1.8rem
32px2rem
36px2rem
40px3rem
44px3rem
48px3rem
50px3rem
56px4rem
64px4rem
72px5rem
75px5rem
80px5rem
90px6rem
100px6rem
REMPixels
0.01rem0.16px
0.03rem0.5px
0.05rem0.8px
0.08rem1.3px
0.1rem1.6px
0.15rem2px
0.2rem3px
0.5rem8px
1rem16px
2rem32px
3rem48px
4rem64px
5rem80px
6rem96px
8rem128px
10rem160px
15rem240px
20rem320px
30rem480px
40rem640px
50rem800px
60rem960px
80rem1280px
100rem1600px

See Also