Android DPI Calculator (PPI and Screen Density)

Use this PPI calculator to find your screen’s pixels per inch from its resolution and screen size, see the estimated Android density bucket (mdpi to xxxhdpi), and convert dp to px. Works for phones, tablets, TVs and monitors.

Screen resolution (pixels)
Quick examples
Pixel density
392.8 PPI
Estimated Android density: xxhdpi

    The density bucket is an estimate. Phone makers set the real Android density value (for example 420 or 440 dpi), and the system then picks the closest resource folder.


    dp ⇄ px converter

    px = dp × (dpi ÷ 160). On an mdpi (160 dpi) screen, 1 dp = 1 px.

    PPI calculator formula and Android density example

    How This PPI Calculator Works

    PPI is the number of pixels along the screen’s diagonal divided by the diagonal size in inches. First find the diagonal in pixels with the Pythagorean theorem, then divide.

    StepExample: 6.7-inch, 1080 × 2400
    1. Square width and height1080² + 2400² = 6,926,400
    2. Take the square root√6,926,400 = 2631.8 pixels
    3. Divide by the diagonal2631.8 ÷ 6.7 = 392.8 PPI

    The same screen measures about 2.75 × 6.11 inches, has a 9:20 aspect ratio and about 2.6 million pixels. The tool shows all of these at once.

    PPI of Common Screen Sizes

    These values come from the same formula the calculator uses. Your exact phone may differ slightly because makers round the screen size.

    ScreenResolutionPPIEstimated bucket
    6.1-inch phone1080 × 2340422.5xxhdpi
    6.4-inch phone1080 × 2400411.2xxhdpi
    6.5-inch budget phone720 × 1600269.9xhdpi
    6.7-inch phone1080 × 2400392.8xxhdpi
    6.7-inch flagship1440 × 3120512.9xxhdpi
    6.8-inch flagship1440 × 3200516.0xxhdpi
    10.4-inch tablet1200 × 2000224.3hdpi
    24-inch monitor1920 × 108091.8ldpi
    55-inch 4K TV3840 × 216080.1ldpi

    TVs and monitors have a low PPI because you sit much further away. Android TV devices usually set their own density value, so the bucket in the table only describes the panel, not how Android TV draws apps.

    Android Density Buckets (mdpi to xxxhdpi)

    Android groups screens into density buckets so apps can provide images in the right size. The Android developer documentation lists these groups (Android Developers):

    BucketApprox. dpiScale vs mdpiTypical screens
    ldpi~1200.75xVery old phones, large monitors
    mdpi~1601x (baseline)Old phones, some tablets
    tvdpi~2131.33xSome TVs and tablets
    hdpi~2401.5xBudget phones from past years
    xhdpi~3202x720p phones, many tablets
    xxhdpi~4803xMost 1080p phones
    xxxhdpi~6404xHigh-end 1440p phones

    Real phones rarely match a bucket exactly. A phone maker may set a value like 420 or 440 dpi, and Android then picks the closest folder, preferring a higher one and scaling it down. Our tool follows that rule, so a 392 PPI phone is shown as xxhdpi. Treat the result as an estimate, not the official setting of your device.

    dp to px Converter

    Android apps are designed in dp (density-independent pixels) so buttons and text look the same physical size on every screen. The formula from the Android documentation is px = dp × (dpi ÷ 160).

    dpmdpi (1x)hdpi (1.5x)xhdpi (2x)xxhdpi (3x)xxxhdpi (4x)
    16 dp16 px24 px32 px48 px64 px
    48 dp48 px72 px96 px144 px192 px
    360 dp360 px540 px720 px1080 px1440 px

    The 48 dp row matters for app design: Android recommends touch targets of at least 48 dp, which is 144 real pixels on an xxhdpi phone.

    PPI vs DPI

    PPI counts pixels on a screen. DPI originally counts ink dots on a printer. For phones, both words are used for the same thing, and Android itself uses “dpi” for its density setting. A mouse “DPI” is something else again: it measures how far the pointer moves, not screen sharpness.

    How to Check Your Phone’s DPI

    1. Find the screen resolution and size in your phone’s official spec sheet, then enter them in the calculator above.
    2. To see the density value Android uses, enable Developer options and look for Smallest width (shown in dp) on many phones.
    3. If you use a computer with ADB, run adb shell wm density to print the current density.
    4. Changing the display size in Settings > Display changes the density value, so the number can differ from the factory setting.

    Why DPI Matters for APK Files

    Some apps are delivered as several files, one of which holds images for a specific screen density. That is why download listings sometimes show labels like 480dpi or nodpi. Google Play picks the right files automatically; when you install files manually, the wrong split can cause missing images or install errors. Learn more in what is an APKS file, how to install XAPK and APK vs AAB.

    Frequently Asked Questions

    What is the DPI of my Android phone?

    Enter your screen resolution and screen size above to get the pixel density (PPI). The exact Android density value is set by the phone maker; on many phones you can see it with the adb command “adb shell wm density”.

    Is PPI the same as DPI?

    For screens, people use the two words for the same idea: how many pixels fit in one inch. Strictly, PPI is for screens and DPI is for printers, but Android calls its density setting “dpi”.

    What is xxhdpi?

    xxhdpi is the Android density group for screens around 480 dpi. Apps can ship images made for this density, and many modern 1080p phones use it.

    Is a higher PPI always better?

    Higher PPI makes text and images look sharper, but the gain gets harder to notice at normal phone distance as PPI rises, and driving more pixels takes more processing power.

    Does changing DPI on Android affect apps?

    Changing the display size or smallest-width setting makes everything bigger or smaller. Some apps may look stretched or cut off, so change it in small steps.

    Why do some APK files list a DPI like 480dpi or nodpi?

    Some downloads are split by screen density so each phone gets images made for its screen. “nodpi” means the file works for all densities.

    Related Guides