Conversion from 25 CSS millimeters to CSS rems

=

Invert

Formula to convert CSS millimeters (mm CSS) to CSS rems (rem)

More information

CSS millimeters to CSS rems conversion table

CSS millimeters (mm CSS)CSS rems (rem)
1 CSS millimeter0.236220472441 rem
2 CSS millimeters0.472440944882 rem
3 CSS millimeters0.708661417323 rem
4 CSS millimeters0.944881889764 rem
5 CSS millimeters1.1811023622 rem
10 CSS millimeters2.36220472441 rem
20 CSS millimeters4.72440944882 rem
25 CSS millimeters5.90551181102 rem
50 CSS millimeters11.811023622 rem
100 CSS millimeters23.6220472441 rem

Typography reference points

ReferenceCSS millimeters (mm CSS)CSS rems (rem)
Standard printed book body text3.88056 mm CSS0.916667 rem
Default browser root font size4.23333 mm CSS1 rem
Minimum accessible mobile tap target12.7 mm CSS3 rem
One CSS reference inch25.4 mm CSS6 rem

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 rem (rem)

The CSS rem is a font-relative length unit in the W3C CSS layout system, equal to the computed font size of a document's root html element. Its symbol is rem, short for root em. Under the universal 16-pixel default font size shipped by desktop and mobile browsers, 1 rem equals 16 CSS pixels, or 12 points.

Introduced in CSS Values and Units Level 3 and supported across mainstream browsers since the early 2010s, rem solved a notorious maintenance headache of the older em unit. Because em scales relative to an element's parent, nested components multiplied silently: a 0.9 em caption inside a 0.9 em card shrank to 0.81 em, and a third layer fell to 0.729 em. Anchoring every calculation to the single root element eliminated cascading drift.

The unit's greatest practical virtue is accessibility. Hard-coded px font sizes can override a reader's chosen browser text preference, whereas sizing headings, paragraphs and spacing in rem lets low-vision users raise their browser default from 16 px to 24 px and watch the entire interface scale harmoniously with its visual hierarchy intact.

Design systems routinely define modular type and spacing scales in rem: 0.875 rem (14 px) for captions, 1 rem (16 px) for body prose, 1.5 rem (24 px) for subheadings and 2.5 rem (40 px) for display titles, paired with 0.25 rem (4 px) spacing steps. An older habit set the root size to 62.5 per cent (10 px) for easy mental maths, though modern teams keep the 16-pixel root intact so third-party widgets do not shrink unexpectedly.

Because rem has no fixed physical magnitude outside a stylesheet, adjusting the root font size rescales an entire page at once — a clean lever for global density controls.

Conversion tables evaluate 1 rem at the standard 16-pixel browser default, where it aligns directly with one pica and twelve points.

One CSS rem equals 16 CSS pixels (at the standard 16-pixel browser default), 12 points, 1 pica, 1 CSS em, 240 twips, about 4.2333 CSS millimetres, or about 0.1667 CSS inches.

Try our other unit converters

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