rem to percentage

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

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

Q

Focus the "REM" input.

W

Focus the "REM Size" input.

E

Focus the "Base Size" input.

FAQ

How to convert REM to Percentage?

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

What is the REM to Percentage formula?

((rem * rem size) / base) * 100

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.

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.

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

rempercentage
1rem1.6%
2rem3.2%
3rem4.8%
4rem6.4%
5rem8%
6rem9.6%
7rem11.2%
8rem12.8%
9rem14.4%
10rem16%
11rem17.6%
12rem19.2%
13rem20.8%
14rem22.4%
15rem24%
16rem25.6%
17rem27.2%
18rem28.8%
19rem30.4%
20rem32%
21rem33.6%
22rem35.2%
23rem36.8%
24rem38.4%
25rem40%

More REM & Percentage Conversions