Convert between px, rem, and pt based on a root font size.
Assumes 96 pixels per inch (common web standard for pt conversion).
Enter value and source unit. Pick target unit, set base size if needed. Conversion instant.
Modern CSS has many units; converting between px and rem constantly. Tool handles math.
Rem: root size (predictable); em: parent size.
Rem respects browser font settings, improving accessibility.
Default 16px, customizable.
1vw=1% viewport width; used for responsive.
Convert between CSS units — px, em, rem, vw, vh, pt, and more — with the Toolzie CSS Unit Converter. Set your base font size and viewport dimensions for accurate em and rem conversions relevant to your project.
em is relative to the parent element's font size. rem is relative to the root (html) element's font size — typically 16px by default.
Most browsers default to 16px. If your CSS sets html { font-size: 62.5%; }, your rem base is 10px.
vw (viewport width) and vh (viewport height) are great for responsive typography and full-screen layouts.
Yes — 1pt = 1.333px at 96dpi, which is the standard screen resolution.