PX, PT, DP converter / Tool
Windows (scale 100%)
Windows (scale 125%)
Windows (scale 150%)
How to use this tool
- If you enter any unit, it will be converted to other units per dpi.
- Round off to the third decimal place.
- mm is the size at the time of printing, not the size on the display.
A pt (point) is a unit of size used primarily in publications and is defined as “1 pt = 1/72 inch”. There are several definitions of pt, but in this paper we refer to the most common DTP point as a pt.
dp (Density-independent pixel)
A dp (density-independent pixel/dip) is the unit of size used in Android development. since the screens used in Android vary in density, it was created to represent roughly the same size at any density (Some devices have 160 px per square inch, others 480 px per square inch).
1 dp is defined as approximately equal to 1px at mdpi (160 dpi). So at mdpi, 1 dp = 1 px, and at xhdpi (320 dpi), which is twice that, 1 dp = 2 px.
1 inch = 25.4 mm according to the international inch standard.
On a display, the physical size depends on the resolution, so it cannot be expressed in mm.