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