Skip to main content
SwiftTools

Em to Px Converter

Free em to px converter. Convert between em, px and rem for any base font size used in web design.

Pixels (px)
24
Em (em)
1.5
Rem (rem)
1.5

Processed locally in your browser. Nothing you type is uploaded to a server.

About Em to Px Converter

Convert em, rem and px for any base font size so your CSS sizes line up across breakpoints. Calculated in your browser.

How to use it

  1. 1Enter the base font size.
  2. 2Enter the value.
  3. 3Choose em, px or rem.

Examples

Default 16px base

Input
1.5 em
Result
24 px · 1.5 rem

Frequently asked questions

Why does em sometimes behave differently than rem?

em is relative to the parent element's font size and compounds when nested, while rem is always relative to the root. Use rem for predictable layout.