Native resolution 1080 × 2340 px at 3× · 403 PPI · 6.4″ · 9:19.5. Design at 360 × 780 and export assets at 3×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 360 × 780 px |
| CSS viewport (landscape) | 780 × 360 px |
| Native resolution | 1080 × 2340 px |
| Device pixel ratio | 3× |
| Pixel density | 403 PPI |
| Screen diagonal | 6.4 in |
| Panel size | 2.68 × 5.81 in |
| Aspect ratio | 9:19.5 |
| Total pixels | 2.53 MP |
| Released | 2023 |
| Operating system | Android |
Among the 130 phones on this site, the Samsung Galaxy A54 has the 110th largest CSS viewport area. Its 360 px width is 39 px below the 399 px average for this category.
Targeting the Samsung Galaxy A54 in CSS
Device-specific media queries are brittle — a new model with the same width will not match. Use them for genuine per-device fixes only, and prefer width buckets for layout.
/* Target Samsung Galaxy A54 specifically */
@media only screen
and (device-width: 360px)
and (device-height: 780px)
and (-webkit-device-pixel-ratio: 3) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 360px) { /* … */ }
Compare with other Android Phones models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Samsung Galaxy A54 | 360 × 780 | 1080 × 2340 | 3× | 403 | 6.4″ |
| Samsung Galaxy S23 FE | 360 × 780 | 1080 × 2340 | 3× | 403 | 6.4″ |
| Xiaomi 13 | 393 × 873 | 1080 × 2400 | 2.75× | 414 | 6.36″ |
| Samsung Galaxy A15 | 360 × 780 | 1080 × 2340 | 3× | 396 | 6.5″ |
| Samsung Galaxy S23+ | 384 × 833 | 1080 × 2340 | 2.81× | 390 | 6.6″ |
| Samsung Galaxy A34 | 360 × 780 | 1080 × 2340 | 3× | 390 | 6.6″ |
| Samsung Galaxy A14 | 360 × 803 | 1080 × 2408 | 3× | 400 | 6.6″ |
| Google Pixel 8 | 412 × 915 | 1080 × 2400 | 2.625× | 428 | 6.2″ |
| Xiaomi Redmi Note 12 | 393 × 873 | 1080 × 2400 | 2.75× | 395 | 6.67″ |
Questions about the Samsung Galaxy A54 screen
What is the screen size of the Samsung Galaxy A54?
The Samsung Galaxy A54 has a 6.4-inch display. In CSS the viewport measures 360 × 780 px in portrait, and the panel itself has 1080 × 2340 physical pixels at 403 PPI.
What resolution should I design for on the Samsung Galaxy A54?
Design at 360 × 780 and export assets at 3×. That gives you 1080 × 2340 px images, which is exactly what the panel renders. Designing directly at 1080 × 2340 means every measurement is 3 times larger than the CSS values you will write.
What is the device pixel ratio of the Samsung Galaxy A54?
The Samsung Galaxy A54 reports a device pixel ratio of 3. One CSS pixel therefore covers 9 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Samsung Galaxy A54?
15 other devices share the 360 × 780 CSS viewport: Samsung Galaxy S25, Samsung Galaxy S24, Samsung Galaxy S24 FE, Samsung Galaxy S23, Samsung Galaxy S23 FE, Samsung Galaxy S22, Samsung Galaxy A55, Samsung Galaxy A56, Samsung Galaxy A36, Samsung Galaxy A26, Samsung Galaxy A16, Samsung Galaxy A35, Samsung Galaxy A34, Samsung Galaxy A25, Samsung Galaxy A15. A layout that works on one works on all of them.
Related
window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.