Native resolution 1440 × 3120 px at 3.5× · 512 PPI · 6.7″ · 9:19.5. Design at 412 × 892 and export assets at 3.5×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 412 × 892 px |
| CSS viewport (landscape) | 892 × 412 px |
| Native resolution | 1440 × 3120 px |
| Device pixel ratio | 3.5× |
| Pixel density | 512 PPI |
| Screen diagonal | 6.7 in |
| Panel size | 2.81 × 6.09 in |
| Aspect ratio | 9:19.5 |
| Total pixels | 4.49 MP |
| Released | 2021 |
| Operating system | Android |
Among the 130 phones on this site, the Google Pixel 6 Pro has the 48th largest CSS viewport area. Its 412 px width is 13 px above the 399 px average for this category.
Targeting the Google Pixel 6 Pro 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 6 Pro specifically */
@media only screen
and (device-width: 412px)
and (device-height: 892px)
and (-webkit-device-pixel-ratio: 3.5) {
/* … */
}
/* 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 6 Pro | 412 × 892 | 1440 × 3120 | 3.5× | 512 | 6.7″ |
| Samsung Galaxy S21+ | 384 × 854 | 1080 × 2400 | 2.81× | 394 | 6.7″ |
| Samsung Galaxy S21 Ultra | 480 × 1067 | 1440 × 3200 | 3× | 515 | 6.8″ |
| Samsung Galaxy A52 | 360 × 800 | 1080 × 2400 | 3× | 405 | 6.5″ |
| Google Pixel 6 | 412 × 915 | 1080 × 2400 | 2.625× | 411 | 6.4″ |
| Samsung Galaxy S21 | 360 × 800 | 1080 × 2400 | 3× | 421 | 6.2″ |
| Google Pixel 7 Pro | 412 × 892 | 1440 × 3120 | 3.5× | 512 | 6.7″ |
| Samsung Galaxy S22 Ultra | 480 × 1029 | 1440 × 3088 | 3× | 500 | 6.8″ |
| Samsung Galaxy S22+ | 384 × 833 | 1080 × 2340 | 2.81× | 390 | 6.6″ |
Questions about the Google Pixel 6 Pro screen
What is the screen size of the Google Pixel 6 Pro?
The Google Pixel 6 Pro has a 6.7-inch display. In CSS the viewport measures 412 × 892 px in portrait, and the panel itself has 1440 × 3120 physical pixels at 512 PPI.
What resolution should I design for on the Google Pixel 6 Pro?
Design at 412 × 892 and export assets at 3.5×. That gives you 1440 × 3120 px images, which is exactly what the panel renders. Designing directly at 1440 × 3120 means every measurement is 3.5 times larger than the CSS values you will write.
What is the device pixel ratio of the Google Pixel 6 Pro?
The Google Pixel 6 Pro reports a device pixel ratio of 3.5. One CSS pixel therefore covers 12.25 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Google Pixel 6 Pro?
1 other device shares the 412 × 892 CSS viewport: Google Pixel 7 Pro. 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.