Native resolution 1080 × 2424 px at 2.625× · 422 PPI · 6.3″ · 9:20. Design at 412 × 916 and export assets at 2.625×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 412 × 916 px |
| CSS viewport (landscape) | 916 × 412 px |
| Native resolution | 1080 × 2424 px |
| Device pixel ratio | 2.625× |
| Pixel density | 422 PPI |
| Screen diagonal | 6.3 in |
| Panel size | 2.56 × 5.74 in |
| Aspect ratio | 9:20 |
| Total pixels | 2.62 MP |
| Released | 2024 |
| Operating system | Android |
Among the 130 phones on this site, the Google Pixel 9 has the 34th largest CSS viewport area. Its 412 px width is 13 px above the 399 px average for this category.
Targeting the Google Pixel 9 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 Google Pixel 9 specifically */
@media only screen
and (device-width: 412px)
and (device-height: 916px)
and (-webkit-device-pixel-ratio: 2.625) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 412px) { /* … */ }
Compare with other Android Phones models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Google Pixel 9 | 412 × 916 | 1080 × 2424 | 2.625× | 422 | 6.3″ |
| Google Pixel 9 Pro | 427 × 952 | 1280 × 2856 | 3× | 495 | 6.3″ |
| Xiaomi 14 | 424 × 944 | 1200 × 2670 | 2.83× | 460 | 6.36″ |
| Samsung Galaxy S24 | 360 × 780 | 1080 × 2340 | 3× | 416 | 6.2″ |
| Google Pixel 8a | 412 × 915 | 1080 × 2400 | 2.625× | 430 | 6.1″ |
| Samsung Galaxy A25 | 360 × 780 | 1080 × 2340 | 3× | 396 | 6.5″ |
| Sony Xperia 1 VI | 393 × 851 | 1080 × 2340 | 2.75× | 396 | 6.5″ |
| Samsung Galaxy A55 | 360 × 780 | 1080 × 2340 | 3× | 390 | 6.6″ |
| Samsung Galaxy A35 | 360 × 780 | 1080 × 2340 | 3× | 390 | 6.6″ |
Questions about the Google Pixel 9 screen
What is the screen size of the Google Pixel 9?
The Google Pixel 9 has a 6.3-inch display. In CSS the viewport measures 412 × 916 px in portrait, and the panel itself has 1080 × 2424 physical pixels at 422 PPI.
What resolution should I design for on the Google Pixel 9?
Design at 412 × 916 and export assets at 2.625×. That gives you 1080 × 2424 px images, which is exactly what the panel renders. Designing directly at 1080 × 2424 means every measurement is 2.625 times larger than the CSS values you will write.
What is the device pixel ratio of the Google Pixel 9?
The Google Pixel 9 reports a device pixel ratio of 2.625. One CSS pixel therefore covers 6.89 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Google Pixel 9?
2 other devices share the 412 × 916 CSS viewport: Google Pixel 10, Google Pixel 9a. 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.