Unit Converter · Length & font-size

2.5em to %

2.5em = 250%

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 em → % values

Click any row to open its dedicated page.

em%
4em 400%
6em 600%
8em 800%
10em 1000%
12em 1200%
14em 1400%
16em 1600%
18em 1800%
20em 2000%
24em 2400%
28em 2800%
32em 3200%
36em 3600%
40em 4000%
44em 4400%
48em 4800%
56em 5600%
64em 6400%
72em 7200%
80em 8000%
96em 9600%
112em 11200%
128em 12800%
144em 14400%
160em 16000%
192em 19200%
224em 22400%
256em 25600%

Convert 2.5em 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.