The free pixel converter for CSS units and paper sizes.
Convert pixels into CSS units such as em, rem, pt, and vh — plus absolute measurements like inch, centimeter, and millimeter, and standard A, B, C, and US paper sizes. Pick a conversion below.
EM
REM
PT
Viewport Height (VH)
INCH
CM
MM
A and B Paper Sizes
C and US Paper Sizes
One toolkit for every pixel conversion
Front-end and email developers constantly translate between units. A design comes in pixels, a design system wants rem, a print spec asks for points, and a physical layout needs centimeters. This pixel converter puts every one of those conversions in a single place, each with the exact formula, a live result, and a reference table you can scan at a glance.
The CSS unit converters — px to em, px to rem, px to pt, and px to vh (and their reverses) — let you set the base font-size or viewport so the relative math matches your actual document. The physical converters — pixels to inches, centimeters, and millimeters — use the 96 DPI CSS reference by default and let you switch to a print resolution like 300 DPI. And the paper-size converters turn ISO A, B, and C sizes plus US Letter, Legal, Tabloid, and ANSI formats into exact pixel dimensions for any DPI.
Everything runs locally in your browser — no signup, no uploads, no waiting. Bookmark the conversion you use most, or start from the list above.