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