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