Apple · iPhone · 2024
iPhone 16 Pro Screen Size & CSS Viewport
The iPhone 16 Pro viewport is 402 × 874 CSS pixels with a 1206 × 2622 physical resolution and 3x Retina scale on a 6.3-inch display.
CSS Viewport
402 × 874
Physical Pixels
1206 × 2622
Pixel Ratio (DPR)
3x (460 PPI)
Screen Size
6.3" (19.5:9)
Safe Area Insets
62px / 34px
Tailwind Prefix
Default (< 640px sm)
Dynamic Island top inset (62px portrait), bottom home indicator (34px), and collapsing Safari toolbar.
Copy-paste CSS
iPhone 16 Pro CSS media queries & safe areas
Use content-based responsive breakpoints first, and reach for these snippets when auditing device-specific edge cases.
Responsive max-width query
/* iPhone 16 Pro Portrait (402x874, 3x) */
@media only screen and (max-width: 402px) {
/* styles for iPhone 16 Pro and narrower viewports */
}Exact device & DPR query
/* Target iPhone 16 Pro specifically (402px width, 3x DPR) */
@media only screen
and (device-width: 402px)
and (device-height: 874px)
and (-webkit-min-device-pixel-ratio: 3) {
/* device-specific overrides */
}Safe-area inset helpers
/* iPhone 16 Pro safe-area padding (top 62px, bottom 34px) */
.sticky-header {
padding-top: env(safe-area-inset-top, 62px);
}
.sticky-footer {
padding-bottom: env(safe-area-inset-bottom, 34px);
}Frontend QA notes
What breaks most often on iPhone 16 Pro
Browser environment: iOS Safari (WebKit) · Mobile.
- Verify horizontal padding and button wrapping at 402px — especially pricing toggles and tab bars.
- Use overscroll-behavior: contain on modals and drawers to stop rubber-band background scrolling in iOS Safari.
- Audit sticky footer CTAs with padding-bottom: calc(16px + env(safe-area-inset-bottom)).
Side-by-side
Compare iPhone 16 Pro with nearby devices
Check how viewport width and pixel ratio shift across adjacent models.
| Device | Viewport | Physical | DPR |
|---|---|---|---|
| iPhone 16 Pro | 402 × 874 | 1206 × 2622 | 3x |
| iPhone 16 Pro Max | 440 × 956 | 1320 × 2868 | 3x |
| iPhone 16 | 393 × 852 | 1179 × 2556 | 3x |
| iPhone 17 Pro | 402 × 874 | 1206 × 2622 | 3x |
| iPhone 15 Pro | 393 × 852 | 1179 × 2556 | 3x |
Test iPhone 16 Pro + 50 devices side by side
Stop resizing Chrome DevTools one viewport at a time. Sizzy renders iPhone 16 Pro, narrow 360px Android, iPad, and desktop simultaneously with synced scrolling, unified console, and one-click device screenshots.
Questions
iPhone 16 Pro viewport questions
The iPhone 16 Pro CSS viewport size is 402 × 874 pixels in portrait (874 × 402 pixels in landscape).
The iPhone 16 Pro has a physical screen resolution of 1206 × 2622 pixels on a 6.3" display (460 PPI) with a 3x device pixel ratio.
Use @media only screen and (max-width: 402px) for responsive width targeting, or combine (device-width: 402px) and (-webkit-min-device-pixel-ratio: 3) for high-DPI styling.
You can preview your local site at 402 × 874 alongside other phones, tablets, and desktop viewports simultaneously inside Sizzy, with synced scroll, DevTools, and screenshot capture.