CSS Units Converter
Convert between px, rem, em, vw, vh, %, pt, and pc with configurable base values.
Base Values
Enter Value
Converted Values
px
16px
Click to copy
rem
1rem
Click to copy
em
1em
Click to copy
vw
1.1111vw
Click to copy
vh
1.7778vh
Click to copy
%
100%
Click to copy
pt
12pt
Click to copy
pc
1pc
Click to copy
CSS provides many unit types: absolute units like px, pt, and pc that map to fixed screen measurements; relative units like rem (relative to root font size) and em (relative to parent font size); and viewport-relative units like vw and vh. Understanding unit relationships is critical for responsive design. This converter instantly translates any value between all major CSS units using configurable base font size and viewport dimensions.
Frequently Asked Questions
- px, rem, em, vw, vh, %, pt, pc, cm, mm, and in. Enter a value in any unit to see all equivalents.
Related Tools
Text to HEXEncode text as hexadecimal and decode backTimestamp ConverterConvert Unix epoch timestamps to human dates with timezone supportcURL to CodeConvert cURL commands to JavaScript fetch or Python requestsColor ConverterConvert between HEX, RGB, and HSL color formatsColor Palette GeneratorGenerate complementary and analogous color schemesUnit ConverterConvert length, weight, temperature, area, and volumeBase ConverterConvert between binary, octal, decimal, and hexadecimalRoman NumeralsConvert between Arabic numbers and Roman numerals