percentage to rem

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

Percentage (%)
Base Size
REM 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 "REM to Percentage".

Q

Focus the "Percentage (%)" input.

W

Focus the "Base Size" input.

E

Focus the "REM Size" input.

FAQ

How to convert Percentage to REM?

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

What is the Percentage to REM formula?

((percent * base) / 100) / rem 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 rem unit?

REM is defined relative to the font size of the root element. The root element is matched by the :root pseudo-class or the html selector. 1 REM therefore takes on the value which is given to the font-size of the root element. This means that 1 REM keeps the same value throughout your whole CSS code.

Percentage to REM Conversion Table if base size is 1000px and rem size is 16px

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

More Percentage & REM Conversions