TaskEaser
Back to Designers

Designers

px ↔ rem Converter

Convert pixels to rem and back at any root font size

Runs locally in your browser

Parameters

Results

rem
1 rem
Pixels
16 px

How it works

Converts CSS pixel values to rem (and back) using your root font size.

Who it's for: Frontend developers maintaining fluid, accessible type and spacing.

rem = px ÷ root; px = rem × root.

Default root is 16px (browser default).

How to use

  1. Enter Value, choose From direction, and set Root font size.
  2. Copy the rem or px result into your stylesheet.

Related tools

More calculators in the same category