ViewPortal
Features Multi-view Guides FAQ
Download
Home / Guides / iPhone Duo viewport size
iPhone Duo

iPhone Duo viewport size: what Safari gives your page

The iPhone Duo gives a web page four quite different widths, and none of them is the 466-pixel figure most device tables quote. Here are the numbers Safari actually uses, what tends to break, and how to test them.

Updated 7 November 2026

Short answerIn Safari 27.1 a page on iPhone Duo is 382 CSS px wide on the closed outer display (594 px in landscape), 669 px open in portrait and 951 px open in landscape. Two Safari windows side by side get 385 px each. Fold-detection APIs are off by default, so build a fluid layout and test those widths.

The numbers Safari uses

WebKit published the iPhone Duo’s viewport sizes when the phone launched with Safari 27.1 on 23 October 2026. These are CSS pixels: what window.innerWidth and your media queries see. SVH is the height with Safari’s controls showing (100svh); LVH is the height with them collapsed (100lvh).

PoseWidthSVHLVH
Outer display, portrait382580618
Outer display, landscape594368406
Inner display, portrait (one tab)669867902
Inner display, landscape (one tab)951585620
Inner display, two windows side by side385571609

Source: WebKit, “WebKit Features for Safari 27.1”. The inner display is 2853 × 2007 physical pixels, which is 951 × 669 points at 3×, so devicePixelRatio is 3 like other current iPhones.

Why it isn’t 466 pixels

Many device sites list the Duo’s outer display as 466 × 678. That is the whole screen. On the closed phone Safari puts its status bar and buttons in a column down the side instead of a toolbar at the bottom, and that column takes 84 points. The page gets the remaining 382.

One developer who measured the Duo simulator found that screen.width still reports 466 after unfolding, so don’t size layouts from screen; use innerWidth, media queries or container queries. WebKit says web content doesn’t yet extend behind that side column: Safari fills it with the page’s background colour, and WebKit is researching a safer option than viewport-fit=cover for that space. No date has been given.

Owners have noticed. In the MacRumors thread on Apple’s plans for the outer display, one member wrote that “most webpages look like poorly embedded iFrames on the smaller screen”.

What tends to break

  • Fixed widths just above 382. A 390 or 400 px element, a hard-coded min-width on a card, or a carousel sized for a 390 px phone overflows sideways. Most sites cope with the 375 px iPhone SE, so 382 itself is rarely the problem: fixed widths are.
  • The short outer landscape. 594 × 368 is wide enough for a two-column layout but very short. A sticky header and a cookie banner can leave almost no content on screen.
  • 669 px, between the usual breakpoints. It sits above a 640 px breakpoint and below 768, so a page can switch to a tablet layout with phone-sized touch targets, or stay in a stretched phone layout. Check both sides of your breakpoint.
  • 100vh heroes. On the outer display 100vh resolves to the large height (618), taller than the visible area when Safari’s controls show (580). Use 100svh or 100dvh, with 100vh as a fallback.
  • Hover-only controls. Every pose is a touch screen. Gate hover menus on @media (hover: hover) and (pointer: fine), not on width: 951 px wide does not mean a mouse.
  • User-agent sniffing. The Duo identifies as an iPhone. WebKit’s advice is to drop UA checks and use responsive design and feature detection.

Fold detection: available, but off by default

Safari 27.1 includes the Device Posture API and the Viewport Segments API as a developer preview. They are off unless you turn them on in Settings > Apps > Safari > Advanced > Feature Flags, so your visitors won’t have them. WebKit says there “may still be time to evolve how they work”.

Treat them as progressive enhancement. A layout that only splits across the fold when the browser reports two segments is safe, because everyone else gets the normal layout:

/* Normal fluid layout first. Then, only where the browser
   reports two side-by-side segments: */
@media (horizontal-viewport-segments: 2) {
  .reader {
    display: grid;
    grid-template-columns:
      env(viewport-segment-width 0 0)
      env(viewport-segment-width 1 0);
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
  }
}

