Galaxy A54 5G — 403 ppi, 450 dpi (xxhdpi)
Galaxy A54 5G is a Samsung device whose display works out to roughly 403 dpi, which Android classifies as the xxhdpi bucket. Everything below is derived from the panel's physical resolution and diagonal size, so you can reproduce the numbers with a calculator and a spec sheet.
| Brand | Samsung |
| Released | 2023 |
| Panel resolution | 1080 × 2340 px |
| Diagonal | 6.4 in |
| Diagonal in pixels | 2,577 |
| Physical ppi | 402.7 |
| Density bucket | xxhdpi (450 dpi) |
| Density source | Manufacturer's shipped density |
| Scale factor | 2.81× |
| 1 dp in px | 2.81 px |
| dp viewport | 384 × 832 dp |
| Aspect ratio (short:long) | 13:6 |
| Nearest bucket to ppi | 480 dpi |
Density on the Galaxy A54 5G
At 403 dpi, one dp equals 2.52 physical pixels on this panel. That scale factor is what the system uses when it picks drawables from your mipmap folders and when it converts the layout values you wrote in dp into the pixels that actually get drawn.
What layout it actually gets
Because Android divides the physical resolution by the density scale, the layout does not see the full 403 dpi pixel grid — it sees a smaller box measured in dp. That is why two phones with very different resolutions can report the same dp width and lay out identically.
Practical notes
If you are designing for this device, author in dp and let the density scale handle the rest. If you are overriding density with wm density, remember that anything far from 403 dpi will make the UI look either oversized or cramped, because you are fighting the panel's native bucket.
Check another resolution
Want the numbers for a panel that is not in the database? The DPI calculator takes any width, height and diagonal.
Open the DPI calculatorOther Samsung devices
Specifications last verified 2026-10-20. These are hardware values from the manufacturer's specification sheet; your device's reported density may differ if the ROM overrides it.