KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Typography unit converter

Convert CSS lengths using your font context.

Pixels

—px
Points
— pt
Picas
— pc
em
— em
rem
— rem

Your result is calculated in your browser.

Formula

96 px = 72 pt = 6 pc; em = px/font; rem = px/root.

How to use

  1. Enter a value and its CSS unit.
  2. Set the em reference and root font sizes in px.
  3. Read the equivalent values.

Examples

  • 16 px = 12 pt = 1 pc; with 16 px fonts, 1 em = 1 rem.

Frequently asked questions

How many pixels is 12 pt?

12 pt equals 16 CSS px.

Which font sizes should I enter?

For em use the element font size, or the parent font size when setting font-size. For rem use the root size.

Are CSS pixels screen pixels?

Not necessarily. Device scale and zoom affect display. This excludes historical point systems.

Sources

Updated:

Related tools

Search conversion tools