Did you ever had to convert pixels to milimeters?

Working with resolutions and different measure units may need some help. So this little formule is to converts pixels to milimeters under a certain resolution.

Date: 14-oct-2009

How to effectively convert pixels to milimeters.

First there are some things to consider:

  1. DPI. The number of points per Inch
  2. MM_PER_INCH. Milimeters per Inch, the standard amount of milimeters in one inch: 25.4
  3. PIXEL. Distance to convert to milimeters

So taking the formule:


Lets say that your image is 72 DPI, and that you want to know how many milimeters there are in 150 pixels, so,


There you are