Typography Converter
The pixel (px) is the base typography unit here, so every one of the 3 units below, including rem and points, converts through it. Enter a value, pick your units, and the result updates as you type, all in your browser.
How it's calculated
- 1 px ÷ 16 = 0.0625 rem
All typography units
| Unit | Symbol | 1 unit in pixels |
|---|---|---|
| Pixel | px | 1 |
| Rem | rem | 16 |
| Point | pt | 1.3333 |
Popular typography converters
The most-searched typography conversions, each with a full decimal table, the derivation of the factor and its sources.
All typography conversions
Typography converters translate between the CSS pixel, rem and point, the units designers and developers use for font sizes and spacing. The pixel is the base unit here. Rem is calculated against the common default browser root font-size of 16px, so if a project sets a different root size, scale the result accordingly. Points follow the fixed CSS reference where 1 inch equals exactly 96 pixels and 72 points.
Frequently asked questions
How many pixels are in a rem?
16 pixels, based on the default root font-size of 16px that almost every browser ships with. If a site sets a different root font-size, multiply that value by the rem count instead of 16.
Why does 16px equal 12pt?
96 pixels and 72 points both make one inch in the CSS specification, so 1 point is exactly 4/3 of a pixel (1.3333 px). Dividing the 16px browser default by 4/3 gives 12pt, the classic default body text size from print and early desktop software.
Is a CSS point the same as a print point?
72 points per inch in both, so yes: CSS points are defined to match traditional print points exactly. Pixels are the odd one out, fixed at 96 per inch by the CSS spec regardless of a screen's actual pixel density.