Google PixelAndroid · phone · 2024

Google Pixel 8a viewport size

412 × 915CSS px · 2.625× DPR · 1080×2400 physical

The Google Pixel 8a gives web pages a 412 × 915 CSS pixel viewport in portrait. That’s the width your layout and media queries actually see, not the 1080 × 2400 physical pixels of the screen: with a device pixel ratio of 2.625, every CSS pixel is 2.625 × 2.625 real pixels.

CSS viewport (portrait)412 × 915what web pages get
Landscape915 × 412phones and tablets turned sideways
Device pixel ratio2.625×1 CSS px = 2.625 × 2.625 screen pixels
Physical resolution1080 × 24006.1″ screen
Visible in the browser412 × 789Chrome (Android), first load
Released2024Android phone

See your site on a Google Pixel 8a

Paste your address (or localhost:3000). doesitfit shows it at exactly 412 × 915, with Chrome (Android)’s bars if you want them, and tells you if anything spills.

Free, no sign-up. Or ask Claude, ChatGPT or Codex to check it.

What a web page actually sees

The full viewport is 412 × 915, but the browser’s own bars take some of it. In Chrome (Android) a page gets about 412 × 789 on first load (46px status bar, 56px Chrome toolbar and 24px gesture bar on first load). That’s your real “above the fold”. Use 100dvh instead of 100vh for full-height sections, or they’ll hide behind the toolbar (why).

SettingWidthHeight
Full viewport (portrait)412px915px
Visible on first load (Chrome (Android))412px789px
Landscape (full)915px412px

What it means for your CSS

Breakpoints

At 412px: Tailwind uses base styles only (below sm, 640px); Bootstrap uses xs. In landscape (915px): Tailwind uses md (sm: md: styles apply), Bootstrap md.

Tailwind breakpoints on real devices

Content width

With 16px of padding on each side your text column is 380px; with 24px it’s 364px. Text closer than 8px to the edge looks cramped (more).

Sharp images

A full-width image needs about 1082px of real pixels (412 × 2.625).

<img src="hero-1082.jpg"
  srcset="hero-800.jpg 800w, hero-1082.jpg 1082w"
  sizes="100vw" alt="…">

Styles for this width

Content-first breakpoints beat device lists, but if something breaks at this width:

@media (max-width: 412px) {
  /* screens 412px wide and narrower */
}

How common is 412 × 915?

412 × 915 is the #7 most common phone screen size worldwide, with 3.13% of mobile traffic (Aug 2026, StatCounter).

Same viewport:

Close in size:

Everything about the 412 × 915 viewport · All devices 412px wide · All Google Pixel sizes

Questions people ask

What is the viewport size of the Google Pixel 8a?

412 × 915 CSS pixels in portrait (915 × 412 in landscape), with a device pixel ratio of 2.625. The screen itself is 1080 × 2400 physical pixels.

How much of the Google Pixel 8a screen does a web page get in Chrome?

About 412 × 789 on first load: the 46px status bar, 56px Chrome toolbar and 24px gesture bar on first load. Design your first screen for that height, not the full 915px.

Which CSS breakpoint does the Google Pixel 8a fall into?

At 412px wide, Tailwind CSS uses base styles only (below sm, 640px) and Bootstrap uses its xs tier. In landscape (915px) Tailwind uses md (sm: md: styles apply).

How wide should images be for the Google Pixel 8a?

A full-width image needs about 1082px of real pixels (412 CSS px × DPR 2.625) to look sharp. Use srcset so smaller screens don’t download it.

How can I test my website on a Google Pixel 8a without one?

Open doesitfit.lol, paste your address (localhost works too) and pick the Google Pixel 8a. It shows your site at exactly 412 × 915 CSS pixels and flags anything that spills past the edge.

Guides that help

About these numbers

Confidence: Good: from official specs and reports. Android Chrome rounds the CSS size up (ceil of pixels ÷ DPR).

Sources include DeviceAtlas, Chrome DevTools device list (EmulatedDevices.ts), iosref.com, ios-resolution.com. Researched September 2026.