iPhone 11 & XR viewport size
iPhone 11 (2019) lays web pages out at 414 × 896 CSS pixels with a pixel ratio of 2. The iPhone XR uses exactly the same viewport and pixel ratio, so everything on this page applies to it too.
Browser bars and the visible area
The viewport height is the whole screen, but Safari on iOS keeps part of it for its own interface. In portrait about 47 px at the top (status bar and notch area) and 130 px at the bottom (Safari's address bar and toolbar) are covered, leaving roughly 414 × 719 CSS px for the page when it first opens. In landscape the bars take about 50 px.
That is why 100vh can be taller than what people see. Use 100svh for the smallest visible height, 100dvh for the current one, and keep the most important content and buttons within the first 719 px.
Your screen vs the iPhone 11
Comparing with your browser window needs JavaScript. The iPhone 11 is 414 × 896 CSS px; check your own viewport.
Media queries that match the iPhone 11 & XR
| Media query | Portrait (414px) | Landscape (896px) |
|---|---|---|
(min-width: 360px) | matches | matches |
(min-width: 390px) | matches | matches |
(min-width: 414px) | matches | matches |
(min-width: 480px) | no | matches |
(min-width: 600px) | no | matches |
(min-width: 768px) | no | matches |
(min-width: 1024px) | no | no |
(min-resolution: 2dppx) | matches | |
(pointer: coarse) and (hover: none) | matches (touch screen) | |
/* iPhone 11, portrait */
@media (max-width: 414px) and (orientation: portrait) { … }
/* high-density screen (2×) */
@media (min-resolution: 2dppx) { … }
Rather than targeting one device, write fluid styles and add breakpoints where your layout needs them — the same CSS then works on the 5 other devices with the same width and hundreds of models with similar sizes.
Testing on the iPhone 11 & XR
Apple devices render with WebKit, the engine behind Safari. Chrome's device toolbar only resizes Chromium, so fonts, form controls and toolbar behaviour can differ from a real iPhone. MobileCheck renders iPhones with WebKit — see how to test a website on an iPhone.
The iPhone 11 is one of the 54 devices in the free check.
Same viewport width
- iPhone 7 Plus — 414 × 736, 3×
- iPhone 8 Plus — 414 × 736, 3×
- iPhone XR — 414 × 896, 2×
- iPhone XS Max — 414 × 896, 3×
- iPhone 11 Pro Max — 414 × 896, 3×
Similar phones
- iPhone Air — 420 × 912, 3× (2025)
- iPhone 16 Pro / 17 / 17 Pro — 402 × 874, 3× (2024)
- iPhone 12 / 13 Pro Max, 14 Plus — 428 × 926, 3× (2020)
- iPhone 14 Pro Max / 15 Plus / 15 Pro Max / 16 Plus — 430 × 932, 3× (2022)
- iPhone 14 Pro / 15 / 15 Pro / 16 — 393 × 852, 3× (2022)
Screen size comparisons
- iPhone 11 vs iPhone 12 — 414 vs 390 px wide, 2× vs 3×
- iPhone 11 vs iPhone 15 — 414 vs 393 px wide, 2× vs 3×
- iPhone 8 Plus vs iPhone 11 — both 414 px wide, 736 vs 896 px tall
All mobile viewport sizes → · Compare any two devices →
Frequently asked questions
What is the iPhone 11 & XR viewport size?
414 × 896 CSS pixels in portrait and 896 × 414 in landscape, with a device pixel ratio of 2.
What is the iPhone 11 & XR screen resolution?
828 × 1792 physical pixels (the CSS viewport multiplied by the pixel ratio of 2).
How much of the screen does the browser take on the iPhone 11 & XR?
About 47 px at the top and 130 px at the bottom in portrait with Safari on iOS, so roughly 719 CSS px of the page is visible when it first opens.