A folded or fully open phone reports the posture continuous; only a partly folded phone reports folded. Folding and unfolding fires an ordinary resize without reloading the page, so JavaScript that measures the layout once at load will be wrong after the first fold.

How to test the Duo widths

  1. Xcode 27.1 or later. Device Hub can create an iPhone Duo simulator with real Safari, including the side column and fold poses. It is free but needs a Mac with Xcode installed.
  2. Desktop browser devtools. Set custom sizes of 382 × 580, 594 × 368, 669 × 867, 951 × 585 and 385 × 571. This catches overflow and breakpoint problems quickly, but it is a different engine and doesn’t draw Safari’s side column.
  3. A real iPhone Duo, if you have one. Rotate it and fold it with the page open, because the transitions are where measured-once layouts fail.
  4. On an iPhone or iPad you already own, a viewport tool such as ViewPortal (below) renders the page at the Duo widths with Safari’s engine.

Whichever you use, check the page after a fold, not only after a fresh load.

Testing Duo widths in ViewPortal

ViewPortal has iPhone Duo (closed) and iPhone Duo (open) presets. The closed preset lays your page out at Safari’s real width, 382 px in portrait and 594 px in landscape, with a drawn-in Safari side column that takes its colour from the page’s right edge. The open preset starts in landscape at 951 px, like unfolding the phone, and rotates to 669 px portrait. The readout shows the size the page actually gets.

Add a custom 385 × 571 size for the two-windows case, and use multi-view on an iPad or iPhone in landscape to see the Duo next to an ordinary iPhone and a Mac. Be aware of the limits: ViewPortal uses WKWebView, the same engine as Safari, but it isn’t Safari, and its presets use the full display height rather than Safari’s SVH, so check above-the-fold content against the table above. The Duo presets were checked against the iPhone Duo simulator. ViewPortal is £4.99 once, with no accounts and no tracking.

ViewPortal on the App Store

Questions people ask

What is the iPhone Duo’s CSS viewport width?
382 px on the closed outer display in portrait and 594 px in landscape. Open, it is 669 px in portrait and 951 px in landscape. Two Safari windows side by side on the inner display get 385 px each.
Is there a media query for iPhone Duo?
No device-specific one, and you shouldn’t need it. Use width breakpoints or container queries. The Viewport Segments and Device Posture media queries exist in Safari 27.1 but are behind feature flags, so treat them as an optional enhancement.
What is the iPhone Duo’s device pixel ratio?
3. The inner display is 2853 × 2007 physical pixels, which is 951 × 669 points.
Why does my page show a coloured strip on the closed iPhone Duo?
That is Safari’s side column. Safari 27.1 doesn’t place web content behind it and fills it with the page’s background colour instead. Make sure your page’s background colour suits that edge.
Does the iPhone Duo reload my page when it folds?
No. The viewport changes size and the browser fires a resize event, so layouts or scripts that only measure once at load can end up wrong.

Sources and threads

  • WebKit: WebKit Features for Safari 27.1 (23 October 2026)
  • MacRumors Forums: Apple Wants to Fix Safari’s Cramped Layout on iPhone Duo
  • DEV Community: I measured what Safari actually gives your web page on iPhone Duo
  • PPC Land: Safari 27.1 on iPhone Duo runs web pages from 382 to 951 pixels wide
  • MDN: Viewport Segments API
  • MDN: Device Posture API

More guides

  • How to open localhost on your iPhone
  • How to inspect element on iPhone
  • All responsive testing guides
ViewPortal

See your site on every device — true iPhone, iPad and Mac viewports, straight from your phone.

Download on the App Store

Product

Features Multi-view How it works Guides FAQ

Company

Privacy Terms of Use
© 2026 Flavr Web Dev Ltd. All rights reserved. Flavr Web Dev Ltd is registered in England & Wales (Company No. 14994358). Registered office: 161 Cicero Crescent, Milton Keynes, Buckinghamshire, MK11 4DR.