Pixels to Millimeters
1 Pixel (px) = 0.264583Millimeter (mm)
By KAMP Inc. / UnitOwl · Last reviewed:
How to Convert Pixels to Millimeters?
One pixel equals approximately 0.2646 millimeters at the standard 96 DPI screen resolution. To convert pixels to millimeters, multiply the pixel value by 25.4/96 (approximately 0.2646). This conversion is needed when designing for physical outputs in metric countries — print layouts, packaging, signage, and industrial displays that specify dimensions in millimeters. Web designers working with international clients often receive specifications in millimeters and need to convert to pixels, or produce outputs in mm from pixel-based designs. The conversion assumes the CSS standard of 96 pixels per inch, combined with the fact that one inch equals exactly 25.4 millimeters. In real projects, this usually shows up when someone wants to compare a screen mockup to an A4 sheet, a package label, or a physical kiosk display. The math gives a reliable logical equivalent, but the final physical result still depends on the actual output device and its resolution settings. For packaging and print proofs, teams usually convert onward from millimeters to print-resolution pixels before final export and production review. That extra step prevents sizing surprises later.
How to Convert Pixel to Millimeter
- Start with your size in pixels.
- Multiply the pixel value by 0.2646 (or 25.4/96) to get millimeters.
- The result is your size in millimeters.
- Alternatively, divide pixels by 96 to get inches, then multiply by 25.4 to get mm.
- Key reference: 96px = 25.4mm (1 inch), 1px ≈ 0.265mm.
Real-World Examples
Quick Reference
| Pixel (px) | Millimeter (mm) |
|---|---|
| 1 | 0.264583 |
| 2 | 0.529167 |
| 5 | 1.32292 |
| 10 | 2.64583 |
| 25 | 6.61458 |
| 50 | 13.2292 |
| 100 | 26.4583 |
History of Pixel and Millimeter
The millimeter became the standard fine measurement unit in most of the world through metric system adoption. The relationship between pixels and millimeters is indirect — it depends on display resolution. CSS standardized the relationship by defining 1 inch = 96px and 1 inch = 25.4mm, giving the fixed conversion factor of 96px = 25.4mm. In practice, actual physical pixel size varies enormously: a pixel on a 24-inch 1080p monitor is about 0.28mm, while a pixel on a 6-inch 1080p phone is about 0.065mm. The CSS conversion is a logical reference, not a physical measurement.
Common Mistakes to Avoid
- Assuming pixels have a fixed physical size. A pixel on a desktop monitor, a laptop screen, and a phone display are all different physical sizes. The px-to-mm conversion at 96 DPI is a CSS reference standard, not a measurement of actual screen pixels.
- Using the conversion for print without adjusting for print DPI. A 300px-wide image at 96 DPI is 79.4mm. At 300 DPI print resolution, the same 300px image is only 25.4mm (1 inch). Always specify the DPI context.
- Forgetting that 25.4mm = 1 inch is exact. The inch-to-millimeter conversion is an exact definition (since 1959), so 96px = 25.4mm is exact within the CSS standard.
- Comparing CSS millimeter conversions to a ruler on an uncalibrated monitor. The conversion is logically correct for CSS, but the physical on-screen size still varies with device density and scaling.
Frequently Asked Questions
How many pixels in 1 millimeter?
Should I use mm in CSS?
How do I size images for metric-country print at 300 DPI?
Why is px-to-mm conversion only approximate on screens?
How many millimeters is 100px?
For quick mental conversion: 4 pixels is about 1 millimeter (at 96 DPI). More precisely, 3.78 pixels per mm, but "4px per mm" is close enough for estimation. So a 400px element is roughly 100mm (10cm), and a 40px icon is about 10mm (1cm). For print work, remember to multiply your desired mm by approximately 12 pixels per mm for 300 DPI output.
Sources & References
- NIST — Units and Conversion Factors — Official unit conversion factors from the National Institute of Standards and Technology.
- BIPM — The International System of Units (SI) — International SI unit definitions from the International Bureau of Weights and Measures.