iPhone 15 screen size
The iPhone 15 renders websites at 393×852 CSS pixels in portrait and 852×393 in landscape. It shares the exact same viewport as the iPhone 16, iPhone 15 Pro, so one test covers them all.
Viewport specs
| CSS viewport (portrait) | 393 × 852 px |
| CSS viewport (landscape) | 852 × 393 px |
| Aspect ratio | 0.461:1 |
| Breakpoint category | mobile |
| Device type | phone |
| Brand | Apple |
CSS media query for iPhone 15
/* iPhone 15 — portrait */
@media (max-width: 393px) {
/* your styles */
}
/* iPhone 15 — landscape */
@media (max-width: 852px) and (orientation: landscape) {
/* your styles */
}Testing tips for iPhone 15
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 15 viewport size?
The iPhone 15 has a CSS viewport of 393×852 pixels in portrait orientation and 852×393 pixels in landscape.
What media query targets the iPhone 15?
Use @media (max-width: 393px) for portrait styles, or @media (min-width: 393px) and (max-width: 393px) to target this exact width.
How do I test my website on the iPhone 15?
Open Responsivly, paste your URL and pick iPhone 15 from the device list — it renders your site at 393×852 for free, no signup.