About the CSS Unit Converter
Translate design specs into CSS: points from print designers, pixels from Figma, rems for accessible typography and viewport units for fluid layouts. Set the context — root and parent font size, viewport size and container width — and every unit converts at once. Click a value to copy it.
How to use it
- Enter a value and its unit.
- Adjust the context if needed.
- Click the converted value you want to copy.
Good to know
- Absolute units use CSS definitions (1in = 96px), not physical measurements on your screen.