Unit Converter / Millimeters to Pixels

Millimeters to Pixels Converter

1 millimeter = 3.7795 pixels at 96 DPI, the CSS reference resolution. To convert, multiplymillimeters by 3.7795: mm × 3.7795 = px. Change the DPI below for print and image work, where a pixel is whatever the output resolution says it is.

=
Swap: convert pixels to millimeters instead

Millimeters to Pixels table

Standard values at 96 DPI.

Millimeters (mm)Pixels (px)
13.7795
518.8976
1037.7953
25.496
50188.9764
100377.9528
210793.7008
254960
2971122.5197

How the conversion works

The fine metric unit: print tolerances, paper (A4 is 210 by 297 mm) and CSS print stylesheets use millimeters. Exactly 25.4 mm make an inch. The screen unit. CSS defines the reference pixel so that 96 px make one inch at arm's-length viewing distance. The CSS specification anchors the whole system to the inch: at the reference resolution of 96 DPI, one inch is exactly 96 pixels, one point is 96/72 pixels, and the metric units follow from the inch being exactly 25.4 millimeters. Converting millimeters to pixels therefore goes through that anchor: millimeters to pixels, then pixels to pixels. For example,100 mm = 377.9528 px.

The DPI setting matters only when pixels meet the physical world. On screen, CSS pixels are defined by the 96 DPI reference and the conversion above is exact. In a 300 DPI print file or image, an inch holds 300 pixels instead, so the same measurement converts differently; set the resolution to match the file you are working with.

Related conversions

Convert millimeters to

Convert to pixels

All converters