Conversion from 20 CSS millimeters to CSS pixels

=

Invert

Formula to convert CSS millimeters (mm CSS) to CSS pixels (px)

More information

CSS millimeters to CSS pixels conversion table

CSS millimeters (mm CSS)CSS pixels (px)
1 CSS millimeter3.77952755906 px
2 CSS millimeters7.55905511811 px
3 CSS millimeters11.3385826772 px
4 CSS millimeters15.1181102362 px
5 CSS millimeters18.8976377953 px
10 CSS millimeters37.7952755906 px
20 CSS millimeters75.5905511811 px
25 CSS millimeters94.4881889764 px
50 CSS millimeters188.976377953 px
100 CSS millimeters377.952755906 px

Typography reference points

ReferenceCSS millimeters (mm CSS)CSS pixels (px)
Standard printed book body text3.88056 mm CSS14.6667 px
Default browser root font size4.23333 mm CSS16 px
Minimum accessible mobile tap target12.7 mm CSS48 px
One CSS reference inch25.4 mm CSS96 px

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 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.

Try our other unit converters

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