Startseite
Tom Utilities

PX-zu-REM-Konverter

Entwickler-Werkzeuge

Rechnen Sie zwischen Pixeln, rem und em mit beliebiger Basis-Schriftgröße um.

Verwendung

Convert CSS units

Enter a value, choose its unit and set the root font size. The tool shows the equivalent value in pixels, rem and em.

  1. Enter a number.
  2. Choose px, rem or em as the input unit.
  3. Set the root font size and copy the result.

Root font size

Browsers default to 16px, but users and CSS can change it. Set the root size to match the project you are working on.

Häufige Fragen

Are rem and em the same here?

For the root element they are identical. The converter treats em as relative to the configured root size for simplicity.

Why use rem?

Rem units scale with the user's root font size, which improves accessibility compared with fixed pixels.