Points to Pixels Converter
Convert between typographic points (pt) and screen pixels (px). By default we use 96 DPI, so 1 pt = 1.3333 px. Change the DPI to match your device or print profile.
12 pt @ 96 DPI → 16 px
Common pt → px (at 96 DPI)
| Points (pt) | Pixels (px) | Usage |
|---|---|---|
| 8 pt | 10.67 px | Small labels |
| 10 pt | 13.33 px | Body text (tight) |
| 12 pt | 16 px | Common web body |
| 14 pt | 18.67 px | Subheadings |
| 16 pt | 21.33 px | Headings |
Formulas
px from pt
\( \text{px} = \text{pt} \times \frac{\text{DPI}}{72} \)
pt from px
\( \text{pt} = \text{px} \times \frac{72}{\text{DPI}} \)
At DPI = 96: pt → px = pt × 1.3333…
Why DPI matters
Points come from print (1 pt = 1/72 inch). Pixels depend on the screen density. That’s why we need the DPI value to bridge between them. Web browsers assume 96 DPI, so that’s a sensible default.
Example
You have 24 pt and want px at 120 DPI:
\( 24 \times 120 / 72 = 40 \text{ px} \)
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
px from pt \( \text{px} = \text{pt} \times \frac{\text{DPI}}{72} \) pt from px \( \text{pt} = \text{px} \times \frac{72}{\text{DPI}} \) At DPI = 96: pt → px = pt × 1.3333…
Variables and units
- No variables provided in audit spec.
Sources (authoritative):
- NIST — Weights and measures — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/weights-and-measures - NIST — SI units — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/owm/metric-si/si-units
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
- Initial audit spec draft generated from HTML extraction (review required).
- Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
- Confirm sources are authoritative and relevant to the calculator methodology.