CSS Unit Converter

A precision-engineered suite of tools for front-end developers to translate between absolute, relative, and viewport CSS units — with mathematically accurate results, run entirely in your browser.

Absolute to Relative

PX

PX to REM

16px = 1rem. Free online Pixel to Root em CSS unit converter.

Launch tool →
PX

PX to EM

16px = 1em. Free online Pixel to Em CSS unit converter.

Launch tool →
REM

REM to PX

1rem = 16px. Free online Root em to Pixel CSS unit converter.

Launch tool →
REM

REM to EM

1rem = 1em. Free online Root em to Em CSS unit converter.

Launch tool →
REM

REM to PT

1rem = 12pt. Free online Root em to Point CSS unit converter.

Launch tool →
REM

REM to PC

1rem = 1pc. Free online Root em to Pica CSS unit converter.

Launch tool →
REM

REM to IN

1rem = 0.166667in. Free online Root em to Inch CSS unit converter.

Launch tool →
REM

REM to CM

1rem = 0.423333cm. Free online Root em to Centimeter CSS unit converter.

Launch tool →
REM

REM to MM

1rem = 4.2333mm. Free online Root em to Millimeter CSS unit converter.

Launch tool →
EM

EM to PX

1em = 16px. Free online Em to Pixel CSS unit converter.

Launch tool →
EM

EM to REM

1em = 1rem. Free online Em to Root em CSS unit converter.

Launch tool →
EM

EM to PT

1em = 12pt. Free online Em to Point CSS unit converter.

Launch tool →
EM

EM to PC

1em = 1pc. Free online Em to Pica CSS unit converter.

Launch tool →
EM

EM to IN

1em = 0.166667in. Free online Em to Inch CSS unit converter.

Launch tool →
EM

EM to CM

1em = 0.423333cm. Free online Em to Centimeter CSS unit converter.

Launch tool →
EM

EM to MM

1em = 4.2333mm. Free online Em to Millimeter CSS unit converter.

Launch tool →
PT

PT to REM

12pt = 1rem. Free online Point to Root em CSS unit converter.

Launch tool →
PT

PT to EM

12pt = 1em. Free online Point to Em CSS unit converter.

Launch tool →
PC

PC to REM

1pc = 1rem. Free online Pica to Root em CSS unit converter.

Launch tool →
PC

PC to EM

1pc = 1em. Free online Pica to Em CSS unit converter.

Launch tool →
IN

IN to REM

1in = 6rem. Free online Inch to Root em CSS unit converter.

Launch tool →
IN

IN to EM

1in = 6em. Free online Inch to Em CSS unit converter.

Launch tool →
CM

CM to REM

1cm = 2.3622rem. Free online Centimeter to Root em CSS unit converter.

Launch tool →
CM

CM to EM

1cm = 2.3622em. Free online Centimeter to Em CSS unit converter.

Launch tool →
MM

MM to REM

10mm = 2.3622rem. Free online Millimeter to Root em CSS unit converter.

Launch tool →
MM

MM to EM

10mm = 2.3622em. Free online Millimeter to Em CSS unit converter.

Launch tool →

Viewport Units

PX

PX to VW

16px = 0.833333vw. Free online Pixel to Viewport width CSS unit converter.

Launch tool →
PX

PX to VH

16px = 1.4815vh. Free online Pixel to Viewport height CSS unit converter.

Launch tool →
REM

REM to VW

1rem = 0.833333vw. Free online Root em to Viewport width CSS unit converter.

Launch tool →
REM

REM to VH

1rem = 1.4815vh. Free online Root em to Viewport height CSS unit converter.

Launch tool →
EM

EM to VW

1em = 0.833333vw. Free online Em to Viewport width CSS unit converter.

Launch tool →
EM

EM to VH

1em = 1.4815vh. Free online Em to Viewport height CSS unit converter.

Launch tool →
PT

PT to VW

12pt = 0.833333vw. Free online Point to Viewport width CSS unit converter.

Launch tool →
PT

PT to VH

12pt = 1.4815vh. Free online Point to Viewport height CSS unit converter.

Launch tool →
PC

PC to VW

1pc = 0.833333vw. Free online Pica to Viewport width CSS unit converter.

Launch tool →
PC

PC to VH

1pc = 1.4815vh. Free online Pica to Viewport height CSS unit converter.

Launch tool →
IN

IN to VW

1in = 5vw. Free online Inch to Viewport width CSS unit converter.

Launch tool →
IN

IN to VH

1in = 8.8889vh. Free online Inch to Viewport height CSS unit converter.

Launch tool →
CM

CM to VW

1cm = 1.9685vw. Free online Centimeter to Viewport width CSS unit converter.

Launch tool →
CM

CM to VH

1cm = 3.4996vh. Free online Centimeter to Viewport height CSS unit converter.

Launch tool →
MM

MM to VW

10mm = 1.9685vw. Free online Millimeter to Viewport width CSS unit converter.

Launch tool →
MM

MM to VH

10mm = 3.4996vh. Free online Millimeter to Viewport height CSS unit converter.

Launch tool →
VW

VW to PX

10vw = 192px. Free online Viewport width to Pixel CSS unit converter.

Launch tool →
VW

VW to REM

10vw = 12rem. Free online Viewport width to Root em CSS unit converter.

Launch tool →
VW

VW to EM

10vw = 12em. Free online Viewport width to Em CSS unit converter.

Launch tool →
VW

VW to PT

10vw = 144pt. Free online Viewport width to Point CSS unit converter.

Launch tool →
VW

VW to PC

10vw = 12pc. Free online Viewport width to Pica CSS unit converter.

Launch tool →
VW

VW to IN

10vw = 2in. Free online Viewport width to Inch CSS unit converter.

