About This Tool
CSS Unit Converter converts between px, rem, and em using your root font size (default 16). Change one field and the others update. Calculations are processed locally in your browser.
How to Use
- Set the root font size if needed
- Edit px, rem, or em
- Read the synced values
- Clear to reset defaults
Common Use Cases
- Match design tokens to rem
- Translate Figma px to CSS rem
- Check em relative sizes
- Teach CSS unit basics
- Quick stylesheet tweaks