Tools Guides
Design Free No signup

CSS Unit Converter

Convert a CSS value between px, rem, em, %, vw, vh, pt, cm, mm, and in all at once.

Loading tool…

About this tool

Enter a value in any CSS unit and immediately see its equivalent in every other unit. Configure the base font size, viewport width, and viewport height so the conversions match your actual project. A handy reference table of common responsive breakpoints in all units is included at the bottom.

How to use

  1. 1 Step 1: Set your base font size (default 16 px), viewport width, and viewport height at the top.
  2. 2 Step 2: Enter a value in any unit field — all other fields update instantly.
  3. 3 Step 3: Read the conversion table to find the equivalent in the unit you need.
  4. 4 Step 4: Scroll down to the breakpoint reference for commonly used responsive design values.

Frequently Asked Questions

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}