Skip to content

px ↔ rem

Omregn mellem px og rem

rem regnes ud fra rod-skriftstørrelsen (typisk 16 px). Indtast en værdi i px og rod-størrelsen og få værdien i rem. Standard er 16 px = 1 rem.

1,5rem
Tilbage til px24 px

rem = px ÷ rod-skriftstørrelse

Standard rod-størrelse er 16 px. rem skalerer med brugerens indstilling — godt for tilgængelighed.

The result is indicative and an aid tool for estimates and learning. It does not replace design, applicable standards and legislation or a qualified professional's specific assessment. Always check against the source (CSS) and actual conditions on the task. See sources & reservations.