⭐ 0

Convert 32px to REM

Convert px to rem, rem to px and px to em at any base font size, with a copy-ready CSS line and a live reference table.

Processed entirely in your browser — nothing you enter here is ever uploaded.

Processing... 0%

Result

About this tool

This page opens the converter with 32 already entered: at the browser-default base of 16px, 32px equals exactly 2rem — a doubling of the root size. The copy-ready line font-size: 2rem; appears immediately, and the base field is right there if your project differs.

Thirty-two pixels is a common heading size, a standard icon and avatar dimension, and the 4× step of an 8-point spacing grid. Sizes that resolve to whole rem numbers like 2rem are the easiest to reason about, which is why 16, 32, 48 and 64 px are the backbone of many typographic scales.

The reference table below shows that backbone at a glance — every common size from 1 to 64 px converted at your current base, with the base row highlighted. The math runs live in your browser as you type and nothing leaves the page.

Example. 32 px with a base of 16 in px-to-rem mode returns 2 rem and a CSS line font-size: 2rem.

Limit. A base font size of 0 or blank is rejected, and the reference table only lists the 14 sizes from 1 px through 64 px.