MobileCheck

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.

Galaxy S25360 × 780
Pixel 9412 × 924
Width difference52 px
Visible height~684 vs ~828

The two screens side by side

Galaxy S25360 × 780 CSS px~684 px visiblebars 80 + 16 px
Pixel 9412 × 924 CSS px~828 px visiblebars 80 + 16 px
Page area on first load (outlined) Status bar and browser bars (shaded)Both screens to the same scale in CSS pixels, portrait. Bar heights are the values of our device profiles, so treat the visible area as approximate.

Specs compared

SpecGalaxy S25Pixel 9Difference
Viewport, portrait (CSS px)360 × 780412 × 924−52 px wide, −144 px tall
Device pixel ratio32.625+0.375 for the Galaxy S25
Physical resolution1080 × 23401082 × 2426Pixel 9: 4% more pixels
Aspect ratio19.5:920:9Pixel 9 is taller
Visible height, portrait, with browser bars~684 px~828 px−144 px for the Galaxy S25
Landscape width (CSS px)780 px924 px−144 px for the Galaxy S25
Visible height, landscape~280 px~332 px−52 px for the Galaxy S25
First released202220242 years apart
Engine in MobileCheckChromium (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

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

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.