Convert
Context
rem always uses root font size. em uses the parent
font size above — if that parent is itself sized in em relative to its own
parent, the real value compounds further up the tree than this one level.
% has no single meaning in CSS — width: 50% is
relative to the containing block's width, font-size: 150% to the parent's font size,
and others differ again. Put whichever of those applies here.
For a value that should change smoothly between two viewport widths, see the Fluid Type / clamp() Calculator — this tool converts one snapshot at a time, on purpose.
Every unit at once
The six absolute units — pt, pc, in, cm, mm, q — convert to px using CSS's own fixed 96px = 1in definition, not any real screen's actual pixel density.
Converted entirely in this browser.
The CSS Unit Converter needs JavaScript: every conversion happens live in this browser. With JavaScript switched off there is nothing to do the work.