Conversion from 4 CSS millimeters to CSS inches

=

Invert

Formula to convert CSS millimeters (mm CSS) to CSS inches (in CSS)

More information

CSS millimeters to CSS inches conversion table

CSS millimeters (mm CSS)CSS inches (in CSS)
1 CSS millimeter0.0393700787402 in CSS
2 CSS millimeters0.0787401574803 in CSS
3 CSS millimeters0.11811023622 in CSS
4 CSS millimeters0.157480314961 in CSS
5 CSS millimeters0.196850393701 in CSS
10 CSS millimeters0.393700787402 in CSS
20 CSS millimeters0.787401574803 in CSS
25 CSS millimeters0.984251968504 in CSS
50 CSS millimeters1.96850393701 in CSS
100 CSS millimeters3.93700787402 in CSS

Typography reference points

ReferenceCSS millimeters (mm CSS)CSS inches (in CSS)
Standard printed book body text3.88056 mm CSS0.152778 in CSS
Default browser root font size4.23333 mm CSS0.166667 in CSS
Minimum accessible mobile tap target12.7 mm CSS0.5 in CSS
One CSS reference inch25.4 mm CSS1 in CSS

Information about the CSS millimeter (mm CSS)

The CSS millimetre is an SI-derived absolute length unit in the W3C CSS specification, defined as 1/25.4 of a CSS inch, or 96/25.4 (about 3.7795) CSS pixels. Written mm in stylesheets and designated mm CSS in conversion tables, it brings metric paper geometry into web layout and HTML-to-PDF publishing.

In physical metrology, one millimetre is one thousandth of a metre and the international inch is fixed at exactly 25.4 millimetres. CSS preserves that exact 25.4 ratio between its inch and millimetre, locking 1 mm CSS permanently to 96/25.4 CSS pixels and 72/25.4 (about 2.8346) points so conversions among absolute CSS units stay identical across every browser.

That fixed anchor followed a messy early debate. Initial CSS 2 drafts expected browsers to read each monitor's true dot pitch so a 50 mm element measured five centimetres against a plastic ruler on screen. Because displays frequently misreported their dimensions and layouts mixing px and mm fractured whenever ratios drifted, W3C CSS 2.1 tied screens to the reference pixel grid while preserving true physical scale for print media.

CSS millimetres therefore shine wherever web code drives physical paper. Print stylesheets, paged-media engines such as WeasyPrint and Prince, shipping labels and invoice generators specify ISO 216 sizes directly: an A4 page is 210 by 297 mm, an A5 booklet 148 by 210 mm, a European business card 85 by 55 mm, and commercial bleed margins 3 mm.

For designers bridging metric grids and point-sized type, the ratio of roughly 2.8346 points per millimetre — or 37.8 CSS pixels per centimetre — links stationery dimensions directly to editorial scales: a 10 mm margin renders at about 37.8 px on screen and an exact 10 millimetres off a laser printer.

While screen interfaces rely on px and rem for pixel-crisp rendering and accessibility, mm CSS remains the clearest choice for metric print output.

One CSS millimetre equals about 3.7795 CSS pixels, about 2.8346 points, about 0.2362 picas, about 56.6929 twips, or 1/25.4 of a CSS inch (about 0.03937 CSS inches).


Information about the CSS inch (in CSS)

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.

Try our other unit converters

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