CSSAwwwards
+ Submit tool
Built-in toolFree · No signup

CSS Units Converter

Convert any CSS value between px, rem, em, vw, vh, %, pt, cm, and mm instantly. Configure root font size, viewport dimensions, and parent element size to match your project.

Value

Unit

Pixel equivalent

24.000px

Tip

Click any value in the table to set it as source

UnitValueDescription
pxAbsolute pixel unit
remRelative to root font size
emRelative to parent font size
vw% of viewport width
vh% of viewport height
%% of parent element size
ptPoints (1pt = 1.333px)
cmCentimetres (1cm ≈ 37.8px)
mmMillimetres (1mm ≈ 3.78px)

Conversion Settings

16px
1440px
900px
1000px

Quick Reference (at 16px root)

pxrem% (of 1000px)pt
16px1rem100%1.333pt
8px0.5rem50%0.667pt
24px1.5rem150%2pt
32px2rem200%2.667pt
48px3rem300%4pt
CSS Comment
/* CSS Units Conversion * Source: 24.000px * * 24.000px * = 1.5000rem * = 1.6667vw * = 18.000pt * * Settings: root 16px | vw 1440px | vh 900px | parent 1000px */

How to use

01

Enter a value

Type any CSS value in the input field and pick the source unit from the dropdown.

02

Configure settings

Set root font size, viewport width and height, and parent element size to match your project context.

03

Read all units

The conversion table updates every unit instantly — all 9 units shown side by side.

04

Click any row

Click a value in the table to make that unit the new source and recalculate everything from it.

More CSS utility tools

From our directory of 30+ CSS tools.

Browse all →

Know a great CSS tool?

Submit it to the directory and help developers discover it.

Submit a tool →