CSS Units Converter
Convert between CSS units: px, rem, em, vw, vh, %.
Report a Problem
Found a bug or have a suggestion? Help us improve this tool.
What is this tool?
CSS units converter transforms values between CSS measurement units including px, rem, em, %, vw, vh, and pt. It helps developers choose appropriate units for responsive design. Understanding unit relationships is essential for consistent sizing across different viewport and font sizes.
How to use
- 1
Enter value
Input the value and source unit.
- 2
View conversions
See equivalent values in all CSS units.
- 3
View results
Review the output.
Frequently Asked Questions
What is the difference between rem and em?
rem is relative to the root (html) font size and is consistent throughout the page. em is relative to the parent element's font size and can compound in nested elements. Most developers prefer rem for consistent sizing.
What CSS units are supported?
px, em, rem, percent, vw, vh, pt, in, cm, mm, ex.
Is my data processed locally?
Yes, all processing happens in your browser. No data is sent to any server.