Conversion from 2 CSS pixels to Points

=

Invert

Formula to convert CSS pixels (px) to Points (pt)

More information

CSS pixels to Points conversion table

CSS pixels (px)Points (pt)
1 CSS pixel0.75 pt
2 CSS pixels1.5 pt
3 CSS pixels2.25 pt
4 CSS pixels3 pt
5 CSS pixels3.75 pt
10 CSS pixels7.5 pt
20 CSS pixels15 pt
25 CSS pixels18.75 pt
50 CSS pixels37.5 pt
100 CSS pixels75 pt

Typography reference points

ReferenceCSS pixels (px)Points (pt)
Standard printed book body text14.6667 px11 pt
Default browser root font size16 px12 pt
Minimum accessible mobile tap target48 px36 pt
One CSS reference inch96 px72 pt

Information about the CSS pixel (px)

The CSS pixel is the canonical length unit of Cascading Style Sheets and modern web interface layout. Its symbol is px. Belonging to the W3C CSS layout system rather than describing a single hardware dot, it is defined simultaneously as an optical reference angle and as exactly 1/96 of a CSS inch.

That dual definition solves a problem physical pixels alone could never handle. The W3C defines the reference pixel as the visual angle of one pixel on a 96-dots-per-inch screen held at an arm's length of 28 inches (about 71 centimetres) — roughly 0.0213 degrees. Anchoring layouts to angular size lets a 16-pixel typeface appear broadly comparable on a smartphone held close, a laptop on a desk and a television across a room.

The 96-pixel-per-inch baseline is a piece of computing history. Early Macintosh monitors ran at 72 dots per inch so one screen dot matched one typographical point, whereas Microsoft chose 96 logical dots per inch for Windows in the 1980s to give small letters extra vertical strokes on coarse displays. When CSS 2.1 locked absolute units together, the Windows figure became the universal web constant.

On modern Retina, 4K and smartphone displays, the gap between CSS pixels and physical device pixels is decisive. A screen with a device pixel ratio of two or three paints each CSS pixel across a 2-by-2 or 3-by-3 grid of hardware subpixels, preserving comfortable layout proportions while giving letterforms and icons print-like sharpness.

Everyday web conventions centre on familiar pixel benchmarks. Browsers default body copy to 16 px; accessibility guidelines recommend tap targets of 44 to 48 px; interface icons step through 16, 24, 32 and 48 px; and responsive breakpoints commonly cluster around 768, 1024 and 1280 px.

Because browsers tie every absolute CSS length back to the pixel grid on screen, px remains the shared currency between design tools, front-end code and bitmap imagery.

One CSS pixel equals 0.75 points, 15 twips, 0.0625 picas, 0.0625 CSS rems or ems at the standard 16-pixel browser default, about 0.2646 CSS millimetres, or about 0.01042 CSS inches.


Information about the Point (pt)

The point is the primary typographic unit used to size typefaces, leading and rule thicknesses across print, desktop publishing and document formats. Its symbol is pt. In modern PostScript, PDF, OpenType and W3C CSS standards, one point is fixed at exactly 1/72 of an inch, or 4/3 of a CSS pixel.

Numerical type measurement began in eighteenth-century France. Pierre-Simon Fournier proposed a point system in 1737, and François-Ambroise Didot refined it around 1783 against the French royal foot, producing the Didot point (about 0.3759 millimetres) that governed continental European metal type for two centuries. In 1886, American founders standardised their own printers' point at 0.013837 inch — about 72.27 points to the inch — a value still preserved in Donald Knuth's TeX typesetting system.

The modern 1/72-inch desktop publishing point arrived in the mid-1980s with Adobe PostScript, the Apple Macintosh and early laser printers. Rounding 72.27 to exactly 72 gave clean integer scaling between 72-dpi screens and 300-dpi print engines, rapidly unifying word processors, page-layout software and CSS.

A point measures the invisible metal-type body height rather than the visible capital height, so two fonts both set at 11 pt can look noticeably different in size. Book body copy normally sits at 10 to 12 pt with 12 to 15 pt leading, footnotes fall to 7 to 9 pt, display titles span 24 to 72 pt, and crisp print hairlines begin at 0.25 or 0.5 pt.

In physical print and PDF output, seventy-two points always span one true inch. On web screens, however, CSS translates 1 pt rigidly to 1.3333 CSS pixels (making 12 pt equal to 16 px), so on-screen size follows display scaling rather than a physical ruler.

With twelve points to the pica and twenty twips to the point, pt remains the anchor of both editorial typography and software layout engines.

One point equals 1/72 of a CSS inch (about 0.01389 CSS inches), 20 twips, 1/12 of a pica (about 0.08333 picas), about 1.3333 CSS pixels, or about 0.3528 CSS millimetres.

Try our other unit converters

LengthMassTemperatureEnergyVolumeSpeedTimeDataPressureFrequencyData-transfer rateVolumetric flow rateAngleAreaPowerTorqueForceFuel economyDensityElectric chargeTypographyIlluminanceLuminanceAccelerationAngular velocityRadioactivityRadiation doseShoe & clothing sizes