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.
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.
px = dp × (dpi ÷ 160). On an mdpi (160 dpi) screen, 1 dp = 1 px.

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.
| Step | Example: 6.7-inch, 1080 × 2400 |
|---|---|
| 1. Square width and height | 1080² + 2400² = 6,926,400 |
| 2. Take the square root | √6,926,400 = 2631.8 pixels |
| 3. Divide by the diagonal | 2631.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.
| Screen | Resolution | PPI | Estimated bucket |
|---|---|---|---|
| 6.1-inch phone | 1080 × 2340 | 422.5 | xxhdpi |
| 6.4-inch phone | 1080 × 2400 | 411.2 | xxhdpi |
| 6.5-inch budget phone | 720 × 1600 | 269.9 | xhdpi |
| 6.7-inch phone | 1080 × 2400 | 392.8 | xxhdpi |
| 6.7-inch flagship | 1440 × 3120 | 512.9 | xxhdpi |
| 6.8-inch flagship | 1440 × 3200 | 516.0 | xxhdpi |
| 10.4-inch tablet | 1200 × 2000 | 224.3 | hdpi |
| 24-inch monitor | 1920 × 1080 | 91.8 | ldpi |
| 55-inch 4K TV | 3840 × 2160 | 80.1 | ldpi |
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):
| Bucket | Approx. dpi | Scale vs mdpi | Typical screens |
|---|---|---|---|
| ldpi | ~120 | 0.75x | Very old phones, large monitors |
| mdpi | ~160 | 1x (baseline) | Old phones, some tablets |
| tvdpi | ~213 | 1.33x | Some TVs and tablets |
| hdpi | ~240 | 1.5x | Budget phones from past years |
| xhdpi | ~320 | 2x | 720p phones, many tablets |
| xxhdpi | ~480 | 3x | Most 1080p phones |
| xxxhdpi | ~640 | 4x | High-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).
| dp | mdpi (1x) | hdpi (1.5x) | xhdpi (2x) | xxhdpi (3x) | xxxhdpi (4x) |
|---|---|---|---|---|---|
| 16 dp | 16 px | 24 px | 32 px | 48 px | 64 px |
| 48 dp | 48 px | 72 px | 96 px | 144 px | 192 px |
| 360 dp | 360 px | 540 px | 720 px | 1080 px | 1440 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
- Find the screen resolution and size in your phone’s official spec sheet, then enter them in the calculator above.
- To see the density value Android uses, enable Developer options and look for Smallest width (shown in dp) on many phones.
- If you use a computer with ADB, run
adb shell wm densityto print the current density. - 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.