Skip to content
Utility Calculators

EM to PX Calculator

Verified formula Updated Jun 2026 Private — runs on your device

Enter details
px
Verified formula Private

Value in pixels

24.00

For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.

How to use the EM to PX Calculator

The EM to PX Calculator works out your value in pixels in an instant. Enter value in em and base font size and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.

  1. Enter the value in em.
  2. Enter the base font size.
  3. Read off your value in pixels — the calculator updates automatically, with no button to press.

Formula

The EM to PX Calculator uses the formula:

Value in pixels = Value in em × Base font size

Worked example

For example, with value in em of 1.5 and base font size of 16 px, the value in pixels is 24.00.

Inputs used
Value in em 1.5
Base font size 16 px
Results
Value in pixels 24.00

Results are estimates for educational use, not professional advice.

Frequently asked questions

Multiply the em value by the base font size. At a 16 px base, 1.5 em is 24 px.

Use the font size of the element or its parent. The browser default root is 16 px.

Divide pixels by the base font size. 24 px at a 16 px base is 1.5 em.

Em keeps spacing proportional to text, helping layouts scale cleanly when font sizes change.

The EM to PX Calculator uses the formula: Value in pixels = Value in em × Base font size. For example, with value in em of 1.5 and base font size of 16 px, the value in pixels is 24.00.

Enter the value in em. Enter the base font size. Read off your value in pixels — the calculator updates automatically, with no button to press.

Related calculators