Skip to content

Pixel 8a Simulator: screen size 412×915, DPR 2.625

The Pixel 8a 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 8a specs

BrandGoogle
TypePhone
OSAndroid
ReleasedMay 2024
Viewport (CSS px, portrait)412×915
Pixel ratio (DPR)2.625
Physical resolution1080×2400
TouchYes
User agentMozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Mobile Safari/537.36
Specs verifiedPending verification
Sourcesgithub.com, support.google.com

Same viewport

Devices with the same 412×915 viewport

Similar sizes

Devices close to the Pixel 8a

Compare every size in the google pixel screen sizes and viewports list.

CSS

Media query for the Pixel 8a

This query matches a 412px-wide viewport and anything narrower.

@media (max-width: 412px) {
  /* styles for Pixel 8a and narrower screens */
}

FAQ

Pixel 8a questions

What is the Pixel 8a 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 8a?

Pixel 8, Pixel 7, 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 8a size?

Open the free iHateBugs Mobile Simulator on your page and pick Pixel 8a. 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.