Skip to content

Apple · iPhone · 2024

iPhone 16 Pro Screen Size & CSS Viewport

The iPhone 16 Pro viewport is 402 × 874 CSS pixels with a 1206 × 2622 physical resolution and 3x Retina scale on a 6.3-inch display.

CSS Viewport

402 × 874

Physical Pixels

1206 × 2622

Pixel Ratio (DPR)

3x (460 PPI)

Screen Size

6.3" (19.5:9)

Safe Area Insets

62px / 34px

Tailwind Prefix

Default (< 640px sm)

Scaled Viewport Preview
top 62px
402 × 874Portrait · 3x
bottom 34px

Dynamic Island top inset (62px portrait), bottom home indicator (34px), and collapsing Safari toolbar.

Copy-paste CSS

iPhone 16 Pro 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 Pro Portrait (402x874, 3x) */
@media only screen and (max-width: 402px) {
  /* styles for iPhone 16 Pro and narrower viewports */
}

Exact device & DPR query

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

Safe-area inset helpers

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

Frontend QA notes

What breaks most often on iPhone 16 Pro

Browser environment: iOS Safari (WebKit) · Mobile.

  • Verify horizontal padding and button wrapping at 402px — especially pricing toggles and tab bars.
  • Use overscroll-behavior: contain on modals and drawers to stop rubber-band background scrolling in iOS Safari.
  • Audit sticky footer CTAs with padding-bottom: calc(16px + env(safe-area-inset-bottom)).

Side-by-side

Compare iPhone 16 Pro with nearby devices

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

DeviceViewportPhysicalDPR
iPhone 16 Pro402 × 8741206 × 26223x
iPhone 16 Pro Max440 × 9561320 × 28683x
iPhone 16393 × 8521179 × 25563x
iPhone 17 Pro402 × 8741206 × 26223x
iPhone 15 Pro393 × 8521179 × 25563x

Test iPhone 16 Pro + 50 devices side by side

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

Questions

iPhone 16 Pro viewport questions

  • The iPhone 16 Pro CSS viewport size is 402 × 874 pixels in portrait (874 × 402 pixels in landscape).