iPhone screen sizes: points, pixels and viewport

Every iPhone screen size from the X to iPhone 18 Pro and iPhone Duo: inches, Apple's pixel resolution, CSS viewport in points and device pixel ratio, sourced.

An orange-edged clear glass tile hovers above a dark glass slab divided into nine square cells.

An iPhone has two sizes, and a web page only sees one of them. Apple prints the screen in hardware pixels, a 6.3 inch iPhone 17 is 2622 by 1206, while Safari lays the page out in points, 402 by 874 CSS pixels, three hardware pixels to each. Test against points and the device pixel ratio, not inches or pixels.

Every iPhone screen size, in one table

The table lists every iPhone with Face ID or Dynamic Island, plus the home-button models still in use, read on 2026-11-18. Diagonals and pixel resolutions are Apple’s, from its iPhone comparison page and the App Store screenshot specifications. The viewport in points and the scale factor are from iOS Ref, because Apple’s own layout guidelines no longer carry a device size table: the page’s change log records the iPhone 17 specifications added in September 2025 and an update to “current best practices” in September 2026, and today it points developers to Xcode’s device tools instead.

ModelsDiagonalApple’s resolution (pixels)CSS viewport (points)Device pixel ratioPPI
iPhone Duo, inner display7.6 in1878 x 2670669 x 9513430
iPhone Duo, outer display5.4 in1398 x 2034466 x 6783460
iPhone 18 Pro Max, 17 Pro Max, 16 Pro Max6.9 in1320 x 2868440 x 9563460
iPhone Air6.5 in1260 x 2736420 x 9123460
iPhone 18 Pro, 17 Pro, 17, 16 Pro6.3 in1206 x 2622402 x 8743460
iPhone 16 Plus, 15 Plus, 15 Pro Max, 14 Pro Max6.7 in1290 x 2796430 x 9323460
iPhone 16, 15, 15 Pro, 14 Pro6.1 in1179 x 2556393 x 8523460
iPhone 17e, 16e, 14, 13, 13 Pro, 12, 12 Pro6.1 in1170 x 2532390 x 8443460
iPhone 14 Plus, 13 Pro Max, 12 Pro Max6.7 in1284 x 2778428 x 9263458
iPhone 11 Pro Max, XS Max6.5 in1242 x 2688414 x 8963458
iPhone 11, XR6.1 in828 x 1792414 x 8962326
iPhone 11 Pro, XS, X5.8 in1125 x 2436375 x 8123458
iPhone 13 mini, 12 mini5.4 in1080 x 2340375 x 8123476
iPhone 8 Plus, 7 Plus, 6s Plus, 6 Plus5.5 in1080 x 1920414 x 7363401
iPhone SE (2nd and 3rd gen), 8, 7, 6s, 64.7 in750 x 1334375 x 6672326

Three rows draw more pixels than the panel has. The minis and the iPhone Duo’s inner display render at 3x and are scaled down to the physical panel, about 2.88x on the minis and 2.81x on the Duo, and the Plus models from the 6 Plus to the 8 Plus render at 1242 x 2208 and scale down to 1080 x 1920. Apple’s two pages show both sides of that for the Duo: the comparison page gives the panel, 1878 x 2670, and the screenshot specification asks for 2007 x 2853, which is 669 x 951 points at 3x. For a web page none of this changes the layout. Safari reports the points and a devicePixelRatio of 3.

Points are the size a web page sees

A page with the standard <meta name="viewport" content="width=device-width"> tag gets a layout viewport as wide as the screen in points. On an iPhone 17 that is 402 CSS pixels, whatever the panel’s 1206 hardware pixels say. That is the number media queries compare against and the number that decides whether a two-column layout collapses. The viewport is that layout area, and the device pixel ratio is how many hardware pixels draw each CSS pixel along one side.

The inches matter even less. The iPhone 11 at 6.1 inches and the iPhone 11 Pro Max at 6.5 inches are both 414 points wide, and the 6.1 inch iPhone 17e is narrower than the 6.1 inch iPhone 11. Size a layout by inches and you will test the wrong phone.

The width also shows up in analytics. In StatCounter’s October 2026 data, the most common phone screen worldwide was 414x896, the size the iPhone 11, XR, 11 Pro Max and XS Max all report, as set out in our post on common screen resolutions. Those phones are years old, which is why a matrix built only from the newest models misses real visitors.

Height is less reliable than width. The screen is 874 points tall on an iPhone 17, but the page gets less: Safari’s address bar, its toolbar and, in landscape, the Dynamic Island’s safe area all take a share, and the share changes as the reader scrolls and the bars collapse. window.innerHeight reports what the page has at that moment, which is why a 100vh element can sit under the toolbar on one phone and not on another.

Which widths to test

The table collapses into a short list of widths, because most models share one. For portrait layouts:

