iPhone 15 screen size & viewport

The iPhone 15 renders web pages at a CSS viewport of 390 × 844 in portrait (844 × 390 in landscape).

▶ Preview a website at 390×844

What these numbers mean

390 × 844 is the CSS viewport size — the coordinate space your layout, media queries and vw/vh units work in. It is not the hardware pixel count: the iPhone 15 packs more physical pixels behind each CSS pixel (its device pixel ratio), which is why images meant for it should be exported at 2× or 3×.

For a phone this size, a layout should already be at its single-column mobile breakpoint.

Targeting it in CSS

/* Styles for viewports up to the iPhone 15 */
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
}

/* Exactly the iPhone 15 in portrait */
@media (width: 390px) and (height: 844px) { /* … */ }

Common things that break at 390px wide

Test it live: open ViewOnPhone at 390×844, paste your URL and toggle portrait / landscape.

Other Apple sizes

iPhone 16 Pro Max430 × 932 iPhone 16 Pro393 × 852 iPhone 16 Plus430 × 932 iPhone 16390 × 844 iPhone 15 Pro Max430 × 932 iPhone 15 Pro393 × 852 iPhone 14 Pro Max430 × 932 iPhone 14 Pro393 × 852
Donate