Safari viewport caveats
The table uses stable portrait reference dimensions. On a real iPhone, Safari's address bar, bottom toolbar, scroll state and installed web app mode can change the visible height while the CSS width stays the same.
CSS viewport dimensions and device pixel ratios for the current and recent iPhone models tracked here — a reference for responsive design, media queries and device emulation.
| CSS viewport | ||||
|---|---|---|---|---|
| iPhone 17 Pro Max | 1320 × 2868 | 440 × 956 | 3 | 2025 |
| iPhone Air | 1260 × 2736 | 420 × 912 | 3 | 2025 |
| iPhone 17 Pro | 1206 × 2622 | 402 × 874 | 3 | 2025 |
| iPhone 17 | 1206 × 2622 | 402 × 874 | 3 | 2025 |
| iPhone 16e | 1170 × 2532 | 390 × 844 | 3 | 2025 |
| iPhone 16 Pro Max | 1320 × 2868 | 440 × 956 | 3 | 2024 |
| iPhone 16 Plus | 1290 × 2796 | 430 × 932 | 3 | 2024 |
| iPhone 16 Pro | 1206 × 2622 | 402 × 874 | 3 | 2024 |
| iPhone 16 | 1179 × 2556 | 393 × 852 | 3 | 2024 |
| iPhone 15 Pro Max | 1290 × 2796 | 430 × 932 | 3 | 2023 |
| iPhone 15 Pro | 1179 × 2556 | 393 × 852 | 3 | 2023 |
| iPhone 15 | 1179 × 2556 | 393 × 852 | 3 | 2023 |
| iPhone 14 | 1170 × 2532 | 390 × 844 | 3 | 2022 |
| iPhone SE (3rd gen) | 750 × 1334 | 375 × 667 | 2 | 2022 |
Click column headers to sort.
Media queries match against CSS viewport dimensions, never physical pixels. The current tracked generation spans
440, 420, 402, 390px portrait width groups. Use those values as regression references around your own content-driven breakpoints.
To target high-density assets, use resolution queries such as
min-resolution: 3dppx —
see the DPR guide for details.
The table uses stable portrait reference dimensions. On a real iPhone, Safari's address bar, bottom toolbar, scroll state and installed web app mode can change the visible height while the CSS width stays the same.
Portrait width is the value most teams use for mobile breakpoints. In landscape, width and height swap, but browser UI can reduce the usable height, so test landscape separately for modals, sticky bars and media-heavy pages.
Notches, Dynamic Island and the Home indicator do not change the viewport width, but they do affect safe placement for full-bleed UI. Use CSS safe-area environment variables for edge-aligned controls.
The 2025 models currently tracked use these portrait references: 440 × 956, 420 × 912, 402 × 874, 390 × 844 CSS pixels. Across all tracked models, test the relevant width groups (375, 390, 393, 402, 420, 430, 440 px) instead of choosing a single iPhone width.
iPhone 16e pairs a 1170-pixel-wide panel with a 390-CSS-pixel reference at DPR 3. The table shows that DPR varies across tracked generations.
Width and height swap, and Safari's UI changes the available height. The values listed are portrait-mode CSS dimensions of the full screen, the convention used in media query references.
Browser devtools device emulation uses exactly these CSS dimensions. Or open our viewport checker on a real device to see its live values.