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