iPhone 17 Pro vs Pixel 9 Pro: screen size and viewport
The iPhone 17 Pro lays web pages out at 402 × 874 CSS px with a pixel ratio of 3; the Pixel 9 Pro at 427 × 952 with 3. The Pixel 9 Pro is 25 px wider and 78 px taller.
The two screens side by side
Specs compared
| Spec | iPhone 17 Pro | Pixel 9 Pro | Difference |
|---|---|---|---|
| Viewport, portrait (CSS px) | 402 × 874 | 427 × 952 | −25 px wide, −78 px tall |
| Device pixel ratio | 3 | 3 | same |
| Physical resolution | 1206 × 2622 | 1281 × 2856 | Pixel 9 Pro: 16% more pixels |
| Aspect ratio | 19.5:9 | 20:9 | Pixel 9 Pro is taller |
| Visible height, portrait, with browser bars | ~684 px | ~856 px | −172 px for the iPhone 17 Pro |
| Landscape width (CSS px) | 874 px | 952 px | −78 px for the iPhone 17 Pro |
| Visible height, landscape | ~352 px | ~347 px | +5 px for the iPhone 17 Pro |
| First released | 2024 | 2024 | same year |
| Engine in MobileCheck | WebKit (Safari) | Chromium (Chrome) | different engines |
CSS px are the units media queries see. Visible heights subtract the status bar and the Safari on iOS and 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 Pro is 25 CSS px wider (427 vs 402, 6% more). One common breakpoint falls between them: (min-width: 414px) (a common large-phone test width) matches the Pixel 9 Pro but not the iPhone 17 Pro, 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 189 px wide on the Pixel 9 Pro and 177 px on the iPhone 17 Pro. Check that buttons, prices and long words still fit in the narrower one.
Pixel density and image sizes
Both draw each CSS pixel with 3 × 3 device pixels, so text and icons are equally sharp. A full-width image (sizes="100vw") needs about 1206 px on the iPhone 17 Pro and 1281 px on the Pixel 9 Pro to look sharp.
With a srcset such as 640w, 828w, 1080w, 1290w, 1440w, 1640w, 2048w, the browser would normally pick the 1290w file on the iPhone 17 Pro and the same one on the Pixel 9 Pro.
Above 2× most people can't see much difference in photos, so capping photo candidates around twice the CSS width saves bytes on both. Keep SVG for icons and logos: they stay sharp at any ratio.
How much fits above the fold
On first load about 856 px of the page is visible on the Pixel 9 Pro and 684 px on the iPhone 17 Pro: 172 px less (25%) on the iPhone 17 Pro, roughly 7 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 Pro, it can end up below it on the iPhone 17 Pro. 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 Pro 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 iPhone 17 Pro is 874 px wide and the Pixel 9 Pro 952 px. The visible height drops to about 352 and 347 px, so a 64 px sticky header covers 18% and 18% of the screen — under the 25% at which MobileCheck flags fixed bars covering the page.
Different browser engines
The iPhone 17 Pro renders with WebKit (Safari's engine) and the Pixel 9 Pro with Chromium (Chrome's), so fonts, form controls and some CSS can differ on top of the size difference. Chrome DevTools draws every emulated device with Chromium, which hides WebKit-only problems — see how to test on an iPhone and on Android.
More about these devices
- iPhone 17 Pro viewport size — one screen for the iPhone 16 Pro / 17 / 17 Pro
- Pixel 9 Pro viewport size
Or open the free check with the iPhone 17 Pro and the Pixel 9 Pro preselected: full-page screenshots in WebKit and Chromium, with problems such as small text and crowded buttons highlighted.
Related comparisons
- iPhone 16 Pro vs Galaxy S24 Ultra — 402 vs 384 px wide, 3× vs 2.813×
- 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×
- Xiaomi 15 vs iPhone 17 — 400 vs 402 px wide, 3× vs 3×
- Galaxy Z Flip 6 vs iPhone 16 Pro — 360 vs 402 px wide, 3× vs 3×
- iPhone 16 vs iPhone 17 — 393 vs 402 px wide, 3× vs 3×
Compare other devices → · All mobile viewport sizes →
Frequently asked questions
Is the iPhone 17 Pro screen bigger than the Pixel 9 Pro?
In CSS pixels, which decide how much of a page fits, the Pixel 9 Pro is larger: 427 × 952 against 402 × 874. The Pixel 9 Pro has more physical pixels (1281 × 2856), which makes it sharper rather than roomier.
Do I need different CSS for the iPhone 17 Pro and the Pixel 9 Pro?
Only if your breakpoints fall between 402 and 427 px: a min-width query at 414px 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 iPhone 17 Pro vs the Pixel 9 Pro?
About 402 × 684 CSS px on the iPhone 17 Pro and 427 × 856 on the Pixel 9 Pro when a page first opens in portrait, after the status bar and the browser's bars. Bar heights are our device profiles' estimates.