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.
No converters match your search.
Absolute to Relative
PX to REM
16px = 1rem. Free online Pixel to Root em CSS unit converter.
Launch tool → PXPX to EM
16px = 1em. Free online Pixel to Em CSS unit converter.
Launch tool → REMREM to PX
1rem = 16px. Free online Root em to Pixel CSS unit converter.
Launch tool → REMREM to EM
1rem = 1em. Free online Root em to Em CSS unit converter.
Launch tool → REMREM to PT
1rem = 12pt. Free online Root em to Point CSS unit converter.
Launch tool → REMREM to PC
1rem = 1pc. Free online Root em to Pica CSS unit converter.
Launch tool → REMREM to IN
1rem = 0.166667in. Free online Root em to Inch CSS unit converter.
Launch tool → REMREM to CM
1rem = 0.423333cm. Free online Root em to Centimeter CSS unit converter.
Launch tool → REMREM to MM
1rem = 4.2333mm. Free online Root em to Millimeter CSS unit converter.
Launch tool → EMEM to PX
1em = 16px. Free online Em to Pixel CSS unit converter.
Launch tool → EMEM to REM
1em = 1rem. Free online Em to Root em CSS unit converter.
Launch tool → EMEM to PT
1em = 12pt. Free online Em to Point CSS unit converter.
Launch tool → EMEM to PC
1em = 1pc. Free online Em to Pica CSS unit converter.
Launch tool → EMEM to IN
1em = 0.166667in. Free online Em to Inch CSS unit converter.
Launch tool → EMEM to CM
1em = 0.423333cm. Free online Em to Centimeter CSS unit converter.
Launch tool → EMEM to MM
1em = 4.2333mm. Free online Em to Millimeter CSS unit converter.
Launch tool → PTPT to REM
12pt = 1rem. Free online Point to Root em CSS unit converter.
Launch tool → PTPT to EM
12pt = 1em. Free online Point to Em CSS unit converter.
Launch tool → PCPC to REM
1pc = 1rem. Free online Pica to Root em CSS unit converter.
Launch tool → PCPC to EM
1pc = 1em. Free online Pica to Em CSS unit converter.
Launch tool → ININ to REM
1in = 6rem. Free online Inch to Root em CSS unit converter.
Launch tool → ININ to EM
1in = 6em. Free online Inch to Em CSS unit converter.
Launch tool → CMCM to REM
1cm = 2.3622rem. Free online Centimeter to Root em CSS unit converter.
Launch tool → CMCM to EM
1cm = 2.3622em. Free online Centimeter to Em CSS unit converter.
Launch tool → MMMM to REM
10mm = 2.3622rem. Free online Millimeter to Root em CSS unit converter.
Launch tool → MMMM to EM
10mm = 2.3622em. Free online Millimeter to Em CSS unit converter.
Launch tool →Viewport Units
PX to VW
16px = 0.833333vw. Free online Pixel to Viewport width CSS unit converter.
Launch tool → PXPX to VH
16px = 1.4815vh. Free online Pixel to Viewport height CSS unit converter.
Launch tool → REMREM to VW
1rem = 0.833333vw. Free online Root em to Viewport width CSS unit converter.
Launch tool → REMREM to VH
1rem = 1.4815vh. Free online Root em to Viewport height CSS unit converter.
Launch tool → EMEM to VW
1em = 0.833333vw. Free online Em to Viewport width CSS unit converter.
Launch tool → EMEM to VH
1em = 1.4815vh. Free online Em to Viewport height CSS unit converter.
Launch tool → PTPT to VW
12pt = 0.833333vw. Free online Point to Viewport width CSS unit converter.
Launch tool → PTPT to VH
12pt = 1.4815vh. Free online Point to Viewport height CSS unit converter.
Launch tool → PCPC to VW
1pc = 0.833333vw. Free online Pica to Viewport width CSS unit converter.
Launch tool → PCPC to VH
1pc = 1.4815vh. Free online Pica to Viewport height CSS unit converter.
Launch tool → ININ to VW
1in = 5vw. Free online Inch to Viewport width CSS unit converter.
Launch tool → ININ to VH
1in = 8.8889vh. Free online Inch to Viewport height CSS unit converter.
Launch tool → CMCM to VW
1cm = 1.9685vw. Free online Centimeter to Viewport width CSS unit converter.
Launch tool → CMCM to VH
1cm = 3.4996vh. Free online Centimeter to Viewport height CSS unit converter.
Launch tool → MMMM to VW
10mm = 1.9685vw. Free online Millimeter to Viewport width CSS unit converter.
Launch tool → MMMM to VH
10mm = 3.4996vh. Free online Millimeter to Viewport height CSS unit converter.
Launch tool → VWVW to PX
10vw = 192px. Free online Viewport width to Pixel CSS unit converter.
Launch tool → VWVW to REM
10vw = 12rem. Free online Viewport width to Root em CSS unit converter.
Launch tool → VWVW to EM
10vw = 12em. Free online Viewport width to Em CSS unit converter.
Launch tool → VWVW to PT
10vw = 144pt. Free online Viewport width to Point CSS unit converter.
Launch tool → VWVW to PC
10vw = 12pc. Free online Viewport width to Pica CSS unit converter.
Launch tool → VWVW to IN
10vw = 2in. Free online Viewport width to Inch CSS unit converter.
Launch tool → VWVW to CM
10vw = 5.08cm. Free online Viewport width to Centimeter CSS unit converter.
Launch tool → VWVW to MM
10vw = 50.8mm. Free online Viewport width to Millimeter CSS unit converter.
Launch tool → VWVW to VH
10vw = 17.7778vh. Free online Viewport width to Viewport height CSS unit converter.
Launch tool → VHVH to PX
10vh = 108px. Free online Viewport height to Pixel CSS unit converter.
Launch tool → VHVH to REM
10vh = 6.75rem. Free online Viewport height to Root em CSS unit converter.
Launch tool → VHVH to EM
10vh = 6.75em. Free online Viewport height to Em CSS unit converter.
Launch tool → VHVH to PT
10vh = 81pt. Free online Viewport height to Point CSS unit converter.
Launch tool → VHVH to PC
10vh = 6.75pc. Free online Viewport height to Pica CSS unit converter.
Launch tool → VHVH to IN
10vh = 1.125in. Free online Viewport height to Inch CSS unit converter.
Launch tool → VHVH to CM
10vh = 2.8575cm. Free online Viewport height to Centimeter CSS unit converter.
Launch tool → VHVH to MM
10vh = 28.575mm. Free online Viewport height to Millimeter CSS unit converter.
Launch tool → VHVH to VW
10vh = 5.625vw. Free online Viewport height to Viewport width CSS unit converter.
Launch tool →Print & Physical Units
PX to PT
16px = 12pt. Free online Pixel to Point CSS unit converter.
Launch tool → PXPX to PC
16px = 1pc. Free online Pixel to Pica CSS unit converter.
Launch tool → PXPX to IN
16px = 0.166667in. Free online Pixel to Inch CSS unit converter.
Launch tool → PXPX to CM
16px = 0.423333cm. Free online Pixel to Centimeter CSS unit converter.
Launch tool → PXPX to MM
16px = 4.2333mm. Free online Pixel to Millimeter CSS unit converter.
Launch tool → PTPT to PX
12pt = 16px. Free online Point to Pixel CSS unit converter.
Launch tool → PTPT to PC
12pt = 1pc. Free online Point to Pica CSS unit converter.
Launch tool → PTPT to IN
12pt = 0.166667in. Free online Point to Inch CSS unit converter.
Launch tool → PTPT to CM
12pt = 0.423333cm. Free online Point to Centimeter CSS unit converter.
Launch tool → PTPT to MM
12pt = 4.2333mm. Free online Point to Millimeter CSS unit converter.
Launch tool → PCPC to PX
1pc = 16px. Free online Pica to Pixel CSS unit converter.
Launch tool → PCPC to PT
1pc = 12pt. Free online Pica to Point CSS unit converter.
Launch tool → PCPC to IN
1pc = 0.166667in. Free online Pica to Inch CSS unit converter.
Launch tool → PCPC to CM
1pc = 0.423333cm. Free online Pica to Centimeter CSS unit converter.
Launch tool → PCPC to MM
1pc = 4.2333mm. Free online Pica to Millimeter CSS unit converter.
Launch tool → ININ to PX
1in = 96px. Free online Inch to Pixel CSS unit converter.
Launch tool → ININ to PT
1in = 72pt. Free online Inch to Point CSS unit converter.
Launch tool → ININ to PC
1in = 6pc. Free online Inch to Pica CSS unit converter.
Launch tool → ININ to CM
1in = 2.54cm. Free online Inch to Centimeter CSS unit converter.
Launch tool → ININ to MM
1in = 25.4mm. Free online Inch to Millimeter CSS unit converter.
Launch tool → CMCM to PX
1cm = 37.7953px. Free online Centimeter to Pixel CSS unit converter.
Launch tool → CMCM to PT
1cm = 28.3465pt. Free online Centimeter to Point CSS unit converter.
Launch tool → CMCM to PC
1cm = 2.3622pc. Free online Centimeter to Pica CSS unit converter.
Launch tool → CMCM to IN
1cm = 0.393701in. Free online Centimeter to Inch CSS unit converter.
Launch tool → CMCM to MM
1cm = 10mm. Free online Centimeter to Millimeter CSS unit converter.
Launch tool → MMMM to PX
10mm = 37.7953px. Free online Millimeter to Pixel CSS unit converter.
Launch tool → MMMM to PT
10mm = 28.3465pt. Free online Millimeter to Point CSS unit converter.
Launch tool → MMMM to PC
10mm = 2.3622pc. Free online Millimeter to Pica CSS unit converter.
Launch tool → MMMM to IN
10mm = 0.393701in. Free online Millimeter to Inch CSS unit converter.
Launch tool → MMMM 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.
| 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
| Unit | 1 unit in px |
|---|---|
1rem / 1em | 16px |
1pt | 1.333px |
1pc | 16px |
1in | 96px |
1cm | 37.795px |
1mm | 3.7795px |