Launch tool →
VW

VW to CM

10vw = 5.08cm. Free online Viewport width to Centimeter CSS unit converter.

Launch tool →
VW

VW to MM

10vw = 50.8mm. Free online Viewport width to Millimeter CSS unit converter.

Launch tool →
VW

VW to VH

10vw = 17.7778vh. Free online Viewport width to Viewport height CSS unit converter.

Launch tool →
VH

VH to PX

10vh = 108px. Free online Viewport height to Pixel CSS unit converter.

Launch tool →
VH

VH to REM

10vh = 6.75rem. Free online Viewport height to Root em CSS unit converter.

Launch tool →
VH

VH to EM

10vh = 6.75em. Free online Viewport height to Em CSS unit converter.

Launch tool →
VH

VH to PT

10vh = 81pt. Free online Viewport height to Point CSS unit converter.

Launch tool →
VH

VH to PC

10vh = 6.75pc. Free online Viewport height to Pica CSS unit converter.

Launch tool →
VH

VH to IN

10vh = 1.125in. Free online Viewport height to Inch CSS unit converter.

Launch tool →
VH

VH to CM

10vh = 2.8575cm. Free online Viewport height to Centimeter CSS unit converter.

Launch tool →
VH

VH to MM

10vh = 28.575mm. Free online Viewport height to Millimeter CSS unit converter.

Launch tool →
VH

VH to VW

10vh = 5.625vw. Free online Viewport height to Viewport width CSS unit converter.

Launch tool →

Print & Physical Units

PX

PX to PT

16px = 12pt. Free online Pixel to Point CSS unit converter.

Launch tool →
PX

PX to PC

16px = 1pc. Free online Pixel to Pica CSS unit converter.

Launch tool →
PX

PX to IN

16px = 0.166667in. Free online Pixel to Inch CSS unit converter.

Launch tool →
PX

PX to CM

16px = 0.423333cm. Free online Pixel to Centimeter CSS unit converter.

Launch tool →
PX

PX to MM

16px = 4.2333mm. Free online Pixel to Millimeter CSS unit converter.

Launch tool →
PT

PT to PX

12pt = 16px. Free online Point to Pixel CSS unit converter.

Launch tool →
PT

PT to PC

12pt = 1pc. Free online Point to Pica CSS unit converter.

Launch tool →
PT

PT to IN

12pt = 0.166667in. Free online Point to Inch CSS unit converter.

Launch tool →
PT

PT to CM

12pt = 0.423333cm. Free online Point to Centimeter CSS unit converter.

Launch tool →
PT

PT to MM

12pt = 4.2333mm. Free online Point to Millimeter CSS unit converter.

Launch tool →
PC

PC to PX

1pc = 16px. Free online Pica to Pixel CSS unit converter.

Launch tool →
PC

PC to PT

1pc = 12pt. Free online Pica to Point CSS unit converter.

Launch tool →
PC

PC to IN

1pc = 0.166667in. Free online Pica to Inch CSS unit converter.

Launch tool →
PC

PC to CM

1pc = 0.423333cm. Free online Pica to Centimeter CSS unit converter.

Launch tool →
PC

PC to MM

1pc = 4.2333mm. Free online Pica to Millimeter CSS unit converter.

Launch tool →
IN

IN to PX

1in = 96px. Free online Inch to Pixel CSS unit converter.

Launch tool →
IN

IN to PT

1in = 72pt. Free online Inch to Point CSS unit converter.

Launch tool →
IN

IN to PC

1in = 6pc. Free online Inch to Pica CSS unit converter.

Launch tool →
IN

IN to CM

1in = 2.54cm. Free online Inch to Centimeter CSS unit converter.

Launch tool →
IN

IN to MM

1in = 25.4mm. Free online Inch to Millimeter CSS unit converter.

Launch tool →
CM

CM to PX

1cm = 37.7953px. Free online Centimeter to Pixel CSS unit converter.

Launch tool →
CM

CM to PT

1cm = 28.3465pt. Free online Centimeter to Point CSS unit converter.

Launch tool →
CM

CM to PC

1cm = 2.3622pc. Free online Centimeter to Pica CSS unit converter.

Launch tool →
CM

CM to IN

1cm = 0.393701in. Free online Centimeter to Inch CSS unit converter.

Launch tool →
CM

CM to MM

1cm = 10mm. Free online Centimeter to Millimeter CSS unit converter.

Launch tool →
MM

MM to PX

10mm = 37.7953px. Free online Millimeter to Pixel CSS unit converter.

Launch tool →
MM

MM to PT

10mm = 28.3465pt. Free online Millimeter to Point CSS unit converter.

Launch tool →
MM

MM to PC

10mm = 2.3622pc. Free online Millimeter to Pica CSS unit converter.

Launch tool →
MM

MM to IN

10mm = 0.393701in. Free online Millimeter to Inch CSS unit converter.

Launch tool →
MM

MM to CM

10mm = 1cm. Free online Millimeter to Centimeter CSS unit converter.

Launch tool →

Or convert any combination

Convert between px, rem, em, pt, pc, in, cm, mm, vw, and vh — with an editable root font-size and viewport for accurate rem/em/vw/vh math.

Context (root font-size & viewport)

rem/em scale with root font-size; vw/vh scale with viewport size. Adjust these to match your real layout.

All units
Unit Value

How it works

Every unit is converted through CSS reference pixels, anchored by the spec's fixed 1in = 96px. rem and em depend on a root font-size (16px by default, the browser default); vw/vh depend on the viewport's width/height. Open Context above to change either — the whole table recalculates live.

Reference: px equivalents at the default 16px base

Unit1 unit in px
1rem / 1em16px
1pt1.333px
1pc16px
1in96px
1cm37.795px
1mm3.7795px