Native resolution 1440 × 3120 px at 3× · 505 PPI · 6.8″ · 9:19.5. Design at 480 × 1040 and export assets at 3×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 480 × 1040 px |
| CSS viewport (landscape) | 1040 × 480 px |
| Native resolution | 1440 × 3120 px |
| Device pixel ratio | 3× |
| Pixel density | 505 PPI |
| Screen diagonal | 6.8 in |
| Panel size | 2.85 × 6.18 in |
| Aspect ratio | 9:19.5 |
| Total pixels | 4.49 MP |
| Released | 2024 |
| Operating system | Android |
Among the 130 phones on this site, the Samsung Galaxy S24 Ultra has the 5th largest CSS viewport area. Its 480 px width is 81 px above the 399 px average for this category.
Targeting the Samsung Galaxy S24 Ultra 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 S24 Ultra specifically */
@media only screen
and (device-width: 480px)
and (device-height: 1040px)
and (-webkit-device-pixel-ratio: 3) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 480px) { /* … */ }
Compare with other Android Phones models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Samsung Galaxy S24 Ultra | 480 × 1040 | 1440 × 3120 | 3× | 505 | 6.8″ |
| Google Pixel 9 Pro XL | 448 × 997 | 1344 × 2992 | 3× | 486 | 6.8″ |
| OnePlus 12 | 450 × 990 | 1440 × 3168 | 3.2× | 510 | 6.82″ |
| Xiaomi 14 Ultra | 440 × 979 | 1440 × 3200 | 3.27× | 522 | 6.73″ |
| Samsung Galaxy S24+ | 384 × 832 | 1440 × 3120 | 3.75× | 513 | 6.7″ |
| Samsung Galaxy S24 FE | 360 × 780 | 1080 × 2340 | 3× | 385 | 6.7″ |
| Samsung Galaxy Z Flip 6 | 360 × 880 | 1080 × 2640 | 3× | 425 | 6.7″ |
| Samsung Galaxy A16 | 360 × 780 | 1080 × 2340 | 3× | 385 | 6.7″ |
| Motorola Edge 50 Pro | 412 × 919 | 1220 × 2712 | 2.96× | 446 | 6.7″ |
Questions about the Samsung Galaxy S24 Ultra screen
What is the screen size of the Samsung Galaxy S24 Ultra?
The Samsung Galaxy S24 Ultra has a 6.8-inch display. In CSS the viewport measures 480 × 1040 px in portrait, and the panel itself has 1440 × 3120 physical pixels at 505 PPI.
What resolution should I design for on the Samsung Galaxy S24 Ultra?
Design at 480 × 1040 and export assets at 3×. That gives you 1440 × 3120 px images, which is exactly what the panel renders. Designing directly at 1440 × 3120 means every measurement is 3 times larger than the CSS values you will write.
What is the device pixel ratio of the Samsung Galaxy S24 Ultra?
The Samsung Galaxy S24 Ultra 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 S24 Ultra?
1 other device shares the 480 × 1040 CSS viewport: Samsung Galaxy S25 Ultra. 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.