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.
| Unit | Symbol | 1 CSS inch equals | 1 of these equals | Converter |
|---|---|---|---|---|
| CSS pixel | px | 96 px | 0.0104166666667 in CSS | CSS inches to CSS pixels |
| Point | pt | 72 pt | 0.0138888888889 in CSS | CSS inches to Points |
| Pica | pc | 6 pc | 0.166666666667 in CSS | CSS inches to Picas |
| CSS rem | rem | 6 rem | 0.166666666667 in CSS | CSS inches to CSS rems |
| CSS em | em | 6 em | 0.166666666667 in CSS | CSS inches to CSS ems |
| Twip | twip | 1440 twip | 0.000694444444444 in CSS | CSS inches to Twips |
| CSS millimeter | mm CSS | 25.4 mm CSS | 0.0393700787402 in CSS | CSS inches to CSS millimeters |