What is rem in CSS?
Rem is a unit relative to the root font size.
Tool workspace
Convert CSS units instantly. Transform px, rem, em, vh, vw, pt, and percent values.
CSS Unit Converter helps developers convert between common CSS measurement units including px, rem, em, vh, vw, pt, pc, and percentages. This is useful when adapting layouts for responsive design.
Input
16px
Output
1rem
CSS unit conversion uses mathematical ratios. For example, 1rem typically equals 16px in most browsers.
Rem is a unit relative to the root font size.
Rem improves accessibility and responsive scaling.
Em is relative to the font size of the parent element.
Viewport height and viewport width units.
Yes standard CSS ratios are used.
Yes everything runs locally.