Convert between px, rem, em, vh, and vw with configurable base size.
Used for rem and em calculations
Used for vw calculations
Used for vh calculations
Convert between CSS units — px, rem, em, vh, vw — with a configurable root font size and viewport dimensions. Helpful for building responsive layouts and design systems.
Set your root font size (default 16px).
Enter a value and unit; see the conversion in other units.
rem is relative to the root (html) font size. em is relative to the parent element's font size. rem is more predictable; em cascades.