Width (CSS px)CoversWhy test it
375iPhone X, XS, 11 Pro, 12 mini, 13 mini, SE, 8The narrowest iPhone width with Face ID; long words and fixed widths break here first
390iPhone 12 to 14, 16e, 17eThe size Apple keeps reusing for its cheaper models
393iPhone 14 Pro to 16Three pixels from 390, and a breakpoint set at 392 splits them
402iPhone 17, 17 Pro, 18 Pro, 16 ProThe current mainstream size
414iPhone 11, XR, 11 Pro Max, XS Max, 8 PlusThe most common phone width in StatCounter’s data
430 and 440Plus and Pro Max modelsWhere a layout meant for phones looks stretched
466 and 669iPhone Duo, folded and openOpen, the Duo sits close to the 768 pixel tablet breakpoint many layouts use

Run each width in landscape as well; the wide side of a Pro Max is 956 points, past most tablet breakpoints. The WCAG reflow floor is 320 CSS pixels, narrower than any iPhone on the list, so a layout that passes there has margin on every model. Device lab or simulator, the mobile website testing checklist still applies on top of the widths.

How to read the size from the phone itself

You do not need a table to know what a given iPhone reports. Open the page in Safari, connect the phone to a Mac and use Web Inspector, the iPhone’s counterpart to inspect element, then type three readings into the console:

  • screen.width and screen.height give the screen in points, the numbers in the table.
  • window.innerWidth and window.innerHeight give the viewport the page actually has, after Safari’s bars.
  • window.devicePixelRatio gives the scale: 3 on most models, 2 on the XR, 11 and SE.

Multiply the first pair by the ratio and you get Apple’s resolution, except on the minis, the Plus models and the Duo’s inner display, where the panel is smaller than the render.

What a layout bug report from an iPhone needs

“It looks broken on my iPhone” names neither the size nor the browser. These are the fields that let a developer reproduce it without asking:

FieldExampleWhy
ModeliPhone 17Maps to a row of the table
iOS and browser versioniOS 27.1, SafariLayout and viewport behaviour change with WebKit releases
Viewport402 x 723The size the page actually had, after the toolbars
Device pixel ratio3Explains a screenshot three times the viewport
OrientationPortraitLandscape crosses different breakpoints
Zoom and text sizeDefault, larger text offBoth change what fits
URL and the step/checkout, after tapping PayWhere the layout broke

A screenshot taken on the phone arrives at 1206 pixels wide for a 402 point viewport, so a reviewer measuring it on a desktop sees everything three times too big unless the ratio travels with it. Notarus records the reporter’s viewport and screen with each report, beside the browser and operating system that cross-device testing depends on, so most of the fields above are filled in before anybody reads the ticket.

Common questions

What are the iPhone screen sizes in 2026?

Apple's current lineup has six screen sizes: the 6.1 inch iPhone 17e, the 6.3 inch iPhone 17 and iPhone 18 Pro, the 6.5 inch iPhone Air, the 6.9 inch iPhone 18 Pro Max, and the iPhone Duo, which folds out to a 7.6 inch inner display and has a 5.4 inch outer one. Older models Apple still lists on that page add 6.1 and 6.7 inch sizes.

What is the CSS viewport width of an iPhone?

In portrait, the CSS viewport width of an iPhone with Face ID or Dynamic Island is between 375 and 440 CSS pixels: 375 on the X, XS, 11 Pro and minis, 390 on the 12 to 14 and 16e and 17e, 393 on the 14 Pro to 16, 402 on the 17 and 17 Pro, 420 on the Air, and 430 or 440 on the large models. The iPhone Duo's inner display is 669 wide.

What is the device pixel ratio of an iPhone?

Every iPhone since the X reports a device pixel ratio of 3 except the iPhone XR and iPhone 11, which report 2, as do the iPhone SE and the 4.7 inch iPhone 6 to 8. A ratio of 3 means each CSS pixel is drawn by a 3 by 3 block of hardware pixels, so a screenshot is three times the viewport in each direction.

Which iPhones have the same screen size?

Several share a size exactly. The iPhone 17, 17 Pro, 18 Pro and 16 Pro are all 402 by 874 points. The 16e and 17e share 390 by 844 with the 12, 13 and 14. The 16 Pro Max, 17 Pro Max and 18 Pro Max are all 440 by 956. Testing one model per size covers the others for layout.

What size is the iPhone 17 screen?

The iPhone 17 has a 6.3 inch display with a resolution of 2622 by 1206 pixels at 460 ppi, according to Apple's comparison page. In a browser that is a CSS viewport of 402 by 874 points at a device pixel ratio of 3, the same as the iPhone 17 Pro and iPhone 18 Pro.

Why does my screenshot from an iPhone not match the viewport size?

A screenshot is saved in hardware pixels and the page is laid out in CSS pixels. On a 3x iPhone a 402 point wide viewport produces a screenshot 1206 pixels wide. Divide the screenshot by the device pixel ratio to get the layout size, and record the viewport and ratio with the report so nobody has to guess.

The Notarus team

The people who build Notarus. We write up the decisions behind the product when the reasoning is worth more than the changelog line.

Keep reading

Reports with the evidence attached.

Start free, one script tag.

<script src="…/widget.js" data-key="pb_pub_…">