developer

CSS Units Converter

Convert between px, rem, em, pt, %, vw, and vh.

๐Ÿ”’ All conversions happen in your browser.

How to Use CSS Units Converter

1

Enter a value and select the unit

2

Adjust base font size if needed

3

Click any result to copy it

๐Ÿ”’ 100% Private

Your files never leave your browser

โšก Instant Processing

No upload wait time. Results in seconds

โˆž Zero Limits

No daily limits, no file count limits

๐Ÿ†“ Always Free

No account, no subscription, no fees

About CSS Units

CSS supports multiple unit types for sizing elements. Absolute units like px and pt have fixed values, while relative units like rem, em, and % scale with context. Understanding conversions is essential for responsive design.

Frequently Asked Questions

What is the base font size?

The default browser font size is 16px. Rem and em units are relative to this base โ€” so 1rem = 16px by default.

What about vw and vh?

Viewport units (vw/vh) are calculated based on 1920ร—1080 viewport. 1vw = 1% of viewport width (19.2px at 1920px).

ESC
Type to search 100+ tools