# iPhone 18 Pro Simulator: screen size 402×874, DPR 3

> Test responsive layouts at iPhone 18 Pro screen size: 402×874 CSS px, pixel ratio 3. Free mobile simulator preset from iHateBugs.

Canonical: https://ihatebugs.dev/devices/iphone-18-pro
Last updated: 2026-10-17

The iPhone 18 Pro preset uses a 402×874 CSS pixel viewport (portrait) at a 3× device pixel ratio, so the screen draws 1206×2622 physical pixels.

Test it free in the [Mobile Simulator](https://ihatebugs.dev/mobile-simulator).

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.

## Specs

| Field | Value |
| --- | --- |
| Brand | Apple |
| Type | Phone |
| OS | iOS |
| Released | September 2026 |
| 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](https://support.apple.com/en-us/148590), [support.apple.com](https://support.apple.com/en-us/108044), [apple.com](https://www.apple.com/newsroom/2026/09/apple-debuts-iphone-18-pro-and-iphone-18-pro-max/) |

## Same viewport as

- [iPhone 17](https://ihatebugs.dev/devices/iphone-17): Apple, 402×874 CSS px viewport, released September 2025
- [iPhone 17 Pro](https://ihatebugs.dev/devices/iphone-17-pro): Apple, 402×874 CSS px viewport, released September 2025
- [iPhone 16 Pro](https://ihatebugs.dev/devices/iphone-16-pro): Apple, 402×874 CSS px viewport, released September 2024

## Similar sizes

- [OnePlus 13s](https://ihatebugs.dev/devices/oneplus-13s): OnePlus, 405×880 CSS px viewport, released June 2025
- [Vivo X300](https://ihatebugs.dev/devices/vivo-x300): Vivo, 405×880 CSS px viewport, released December 2025
- [Xiaomi 15](https://ihatebugs.dev/devices/xiaomi-15): Xiaomi, 400×890 CSS px viewport, released March 2025
- [POCO X7 Pro](https://ihatebugs.dev/devices/poco-x7-pro): POCO, 407×904 CSS px viewport, released January 2025

## CSS media query

```css
@media (max-width: 402px) {
  /* styles for iPhone 18 Pro and narrower screens */
}
```

## FAQ

### What is the iPhone 18 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 18 Pro?

iPhone 17, iPhone 17 Pro, 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 18 Pro size?

Open the free iHateBugs Mobile Simulator on your page and pick iPhone 18 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.
