Unit Converter · Length & font-size

24rem to em

24rem = 24em

Assumes a root font-size of 16px (the browser default). Adjust it in the calculator below if your project uses a different base.

Quick converter

Type into any field — every unit in this category updates instantly.

Root font-size 16px

Common rem → em values

Click any row to open its dedicated page.

remem
4rem 4em
6rem 6em
8rem 8em
10rem 10em
12rem 12em
14rem 14em
16rem 16em
18rem 18em
20rem 20em
24rem 24em
28rem 28em
32rem 32em
36rem 36em
40rem 40em
44rem 44em
48rem 48em
56rem 56em
64rem 64em
72rem 72em
80rem 80em
96rem 96em
112rem 112em
128rem 128em
144rem 144em
160rem 160em
192rem 192em
224rem 224em
256rem 256em

Convert 24rem to other units

Formula

rem = px ÷ root-font-size and px = rem × root-font-size. Browsers default the root font-size to 16px, so 1rem normally equals 16px unless the page (or the user's browser settings) changes it.

em works the same way, but relative to the parent element's font-size rather than the root — the numbers only match rem when nothing in the ancestor chain has resized the font.

pt is a print unit: 1pt = 1.333px, based on the fixed 96px-per-inch / 72pt-per-inch relationship browsers use.

Use it in code

Click to copy.