HIROTA YANO
FREE WEB TOOLS
JP
/
EN

# PX, PT, DP converter / Tool

PT (Point)
pt
dpipxmm
Mac (Non-Retina)
7210.35
Windows (scale 100%)
961.330.35
Windows (scale 125%)
1201.670.35
Windows (scale 150%)
Mac (Retina)
iPhone (4/5/SE/6/XR)
14420.35
iPhone (X/XS/11)
21630.35
00
DP (Density-independent pixel)
dp
dpipxmm
ldpi
1200.750.16
mdpi
16010.16
tvdpi
2131.330.16
hdpi
2401.50.16
xhdpi
32020.16
xxhdpi
48030.16
xxxhdpi
64040.16
00

## How to use this tool

This is a size unit converter that runs in your browser. It converts px (pixel), pt (point), dp / dip (density independent pixel), mm (millimeter) by resolution (dpi).

• 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.

## Conversion Formula

### pt (Point)

$px={\dfrac {pt \times dpi}{72}}$
$pt={\dfrac {px \times 72}{dpi}}$

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)

$px={\dfrac {dp \times dpi}{160}}$
$dp={\dfrac {px \times 160}{dpi}}$

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.

### mm (Millimetre)

$px={\dfrac {mm \times dpi}{25.4}}$
$mm={\dfrac {px \times 25.4}{dpi}}$

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.