Skip to content
Dozo Tools

px = rem × root

rem to px converter

Rem, px, and em

Edit any field. Rem uses the root font size. Em uses the parent font size.

Base sizes

Used for rem. Browsers start at 16.

Used for em. Matches rem while this equals the root.

Start typing a value in any field above.

Copies the pixels field.

Common sizes

Start typing a value.

1rem at 16px is 16px. 1.5rem is 24px. 0.875rem is 14px.

A 10px root makes 2rem equal 20px, not 32px. Set the root before copying a declaration.

Common rem lengths in px at a 16px root
rempx (root 16px)
0.58
0.7512
0.87514
116
1.12518
1.2520
1.524
232

Also see px to rem, em to px, and px to em. The other unit groups are on Units.

Questions

How do you convert rem to px?

Multiply rem by the root font size. px = rem × root. 1.5rem at 16px is 24px.

What is 1rem in pixels?

Whatever the root is. At the browser default, 1rem is 16px. If you typed 10, 1rem is 10px.

Why did 2rem become 20px at root 10?

Each rem is 10px, not 16. 2rem is 20px, not 32px.

When does rem match em?

Only when the parent font size equals the root.