Unit Converter
PX to PT Converter
Convert CSS pixel lengths to CSS points with the fixed relationship of 96 px to 72 pt.
PX to PT Converter examples
| Input | Expected result |
|---|---|
| 16 CSS px | 12 pt |
| 24 CSS px | 18 pt |
| 96 CSS px | 72 pt |
| 0.5 CSS px | 0.375 pt |
Supported units & limits
Accepts decimal or scientific-notation CSS lengths, zero and signed values. Negative lengths are usable only where the chosen CSS property permits them. Enter numbers without unit suffixes. This calculator uses CSS absolute units. It does not convert image pixels using PPI, model printer rasterization or guarantee a physical screen measurement. Numeric overflow and underflow are rejected.
Common mistakes
Do not enter device DPI to change the CSS px-to-pt ratio. CSS pixels differ from hardware pixels. A 12 pt CSS font-size equals 16 CSS px, but the visible height of glyphs depends on the font and is not guaranteed to be 16 px. Physical image sizing needs a separate resolution assumption.
Privacy
Conversions run in your browser. This site does not upload or store the values you enter. We use Google Analytics, loaded through Google Tag Manager, to count page visits and see which tools are used; Google may set cookies for this. The hosting server may keep standard access logs when you load a page.
Conversion guide
Compare CSS declarations in pixels and points
If a stylesheet specifies font-size: 16px, its equivalent CSS length is 12pt. Use the fixed ratio when comparing a print stylesheet with a screen stylesheet. Keep font family, line-height and print scale separate from this unit conversion. Do not apply the same ratio directly to a photograph’s pixel dimensions. Print stylesheets often use points, so the PX to PT Converter helps translate screen sizes for print CSS.
PX to PT Converter FAQ
Why does 16 px equal 12 pt?
CSS fixes the ratio at 72 points per 96 pixels. Multiplying 16 by 0.75 gives 12.
Do I need my monitor DPI?
No for CSS lengths. Image or device pixels are a different problem; their physical dimensions require pixel-density information.
Does this measure printed text height?
No. It converts the declared CSS length. Font metrics, print scale and rendering still affect the printed appearance.