Galaxy S25 vs Pixel 9: screen size and viewport
The Galaxy S25 lays web pages out at 360 × 780 CSS px with a pixel ratio of 3; the Pixel 9 at 412 × 924 with 2.625. The Pixel 9 is 52 px wider and 144 px taller.
The two screens side by side
Specs compared
| Spec | Galaxy S25 | Pixel 9 | Difference |
|---|---|---|---|
| Viewport, portrait (CSS px) | 360 × 780 | 412 × 924 | −52 px wide, −144 px tall |
| Device pixel ratio | 3 | 2.625 | +0.375 for the Galaxy S25 |
| Physical resolution | 1080 × 2340 | 1082 × 2426 | Pixel 9: 4% more pixels |
| Aspect ratio | 19.5:9 | 20:9 | Pixel 9 is taller |
| Visible height, portrait, with browser bars | ~684 px | ~828 px | −144 px for the Galaxy S25 |
| Landscape width (CSS px) | 780 px | 924 px | −144 px for the Galaxy S25 |
| Visible height, landscape | ~280 px | ~332 px | −52 px for the Galaxy S25 |
| First released | 2022 | 2024 | 2 years apart |
| Engine in MobileCheck | Chromium (Chrome) | Chromium (Chrome) | same engine |
CSS px are the units media queries see. Visible heights subtract the status bar and the Chrome on Android bars as set in our device profiles; real bar heights vary with settings and scrolling. The release year is that of the first model with each screen.
What this means for your layout
How the width difference affects your layout
The Pixel 9 is 52 CSS px wider (412 vs 360, 14% more). 2 common breakpoints fall between them: (min-width: 375px) (a common small-phone test width), (min-width: 390px) (a common phone test width) match the Pixel 9 but not the Galaxy S25, so a rule written for that width applies on only one of the two.
In a 2-column card grid with 16 px page padding and 16 px gaps, each card is 182 px wide on the Pixel 9 and 156 px on the Galaxy S25. Check that buttons, prices and long words still fit in the narrower one.
Pixel density and image sizes
The Galaxy S25 has the denser screen: 3× against 2.625×. A full-width image (sizes="100vw") needs about 1080 px on the Galaxy S25 and 1082 px on the Pixel 9 to look sharp — more on the Galaxy S25 even though its viewport is narrower.
With a srcset such as 640w, 828w, 1080w, 1290w, 1440w, 1640w, 2048w, the browser would normally pick the 1080w file on the Galaxy S25 and the 1290w file on the Pixel 9. Leave out the 1290w candidate and the Pixel 9 upscales a smaller file.
The Pixel 9's ratio of 2.625 is fractional: one CSS pixel isn't a whole number of device pixels, so 1 px borders and hairlines can be rounded unevenly. Check thin lines on that screen rather than assuming they match.
How much fits above the fold
On first load about 828 px of the page is visible on the Pixel 9 and 684 px on the Galaxy S25: 144 px less (21%) on the Galaxy S25, roughly 6 lines of 16 px body text at a 1.5 line height.
If your main button sits just above the fold on the Pixel 9, it can end up below it on the Galaxy S25. Keep the headline and the main action within the first 684 px, and size full-screen sections with 100svh rather than 100vh — see the 100vh problem on mobile.
Relative to its width, the Pixel 9 has the taller screen (19.5:9 vs 20:9), so the same content is laid out narrower but more of its length fits at once.
In landscape
Turned sideways, the Galaxy S25 is 780 px wide and the Pixel 9 924 px; (min-width: 840px) matches only the Pixel 9 in landscape. The visible height drops to about 280 and 332 px, so a 64 px sticky header covers 23% and 19% of the screen — under the 25% at which MobileCheck flags fixed bars covering the page.
Same browser engine
Both run Android, so both render with Chromium, the engine behind Chrome. Engine quirks are the same; the differences above come from size and density alone. See how to test a website on Android.
More about these devices
- Galaxy S25 viewport size — one screen for the Samsung Galaxy S22 / S23 / S24 / S25
- Pixel 9 viewport size — one screen for the Google Pixel 9 / 9a / 10
Or open the free check with the Galaxy S25 and the Pixel 9 preselected: full-page screenshots in Chromium, with problems such as small text and crowded buttons highlighted.
Related comparisons
- iPhone 17 vs Galaxy S25 — 402 vs 360 px wide, 3× vs 3×
- iPhone 17 vs Pixel 9 — 402 vs 412 px wide, 3× vs 2.625×
- iPhone 17 Pro Max vs Pixel 10 — 440 vs 412 px wide, 3× vs 2.625×
- iPhone 15 vs Galaxy S24 — 393 vs 360 px wide, 3× vs 3×
- iPhone Air vs Galaxy S25 — 420 vs 360 px wide, 3× vs 3×
- iPhone Air vs Pixel 9 — 420 vs 412 px wide, 3× vs 2.625×
Compare other devices → · All mobile viewport sizes →
Frequently asked questions
Is the Galaxy S25 screen bigger than the Pixel 9?
In CSS pixels, which decide how much of a page fits, the Pixel 9 is larger: 412 × 924 against 360 × 780. The Pixel 9 has more physical pixels (1082 × 2426), which makes it sharper rather than roomier.
Do I need different CSS for the Galaxy S25 and the Pixel 9?
Only if your breakpoints fall between 360 and 412 px: a min-width query at 375px or 390px applies to one and not the other. A fluid layout handles both without device-specific rules.
How much of a web page is visible on the Galaxy S25 vs the Pixel 9?
About 360 × 684 CSS px on the Galaxy S25 and 412 × 828 on the Pixel 9 when a page first opens in portrait, after the status bar and Chrome on Android's bars. Bar heights are our device profiles' estimates.