Convert between px, rem, em, %, pt, vw, and vh with a customizable base font size.
Last updated: September 202616px
1rem
1em
12pt
100%
0.8333vw
1.4815vh
Generate responsive values that scale between a minimum and maximum, using a preferred fluid value.
clamp(16px, 4vw, 24px)
| px | rem | em | pt | % |
|---|---|---|---|---|
| 8px | 0.5rem | 0.5em | 6pt | 50% |
| 10px | 0.625rem | 0.625em | 7.5pt | 62.5% |
| 12px | 0.75rem | 0.75em | 9pt | 75% |
| 14px | 0.875rem | 0.875em | 10.5pt | 87.5% |
| 16px | 1rem | 1em | 12pt | 100% |
| 18px | 1.125rem | 1.125em | 13.5pt | 112.5% |
| 20px | 1.25rem | 1.25em | 15pt | 125% |
| 24px | 1.5rem | 1.5em | 18pt | 150% |
| 28px | 1.75rem | 1.75em | 21pt | 175% |
| 32px | 2rem | 2em | 24pt | 200% |
| 36px | 2.25rem | 2.25em | 27pt | 225% |
| 40px | 2.5rem | 2.5em | 30pt | 250% |
| 48px | 3rem | 3em | 36pt | 300% |
| 56px | 3.5rem | 3.5em | 42pt | 350% |
| 64px | 4rem | 4em | 48pt | 400% |
| 72px | 4.5rem | 4.5em | 54pt | 450% |
| 80px | 5rem | 5em | 60pt | 500% |
| 96px | 6rem | 6em | 72pt | 600% |
CSS Unit Converter is a free browser-based tool that lets you convert between CSS units including px, rem, em, %, vw, vh, pt, and cm with a configurable base font size. It processes everything locally in your browser using JavaScript, so your data never leaves your device. No sign-up, no installation, and no server uploads required — just open the tool and start using it immediately.
This tool is particularly useful when converting pixel designs to responsive units, switching between relative and absolute CSS units. Since it runs entirely in your browser, it works offline after the page loads and keeps your data completely private. Whether you are a developer, designer, student, or professional, this web development tool saves time and eliminates the need for desktop software installation.
Weekly tips, new tools, and productivity hacks. No spam.