TXT · Text & Data tools

REM to PX Converter

Root Em (rem) Input
Pixels (px) Output
Root Em (rem)InputPixels (px)Output6Items
Go to full CSS Unit Converter

Convert rem to px

Enter rem values one per line or paste CSS containing rem lengths. The output multiplies each matching value by 16 and adds the px unit.

1.5rem becomes 24px, and 2rem becomes 32px.

Root-relative values

CSS resolves rem against the root element’s computed font size. The focused page uses a 16px root, so the result is a direct multiplication by 16.

Use the full CSS Unit Converter when the stylesheet sets a different root font size.

Decimal input

Decimal and negative rem values are accepted. Results are rounded to at most 4 decimal places when the conversion does not produce a shorter exact number.

Frequently Asked Questions

Multiply the rem value by the root font size. With a 16px root, 1.5rem multiplied by 16 equals 24px.

The focused converter uses a 16px root size. Open the full CSS Unit Converter to set another base value.

Yes. Matching rem values are replaced inline without changing selectors, properties, or other units.

Focused CSS unit converters

Full CSS Unit Converter tool

Explore Our Tools

Browse all tools