Skip to content

Apple · iPhone · 2024

iPhone 16 Screen Size & CSS Viewport

The iPhone 16 CSS viewport is 393 × 852 pixels (1179 × 2556 physical pixels at 3x DPR) on a 6.1-inch screen — one of the most common mobile viewports on the web.

CSS Viewport

393 × 852

Physical Pixels

1179 × 2556

Pixel Ratio (DPR)

3x (460 PPI)

Screen Size

6.1" (19.5:9)

Safe Area Insets

59px / 34px

Tailwind Prefix

Default (< 640px sm)

Scaled Viewport Preview
top 59px
393 × 852Portrait · 3x
bottom 34px

Dynamic Island top inset (59px portrait), 34px bottom home bar, and Safari bottom address bar (~74px visible offset).

Copy-paste CSS

iPhone 16 CSS media queries & safe areas

Use content-based responsive breakpoints first, and reach for these snippets when auditing device-specific edge cases.

Responsive max-width query

/* iPhone 16 Portrait (393x852, 3x) */
@media only screen and (max-width: 393px) {
  /* styles for iPhone 16 and narrower viewports */
}

Exact device & DPR query

/* Target iPhone 16 specifically (393px width, 3x DPR) */
@media only screen
  and (device-width: 393px)
  and (device-height: 852px)
  and (-webkit-min-device-pixel-ratio: 3) {
  /* device-specific overrides */
}

Safe-area inset helpers

/* iPhone 16 safe-area padding (top 59px, bottom 34px) */
.sticky-header {
  padding-top: env(safe-area-inset-top, 59px);
}
.sticky-footer {
  padding-bottom: env(safe-area-inset-bottom, 34px);
}

Frontend QA notes

What breaks most often on iPhone 16

Browser environment: iOS Safari (WebKit) · Mobile.

  • 393 × 852 is shared across iPhone 16, iPhone 15, iPhone 15 Pro, and iPhone 14 Pro — test this width on every deploy.
  • Watch for horizontal overflow from code blocks, wide tables, or long unbreakable URLs inside 393px containers.
  • Ensure interactive buttons stay at least 44px tall and avoid relying on hover states for navigation menus.

Side-by-side

Compare iPhone 16 with nearby devices

Check how viewport width and pixel ratio shift across adjacent models.

DeviceViewportPhysicalDPR
iPhone 16393 × 8521179 × 25563x
iPhone 16 Pro402 × 8741206 × 26223x
iPhone 16 Pro Max440 × 9561320 × 28683x
iPhone 16e390 × 8441170 × 25323x
iPhone 15393 × 8521179 × 25563x

Test iPhone 16 + 50 devices side by side

Stop resizing Chrome DevTools one viewport at a time. Sizzy renders iPhone 16, narrow 360px Android, iPad, and desktop simultaneously with synced scrolling, unified console, and one-click device screenshots.

Questions

iPhone 16 viewport questions

  • The iPhone 16 CSS viewport size is 393 × 852 pixels in portrait (852 × 393 pixels in landscape).