Millimeters to Pixels (CSS) (mm to px)

1 millimeter equals 3.779527559 pixels (CSS) (rounded).

1 millimeter = 3.779527559 pixels (CSS)

How to convert millimeters to pixels (CSS)

To convert millimeters to pixels (CSS), multiply the number of millimeters by 3.779527559. The factor is rounded to 10 significant digits. To go the other way, multiply pixels (CSS) by 0.2645833333 (rounded).

pixels (CSS) = millimeters × 3.779527559

Example: 10 millimeters = 37.79527559 pixels (CSS).

About these units

Millimeter (mm)

Metric (SI)Current unit

One thousandth of a meter. Used in engineering, manufacturing and rainfall measurement.

Carl Friedrich Gauss put the millimeter at the base of his 1832 proposal for absolute units, pairing it with the milligram and the second, although the centimeter-based CGS system later won out among scientists. The name combines the metric prefix milli-, from the Latin for one thousand, with the meter. Since 1983 a millimeter has been tied to the speed of light: it is the distance light covers in 1/299,792,458,000 of a second.

Millimeters are the language of fine mechanical work. Standard rulers are divided into them, digital calipers commonly read to 0.01 mm, and mechanical pencil leads come in 0.5 and 0.7 mm. Copy paper is about 0.1 mm thick, and a thin hair, at 0.02 to 0.04 mm across, is close to the smallest thing the naked eye can see. A wave with a frequency of 300 GHz has a wavelength of 1 mm. An inch is exactly 25.4 mm. One trap for readers in the United States is that mil there traditionally means a thousandth of an inch, not a millimeter.

1 millimeter = 0.001 meters (exactly).

Sources: Wikipedia: Millimetre; Wikipedia: Centimetre-gram-second system of units; NIST Guide to the SI, Appendix B.8: conversion factors

Pixel (CSS) (px)

Typography & screenCurrent unit

The CSS reference pixel, defined as 1/96 of an inch. Physical screens vary, but browsers use this value to convert pixels to print units.

Pixel is a contraction of picture element, itself built from pix, a 1930s shortening of pictures. The idea is older than the word: Paul Nipkow's 1888 German patent spoke of a Bildpunkt, or picture point, and the phrase picture element appears in US patents filed as early as 1911. Frederic C. Billingsley of the Jet Propulsion Laboratory published pixel in 1965, writing about scanned images from space probes to the Moon and Mars, and said he had learned it from Keith E. McFarland, who reported it was already in use around 1963.

A pixel in a photograph is a sample, not a fixed length, and screens vary widely in size. CSS therefore defines px as an abstract reference pixel of exactly 1/96 inch, based on the visual angle of one pixel on a 96 dpi device held at arm's length. The CSS specification gives that angle as about 0.0213 degrees for a nominal arm's length of 28 inches, which works out to about 0.26 mm. On sharper screens a single CSS pixel spans several device pixels. Earlier CSS versions did not fix the ratio, but too much existing content assumed 96 dpi.

1 pixel (CSS) = 0.0002645833333 meters (approximately).

Sources: W3C: CSS Values and Units Module Level 3, absolute lengths; Wikipedia: Pixel

Related conversions

See all length units.