Convert px to pt
At the browser default root font size of 16 px, 1px = 0.75pt. Change the base below if your project uses a different root size.
Formula
pt = px × 0.75
px = pt × 1.3333
Both units are absolute in CSS, so this ratio never changes regardless of font size or user settings.
PX to PT conversion table
| px | pt |
|---|---|
| 8px | 6pt |
| 10px | 7.5pt |
| 12px | 9pt |
| 14px | 10.5pt |
| 16px | 12pt |
| 18px | 13.5pt |
| 20px | 15pt |
| 24px | 18pt |
| 28px | 21pt |
| 32px | 24pt |
| 36px | 27pt |
| 40px | 30pt |
| 48px | 36pt |
| 56px | 42pt |
| 64px | 48pt |
| 72px | 54pt |
| 80px | 60pt |
| 96px | 72pt |
| 128px | 96pt |
About px
The CSS pixel is the reference unit of the web. It is not a physical device pixel — it is an angular measure standardised at 1/96th of an inch, which the browser scales for device pixel ratio and zoom.
About pt
A point is 1/72nd of an inch, inherited from print typography. CSS defines it as exactly 4/3 of a pixel, so 12 pt equals 16 px.
Which unit should you use?
| Property | Recommended unit | Why |
|---|---|---|
| Font size | rem | Scales with the user's browser font-size preference, which px ignores — an accessibility requirement. |
| Padding and margin | rem or em | rem for a consistent global rhythm; em when the spacing should track the component's own text size. |
| Borders and hairlines | px | You almost always want exactly one crisp pixel, not a value that scales. |
| Media query breakpoints | em | Historically the most reliable across browsers when the user zooms. |
| Print stylesheets | pt, cm, mm | These map to real physical measurements on paper. |
Frequently asked questions
What is 16px in pt?
16px equals 12pt at a 16 px root font size.
How do I convert px to pt?
Multiply the px value by 0.75. Going the other way, multiply the pt value by 1.3333.
Does browser zoom change the result?
No. Both units are absolute in CSS and keep the same ratio at any zoom level, though the rendered size on screen changes.
Why does CSS use 96 pixels per inch?
It is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.