percentage to em

A converter that calculates the em from a percentage for given em size and base size to make the measurement responsive

Percentage (%)
Base Size
EM Size

Hot Keys

C

Calculate and copy the result of calculation.

V

Calculate the result.

B

Copy the result of calculation.

R

Reverse the converter to "EM to Percentage".

Q

Focus the "Percentage (%)" input.

W

Focus the "Base Size" input.

E

Focus the "EM Size" input.

FAQ

How to convert Percentage to EM?

To convert percentage to em, you should know total size of 1 EM, default is 16px, and size of base Then, just apply formula: ((percent * base) / 100) / em size For example, with 16px size of 1em and 1000px of base, 10% will be converted to: ((10 * 1000) / 100) / 16 = 6.25em

What is the Percentage to EM formula?

((percent * base) / 100) / em size

What is % unit? (Percentage)

Percentage is a number or ratio expressed as a fraction of 100. It is often denoted using the percent sign (%). A percentage is a dimensionless number, primarily used for expressing proportions, but percent is nonetheless a unit of measurement in its orthography and usage. In CSS, it is often used to define a size as relative to an element's parent element. For example, if parent element's size is 1000px, then 1% will be equal to 10px, 1% = 10px.

What is em unit?

EM is defined relative to the font size of the parent element. 1 EM therefore takes on the value which is given to the font-size of the parent element.

Percentage to EM Conversion Table if base size is 1000px and em size is 16px

percentageem
1%0.625em
2%1.25em
3%1.875em
4%2.5em
5%3.125em
6%3.75em
7%4.375em
8%5em
9%5.625em
10%6.25em
11%6.875em
12%7.5em
13%8.125em
14%8.75em
15%9.375em
16%10em
17%10.625em
18%11.25em
19%11.875em
20%12.5em
21%13.125em
22%13.75em
23%14.375em
24%15em
25%15.625em

More Percentage & EM Conversions