08 Tech Group

PX to REM/EM & VW/VH Converter

Convert pixels to REM, EM, VW, VH instantly. Set base font size. For front-end and Figma-to-code.

REM0rem
EM0em
×
VW0.0000vw
VH0.0000vh

REM = px ÷ base. VW = (px ÷ viewport width) × 100. Default base is 16px.

How it works

Front-end developers often need to convert Figma pixel values to REM for responsive, accessible CSS. This tool does the math as you type.

Set your root font size (usually 16px). Enter a pixel value—REM and EM update instantly. Optionally set viewport dimensions to get VW/VH.

Lightweight, instant, no upload. Great for daily layout work.