iPhone 17 Pro Simulator: screen size 402×874, DPR 3
The iPhone 17 Pro preset uses a 402×874 CSS pixel viewport (portrait) at a 3× device pixel ratio, so the screen draws 1206×2622 physical pixels.
Specs pending verification. The resolution comes from the maker or Chrome DevTools, but the viewport and pixel ratio have not been published by the maker or measured on the device.
iPhone 17 Pro specs
| Brand | Apple |
|---|---|
| Type | Phone |
| OS | iOS |
| Released | September 2025 |
| Viewport (CSS px, portrait) | 402×874 |
| Pixel ratio (DPR) | 3 |
| Physical resolution | 1206×2622 |
| Touch | Yes |
| User agent | Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Mobile/15E148 Safari/604.1 |
| Specs verified | Pending verification |
| Sources | support.apple.com, support.apple.com, apple.com |
Same viewport
Devices with the same 402×874 viewport
Similar sizes
Devices close to the iPhone 17 Pro
Compare every size in the iphone screen sizes and viewports list.
CSS
Media query for the iPhone 17 Pro
This query matches a 402px-wide viewport and anything narrower.
@media (max-width: 402px) {
/* styles for iPhone 17 Pro and narrower screens */
}FAQ
iPhone 17 Pro questions
What is the iPhone 17 Pro viewport size?
402×874 CSS pixels in portrait, which is what CSS media queries see. With a device pixel ratio of 3, that is 1206×2622 physical pixels.
Which devices have the same viewport as the iPhone 17 Pro?
iPhone 18 Pro, iPhone 17, iPhone 16 Pro use the same 402×874 viewport, so a page lays out identically on them.
How do I test my site at iPhone 17 Pro size?
Open the free iHateBugs Mobile Simulator on your page and pick iPhone 17 Pro. The page renders at 402×874 CSS pixels, and it works on localhost too. In CSS, @media (max-width: 402px) matches this width and anything narrower.