Pixel 7 Simulator: screen size 412×915, DPR 2.625
The Pixel 7 preset uses a 412×915 CSS pixel viewport (portrait) at a 2.625× device pixel ratio, so the screen draws 1080×2400 physical pixels.
Specs pending verification. The resolution comes from the maker or Chrome DevTools, but the viewport and pixel ratio have not been published by the maker or measured on the device.
Pixel 7 specs
| Brand | |
|---|---|
| Type | Phone |
| OS | Android |
| Released | October 2022 |
| Viewport (CSS px, portrait) | 412×915 |
| Pixel ratio (DPR) | 2.625 |
| Physical resolution | 1080×2400 |
| Touch | Yes |
| User agent | Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Mobile Safari/537.36 |
| Specs verified | Pending verification |
| Sources | github.com, support.google.com |
Same viewport
Devices with the same 412×915 viewport
Similar sizes
Devices close to the Pixel 7
Compare every size in the google pixel screen sizes and viewports list.
CSS
Media query for the Pixel 7
This query matches a 412px-wide viewport and anything narrower.
@media (max-width: 412px) {
/* styles for Pixel 7 and narrower screens */
}FAQ
Pixel 7 questions
What is the Pixel 7 viewport size?
412×915 CSS pixels in portrait, which is what CSS media queries see. With a device pixel ratio of 2.625, that is 1080×2400 physical pixels.
Which devices have the same viewport as the Pixel 7?
Pixel 8a, Pixel 8, Galaxy S20 Ultra use the same 412×915 viewport, so a page lays out identically on them.
How do I test my site at Pixel 7 size?
Open the free iHateBugs Mobile Simulator on your page and pick Pixel 7. The page renders at 412×915 CSS pixels, and it works on localhost too. In CSS, @media (max-width: 412px) matches this width and anything narrower.