cm to rem
A converter that calculates the rem from a cm for a given rem size to make the measurement responsive
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 CM".
Q
Focus the "CM" input.
W
Focus the "REM Size" input.
FAQ
How to convert CM to REM?
To convert cm to rem, you should know total size of 1 REM, default is 16px Then, just apply formula: (cm * 37.7952755906) / rem size For example, with 16px size of 1rem, 2.5cm will be converted to: (2.5 * 37.7952755906) / 16 = 5.905rem
What is the CM to REM formula?
(cm * 37.7952755906) / rem size
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.
CM to REM Conversion Table if rem size is 16px
cm | rem |
---|---|
1cm | 2.362rem |
2cm | 4.724rem |
3cm | 7.087rem |
4cm | 9.449rem |
5cm | 11.811rem |
6cm | 14.173rem |
7cm | 16.535rem |
8cm | 18.898rem |
9cm | 21.26rem |
10cm | 23.622rem |
11cm | 25.984rem |
12cm | 28.346rem |
13cm | 30.709rem |
14cm | 33.071rem |
15cm | 35.433rem |
16cm | 37.795rem |
17cm | 40.157rem |
18cm | 42.52rem |
19cm | 44.882rem |
20cm | 47.244rem |
21cm | 49.606rem |
22cm | 51.968rem |
23cm | 54.331rem |
24cm | 56.693rem |
25cm | 59.055rem |