Android screen density, DPI and resolution — looked up, not guessed
Look up the real DPI, resolution and density bucket of any Android phone — then convert between dp, px, sp and inches in your browser. Every number is derived from the panel's physical resolution and diagonal size, so you can check our arithmetic against your own spec sheet.
The three tools
DPI calculator
Enter width, height and diagonal to get ppi, the Android density bucket and the resulting dp viewport.
dp ↔ px converter
Convert between dp, px and sp at any density, including non-standard densities like 440 dpi.
Aspect ratio helper
Simplify a resolution to its ratio and see how it compares with common phone and tablet shapes.
Popular devices
All devices →| Device | Resolution | Size | ppi | Density | dp viewport |
|---|---|---|---|---|---|
| Pixel 9 Pro | 1280×2856 | 6.3" | 497 | 480 · xxhdpi | 427×952 |
| Galaxy S24 Ultra | 1440×3120 | 6.8" | 505 | 480 · xxhdpi | 480×1040 |
| Pixel 7 | 1080×2400 | 6.3" | 418 | 480 · xxhdpi | 360×800 |
| Redmi Note 12 | 1080×2400 | 6.67" | 395 | 440 · xxhdpi | 393×873 |
| OnePlus 12 | 1440×3168 | 6.82" | 510 | 480 · xxhdpi | 480×1056 |
| Generic 1080p Android phone | 1080×2400 | 6.4" | 411 | 480 · xxhdpi | 360×800 |
Why Android density is confusing on purpose
A 1080×2400 phone and a 1440×3120 phone can report the exact same dp width. That is not a bug. Android abstracts physical pixels behind dp so that a layout written once behaves consistently across wildly different hardware, and it does that by snapping every panel to a coarse density bucket. The consequence is that resolution tells you almost nothing about what a layout actually sees.
The practical confusion comes from three numbers that all sound like the same thing: ppi is physical sharpness, dpi is the software density, and dp is the layout unit that results. This site keeps them separate on every page rather than collapsing them into one "screen size" figure, because conflating them is the usual reason a layout looks wrong on a device it was supposedly designed for.
The other trap is skinned ROMs. MIUI, ColorOS and OriginOS routinely report a density lower than the panel's physical ppi to make the interface feel denser, and several of them allow per-app overrides. If a bug only reproduces on Chinese-market hardware, the reported density is the first thing to check.
Frequently asked
What is dpi on an Android phone?
dpi (dots per inch) in Android is a density setting, not a physical measurement. It tells the system how many pixels one dp covers. Two phones with very different real sharpness can report the same dpi, because Android deliberately snaps every panel to a small set of density buckets: mdpi 160, hdpi 240, xhdpi 320, xxhdpi 480 and xxxhdpi 640.
What is the difference between dpi and ppi?
ppi is physical pixels per inch and comes from the hardware — diagonal pixels divided by diagonal inches. dpi is what Android's software uses to scale layouts. On most modern phones the reported dpi is close to the panel's ppi but rounded to a bucket, and on skinned ROMs like MIUI or ColorOS it can be set well below the physical ppi to make the UI denser.
How do I find my phone's actual density?
With adb: run 'adb shell wm size' for the physical resolution and 'adb shell wm density' for the reported density. Both are available over wireless debugging too, so you do not need a data cable. If the density differs from what this site lists for your model, your device or ROM has overridden it.
Can I change my Android phone's dpi?
On many devices you can, using 'adb shell wm density <value>' or a root-level build.prop edit. It is reversible with 'adb shell wm density reset'. Values far from the native bucket will make text blurry or make system apps misbehave, so change it in small steps and reset if anything looks wrong.
Is any of my data uploaded when I use these tools?
No. Every calculator on this site runs entirely in your browser using JavaScript. The resolution or density values you type are never sent to a server. The only thing measured is an anonymous page view count.
Screen specifications last verified 2026-10-20. Spot an error? The device table is public — see the about page for how corrections are handled.