# Convert REM to PX

> Convert rem to pixels online. Free REM to PX converter with a worked example at a 16px root font size, plus a live calculator.

Sometimes you need the concrete pixel value behind a rem — to match a design spec, debug a layout, or document a component. This converter multiplies rem values by the root font size (16px by default) to give you the exact pixel equivalent.

## Example: REM → PX

Input:
```
0.5rem
1rem
1.5rem
2rem
3rem
```

Output:
```
8px
16px
24px
32px
48px
```

## How to convert REM to PX

1. Take the rem value you want to convert.
2. Multiply it by the root font size (16px in a default browser).
3. The result is your value in pixels — e.g. 1.5rem × 16 = 24px.

## FAQ

### How many pixels is 1rem?

At the browser default root font size of 16px, 1rem equals 16px. 2rem equals 32px, and 0.5rem equals 8px.

### Does rem to px change if the root font size changes?

Yes. Rem is relative to the :root (html) font size. If you set html { font-size: 20px } then 1rem becomes 20px. Adjust the base in the calculator to match.

## Related converters

- [PX → REM](https://www.devkult.com/convert/px-to-rem.md)
- [EM → PX](https://www.devkult.com/convert/em-to-px.md)
- [EM → REM](https://www.devkult.com/convert/em-to-rem.md)

Open the interactive converter: https://www.devkult.com/convert/rem-to-px