120px to rem
120 pixels expressed in rem, the unit that scales when a user changes their browser's font size.
120px=7.5rem
120 ÷ 16 = 7.5 — rem is just pixels divided by the root font size, which defaults to 16px.
| root size | 120px in rem |
|---|---|
| 14px | 8.5714rem |
| 16px | 7.5rem |
| 18px | 6.6667rem |
| 20px | 6rem |
Different value? Use the converter.