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)
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.
| Device | Viewport | Physical | DPR |
|---|---|---|---|
| iPhone 16 | 393 × 852 | 1179 × 2556 | 3x |
| iPhone 16 Pro | 402 × 874 | 1206 × 2622 | 3x |
| iPhone 16 Pro Max | 440 × 956 | 1320 × 2868 | 3x |
| iPhone 16e | 390 × 844 | 1170 × 2532 | 3x |
| iPhone 15 | 393 × 852 | 1179 × 2556 | 3x |
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).
The iPhone 16 has a physical screen resolution of 1179 × 2556 pixels on a 6.1" display (460 PPI) with a 3x device pixel ratio.
Use @media only screen and (max-width: 393px) for responsive width targeting, or combine (device-width: 393px) and (-webkit-min-device-pixel-ratio: 3) for high-DPI styling.
You can preview your local site at 393 × 852 alongside other phones, tablets, and desktop viewports simultaneously inside Sizzy, with synced scroll, DevTools, and screenshot capture.