LOADING
PLEASE WAIT...
LOADING
PLEASE WAIT...
Convert pixels to rem and rem to pixels with any root font size (default 16px). Includes a quick reference table for common sizes.
Enter your root font size (16px by default), then convert either direction: px to rem or rem to px, with a quick table of the most common font sizes.
Everything runs entirely in your browser. Nothing you type is ever sent to any server or stored.
A CSS unit relative to the root element's font size (html). 1rem = root size, so with a 16px root, 1rem = 16px.
Rem scales with the user's browser settings, improving accessibility — and it makes responsive design easier.
rem = px / base. With a 16px base, 24px = 1.5rem.
16px, the browser default — but many design systems use 14px or 10px (which makes 1rem = 10px, easy math).
Yes — the same px value produces different rem values depending on your root font size, so always check your project's base.
Yes, completely free with no account.