Droid10

Guides

Longer explanations of the concepts behind the calculators — density, dp, buckets and the adb commands that change them.

Android DPI explained: dpi vs ppi vs dp

Why your phone reports a dpi that does not match its physical ppi, and what each number is actually used for.

How to change Android DPI with adb

Change and reset screen density using wm density, including the exact commands, safe ranges and how to recover.

Android DPI changer: with or without root

adb, developer-options display size, root build.prop and third-party apps compared — plus a planner for the dp viewport at any target density.

Screen resolutions list for Android phones

Every resolution we track, grouped by pixel count, with the density, dp viewport and aspect ratio each one runs at — plus what 1080p, QHD and HD+ mean on a phone.

Android density buckets and drawable folders

What mdpi through xxxhdpi actually mean, which bucket your device picks, and where to put your drawables.

How to convert dp to px on Android

One formula: px = dp x (dpi / 160). Worked examples at 160, 320, 480 and 640 dpi, plus non-standard densities like 440 dpi.

PPI vs DPI on Android

PPI is the panel's physical sharpness; DPI is the density Android reports for layout. Worked examples show why they differ and which one dp to px math must use.

How to find your Android phone's DPI

Four ways to read the density Android actually reports: adb wm density, smallest width in developer options, the DPI calculator, and the device lookup.

Android smallest width (swXXXdp) explained

Smallest width is the shorter side of the layout size in dp. Worked examples show how it is computed from pixels and reported dpi, why rotation does not change it, and which layout-sw qualifier each phone qualifies for.

Android dp vs sp: when text should scale and layouts should not

dp and sp share the same density math, but sp also follows the user's font size setting. Worked examples at 160, 320 and 480 dpi show when to use each.