Unit-To-Unit Pixels conversion www.cupandgear.com

PX to MM

1 CSS pixel = 0.264583333 millimetres

At the CSS reference resolution of 96 DPI, one pixel is 0.264583 mm. This is a fixed ratio inside CSS and not a statement about your monitor.

Formula mm = px × 0.264583333333

=

Type in either field — the other updates on every keystroke. Need other units? Open the full pixels converter.

PX to MM — quick reference
CSS pixelMillimetre
1 px0.264583 mm
2 px0.529167 mm
3 px0.79375 mm
4 px1.058333 mm
5 px1.322917 mm
10 px2.645833 mm
15 px3.96875 mm
20 px5.291667 mm
25 px6.614583 mm
50 px13.229167 mm
100 px26.458333 mm
500 px132.291667 mm
1000 px264.583333 mm
MM to PX — reverse
MillimetreCSS pixel
1 mm3.779528 px
2 mm7.559055 px
3 mm11.338583 px
4 mm15.11811 px
5 mm18.897638 px
10 mm37.795276 px
15 mm56.692913 px
20 mm75.590551 px
25 mm94.488189 px
50 mm188.976378 px
100 mm377.952756 px
500 mm1889.76378 px
1000 mm3779.527559 px

Worked examples

Common values
SituationFromTo
Hairline border1 px0.2646 mm
Icon24 px6.35 mm
Button height48 px12.7 mm
Phone width390 px103.2 mm
Tablet width768 px203.2 mm
A4 paper width794 px210.1 mm

Pixels to millimetres in everyday use

Design hand-offs for print, signage or laser cutting need millimetres.

CSS defines 96 pixels per inch, and an inch is 25.4 mm, so 1 px is 0.2646 mm and 100 px is 26.46 mm. An A4 page, 210 × 297 mm, is about 794 × 1123 px at that standard. This is the figure to use when you design print stylesheets or check how a layout will come out on paper.

A CSS pixel is a reference unit, not the physical dot on a screen. A phone with a high-density display packs several device pixels into one CSS pixel, so the real size on screen depends on the device. For print and images, the relevant number is the resolution: at 300 dpi one pixel is 0.0847 mm.

Mental-math shortcut and common mistakes

Multiply by 0.265, or divide by 3.78. 100 px is about 26.5 mm.

Background

An inch is exactly 25.4 mm and a CSS pixel is 1/96 inch, so one pixel is 25.4 ÷ 96 mm.

Best tools for checking pixel and millimetre sizes

Pixels are digital and millimetres are physical, so checking a result means measuring a printout or a screen. A digital caliper and the browser print preview cover most needs.

What to look for
ToolWhat to look forWhy it matters
Digital caliperReads mm and inches, 0.01 mm resolution, hardened stainless steel, zero buttonMeasures printed output precisely to confirm the size
Steel ruler or tape measureEtched markings in mm, a hook that does not wobbleGood enough for page and poster sizes
Browser print previewShows page size in mm or inches before printingConfirms a layout fits A4 or Letter before you waste paper

Quick accuracy check. Print a 100 mm test square and measure it with a ruler. If it is not 100 mm, your printer is scaling the page, and the pixel-to-mm maths will not match.

Examples of established makers: Mitutoyo for precision calipers, and Stanley for tape measures. Product names are examples of established brands, not rankings or paid placements. Specifications and prices change, so check current independent reviews before you buy.

Learn more

One CSS pixel is 1/96 of an inch, which is about 0.2646 mm. In print at 300 PPI, one image pixel covers only about 0.0847 mm.

Related guides: Digital and print layout units: px, rem, em, points and DPI · Unit conversion formulas by category · Where unit conversions come up in daily life

Frequently asked

How many millimetres are in a CSS pixel?
1 CSS pixel = 0.264583333 millimetres. In the other direction, 1 millimetre = 3.779527559 CSS pixels.
What is a CSS pixel?
A CSS pixel is a reference unit of 1/96 inch, not a physical device pixel. Browsers scale it by the device pixel ratio, so one CSS pixel may cover four hardware pixels on a 2× display.
What is a millimetre?
One millimetre is 3.7795275590551 CSS pixels at the CSS reference resolution of 96 DPI. Real print output should be computed against the actual device DPI instead.
How many millimetres is 100 px?
At 96 px per inch, 100 px is 26.46 mm.