Points to Pixels Converter
Convert points to CSS pixels and millimetres, the relationship that links print and screen typography.
1 Point (DTP) = 1.33333333333 px The desktop publishing point: exactly 1/72 inch. Fixed by PostScript in the 1980s.
| Point (DTP) | CSS pixel |
|---|---|
| 1 pt | 1.3333333 px |
| 2 pt | 2.6666667 px |
| 5 pt | 6.6666667 px |
| 10 pt | 13.333333 px |
| 25 pt | 33.333333 px |
| 50 pt | 66.666667 px |
| 100 pt | 133.33333 px |
| 500 pt | 666.66667 px |
| 1,000 pt | 1,333.3333 px |
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Points to Pixels Converter does
The points to pixels converter on this page will convert points to CSS pixels and millimetres, the relationship that links print and screen typography. It covers 5 units and converts in both directions, so you can start from whichever figure you already have. It is most often used for converting a print type specification to CSS. There are more free online tools on FreeToolsWorld.org.
How to use it
- Type the point (dtp) figure into the first box.
- The css pixel value appears immediately in the second box.
- Use the swap button to run the conversion the other way, or change either dropdown for a different unit.
- Press Copy result to put the converted figure on your clipboard.
How it works
There are 72 points and 96 CSS pixels to the inch, so one point is exactly 4/3 CSS pixels. That is why the browser default body size of 16 px corresponds to the 12 pt that print has used for body text for centuries — the two conventions arrived at the same physical size independently.
A CSS pixel is not a device pixel. It is defined as 1/96 inch at a normal viewing distance, and on a high-density display one CSS pixel covers two or three device pixels in each direction. Without that abstraction, text would be microscopic on a modern screen.
Point (DTP) to CSS pixel reference table
| Point (DTP) | CSS pixel |
|---|---|
| 1 pt | 1.3333333 px |
| 2 pt | 2.6666667 px |
| 5 pt | 6.6666667 px |
| 10 pt | 13.333333 px |
| 25 pt | 33.333333 px |
| 50 pt | 66.666667 px |
| 100 pt | 133.33333 px |
| 250 pt | 333.33333 px |
| 500 pt | 666.66667 px |
| 1,000 pt | 1,333.3333 px |
All supported units and their factors
| Unit | Symbol | Base units per unit | Notes |
|---|---|---|---|
| Point (DTP) | pt | 1 | approx. The desktop publishing point: exactly 1/72 inch. Fixed by PostScript in the 1980s. |
| CSS pixel | px | 0.75 | exact A CSS pixel is 1/96 inch by definition, so 96 px = 72 pt = 1 inch. Not a device pixel. |
| Millimetre | mm | 2.834645669291339 | exact |
| Inch | in | 72 | exact |
| Em at 16 px root | em | 12 | approx. One em equals the current font size. At the browser default of 16 px that is 12 pt. |
When to use it
- Converting a print type specification to CSS.
- Working out the pixel equivalent of a point size.
- Converting a design handed over in points.
- Checking a font size against the browser default.
Common mistakes to avoid
- Confusing CSS pixels with device pixels.
- Setting font sizes in px or pt in CSS, which stops them scaling with the reader's browser setting.
- Using the traditional 1/72.27 inch point, which TeX uses and desktop publishing does not.
Frequently asked questions
How many pixels is 12pt?
16 CSS pixels, which is also the browser default font size.
Is a CSS pixel a screen pixel?
No. It is 1/96 inch at a normal viewing distance, and covers several device pixels on a high-density display.
Should I use pt or rem for CSS font sizes?
Rem. Absolute units stop text scaling when a reader increases their browser font size, which is an accessibility failure.