iPhone 16 Pro screen size
The iPhone 16 Pro renders websites at 402×874 CSS pixels in portrait and 874×402 in landscape.
Viewport specs
| CSS viewport (portrait) | 402 × 874 px |
| CSS viewport (landscape) | 874 × 402 px |
| Aspect ratio | 0.460:1 |
| Breakpoint category | mobile |
| Device type | phone |
| Brand | Apple |
CSS media query for iPhone 16 Pro
/* iPhone 16 Pro — portrait */
@media (max-width: 402px) {
/* your styles */
}
/* iPhone 16 Pro — landscape */
@media (max-width: 874px) and (orientation: landscape) {
/* your styles */
}Testing tips for iPhone 16 Pro
Viewports this narrow are where layouts most often break: check that nothing scrolls sideways, buttons are at least 44px tall, and body text is 16px or larger.
Compare it against a tablet and a desktop width in the same view to catch breakpoint jumps — Responsivly's multi-view does this in one click.
FAQ
What is the iPhone 16 Pro viewport size?
The iPhone 16 Pro has a CSS viewport of 402×874 pixels in portrait orientation and 874×402 pixels in landscape.
What media query targets the iPhone 16 Pro?
Use @media (max-width: 402px) for portrait styles, or @media (min-width: 402px) and (max-width: 402px) to target this exact width.
How do I test my website on the iPhone 16 Pro?
Open Responsivly, paste your URL and pick iPhone 16 Pro from the device list — it renders your site at 402×874 for free, no signup.