CSS inch (in CSS)

Typography unit · US customary system

All units Typography converter

The CSS inch is the US Customary-derived master absolute length anchor of the W3C CSS layout specification, defined as exactly 96 CSS pixels, 72 points, 6 picas and 25.4 CSS millimetres. Written in inside stylesheets and labelled in CSS in conversion tables, it binds traditional print measurements and web coordinates into one exact set of rational ratios.

Every absolute length in modern CSS traces its value back to this single equation: 1 CSS inch = 96 px = 72 pt = 6 pc = 25.4 mm. The 96-pixel figure came from early Microsoft Windows assuming 96 logical dots per inch so small fonts rendered more legibly than on 72-dpi monitors. After years of browser inconsistency, W3C CSS 2.1 ratified the 96-pixel inch so text, borders and graphics aligned identically everywhere.

Like the CSS millimetre, a CSS inch guarantees a true 25.4-millimetre physical span only in print media and vector PDFs, where printer drivers control exact dot placement. On monitors, tablets and projectors, browsers prioritise crisp integer CSS pixels and comfortable viewing angles over ruler fidelity, so a 1-inch square on screen often differs noticeably from a wooden ruler depending on screen density and display scaling.

In North American HTML-to-PDF workflows, CSS inches remain the natural language. Academic templates, browser print sheets and automated reports declare US Letter paper at 8.5 by 11 in (816 by 1,056 px), standard margins at 1 in (96 px), thermal shipping labels at 4 by 6 in, and business cards at 3.5 by 2 in without messy decimals.

The CSS inch also serves as a clean hub across digital typography: dividing by 72 recovers the PostScript point, dividing by 6 yields the pica, dividing by 96 gives the CSS pixel, and dividing by 1,440 produces the twip still embedded in Word and RTF files.

One CSS inch equals exactly 96 CSS pixels, 72 points, 6 picas, 1,440 twips, 25.4 CSS millimetres, or 6 CSS rems at the standard 16-pixel browser default.

CSS inch conversion table

UnitSymbol1 CSS inch equals1 of these equalsConverter
CSS pixelpx96 px0.0104166666667 in CSSCSS inches to CSS pixels
Pointpt72 pt0.0138888888889 in CSSCSS inches to Points
Picapc6 pc0.166666666667 in CSSCSS inches to Picas
CSS remrem6 rem0.166666666667 in CSSCSS inches to CSS rems
CSS emem6 em0.166666666667 in CSSCSS inches to CSS ems
Twiptwip1440 twip0.000694444444444 in CSSCSS inches to Twips
CSS millimetermm CSS25.4 mm CSS0.0393700787402 in CSSCSS inches to CSS millimeters