PX → MM Converter
Converting from PX to MM is common when switching from great for pixel-perfect layouts but not flexible for responsive design. to for ultra-precise graphic designs. in CSS projects.
Conversion Form
About the Unit
Pixel (px): A pixel is the smallest visible measurement unit on a digital screen, commonly used to describe the resolution and dimensions of graphical elements and text. In a CSS context, the pixel is an absolute unit, but its perception can vary depending on the device's pixel density (such as on Retina displays). Although it is a fixed unit, the pixel value in CSS is standardized to ensure consistency across devices with different resolutions. For example, an element with 100px width will always render with 100 pixels of width on the screen, but on devices with higher pixel density, the content display may appear sharper. The px unit is widely used in graphical interface design, typography, and other visual properties, being the predominant choice in many web design approaches.
Pro Tip: px → mm
1mm = 3.779px. Use mm for print designs that need precision.
Quick Reference: Unit Conversion by Tens
| PX | MM |
|---|---|
| 10px | 2.645833mm |
| 20px | 5.291667mm |
| 30px | 7.9375mm |
| 40px | 10.583333mm |
| 50px | 13.229167mm |
| 60px | 15.875mm |
| 70px | 18.520833mm |
| 80px | 21.166667mm |
| 90px | 23.8125mm |
| 100px | 26.458333mm |
| 110px | 29.104167mm |
| 120px | 31.75mm |
| 130px | 34.395833mm |
| 140px | 37.041667mm |
| 150px | 39.6875mm |
| 160px | 42.333333mm |
| 170px | 44.979167mm |
| 180px | 47.625mm |
| 190px | 50.270833mm |
| 200px | 52.916667mm |
| 210px | 55.5625mm |
| 220px | 58.208333mm |
| 230px | 60.854167mm |
| 240px | 63.5mm |
| 250px | 66.145833mm |
Live Unit Preview
See how different CSS units affect the size of the box below:
10px
10rem
10em
10%
10vw
10vh
Common Mistake
1mm = 3.779px. Use mm for print designs that need precision.
Real Code Example
/* Mobile-first card with px → mm */
.card {
padding: 0px; /* undefinedmm */
font-size: 1.5rem;
width: min(90vw, 40ch);
}Frequently Asked Questions About PX
When should I use px instead of px?
Use px for pixel-perfect control in fixed layouts.
How many px is 1px?
1px = 0.0625rem assuming a 16px base.
Is px affected by zoom?
Yes, it scales with browser zoom but remains fixed in layout.
Is px good for fonts?
Not recommended for fonts due to poor accessibility scaling.
Keyboard Shortcuts
- Ctrl + C: Convert
- Ctrl + I: Invert units
- Esc: Reset values