AI Tool Hub

PX / REM Converter

Convert between pixels and rem units.

Guide & how to use

What this tool does

Enter a value in px or rem and see the conversion based on a configurable root font size (default 16 px). Handy for responsive CSS authoring.

Example input/output

Illustrative sample — your real inputs may look different.

Example input

24 px · base 16 px

Example output

1.5 rem

How to use

  1. Set the root font size if your project differs from the 16 px default.
  2. Type a value in px to see rem, or type rem to see px.

Frequently asked questions