SnappTools logoSnappTools

CSS Units Converter

Convert between px, rem, em, vh, vw, %, pt, cm, mm, and in with configurable settings.

16 px = 1 rem

Conversion Settings

Quick Reference (px to rem, base=16)

pxrempt
8px0.5rem6pt
10px0.625rem7.5pt
12px0.75rem9pt
14px0.875rem10.5pt
16px1rem12pt
18px1.125rem13.5pt
20px1.25rem15pt
24px1.5rem18pt
28px1.75rem21pt
32px2rem24pt
36px2.25rem27pt
40px2.5rem30pt
48px3rem36pt
64px4rem48pt
72px4.5rem54pt
96px6rem72pt

About CSS Units Converter

CSS Units Converter converts between all CSS length units: px, rem, em, vh, vw, %, pt, cm, mm, and in. Enter a value in any unit and see the equivalent in all others instantly. Configure the viewport size and base font size to get accurate relative unit conversions for your specific layout.

Relative units like rem and em are recommended for accessible designs but require knowing the base font size. Viewport units (vh, vw) depend on the viewport dimensions. This tool handles all those calculations for you.

Includes a quick reference table showing common conversion values.

Features

  • Converts between 10+ CSS length units
  • Configurable viewport size and base font size
  • Live conversion as you type
  • Quick reference table
  • Handles rem, em, vh, vw, %, px, pt, cm, mm

Common Use Cases

  • Converting Figma px values to rem for accessible designs
  • Converting pt to px for print-to-screen adaptation
  • Understanding viewport unit values at specific screen sizes
  • Matching legacy pixel designs to modern relative units