Native resolution 750 × 1334 px at 2× · 326 PPI · 4.7″ · 9:16. Design at 375 × 667 and export assets at 2×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 375 × 667 px |
| CSS viewport (landscape) | 667 × 375 px |
| Native resolution | 750 × 1334 px |
| Device pixel ratio | 2× |
| Pixel density | 326 PPI |
| Screen diagonal | 4.7 in |
| Panel size | 2.3 × 4.09 in |
| Aspect ratio | 9:16 |
| Total pixels | 1 MP |
| Released | 2015 |
| Operating system | iOS |
| Safe area (top / bottom) | 20 / 0 px |
Among the 130 phones on this site, the iPhone 6s has the 123th largest CSS viewport area. Its 375 px width is 24 px below the 399 px average for this category.
Targeting the iPhone 6s in CSS
Device-specific media queries are brittle — a new model with the same width will not match. Use them for genuine per-device fixes only, and prefer width buckets for layout.
/* Target iPhone 6s specifically */
@media only screen
and (device-width: 375px)
and (device-height: 667px)
and (-webkit-device-pixel-ratio: 2) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 375px) { /* … */ }
Safe area on the iPhone 6s
Home button, status bar only. Content placed inside the top 20 px or the bottom 0 px will sit under system UI unless you inset it.
/* iPhone 6s safe area — requires viewport-fit=cover */
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
.app {
padding-top: env(safe-area-inset-top); /* 20px */
padding-bottom: env(safe-area-inset-bottom); /* 0px */
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
}
Compare with other iPhone models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| iPhone 6s | 375 × 667 | 750 × 1334 | 2× | 326 | 4.7″ |
| iPhone 6s Plus | 414 × 736 | 1080 × 1920 | 3× | 401 | 5.5″ |
| iPhone 7 | 375 × 667 | 750 × 1334 | 2× | 326 | 4.7″ |
| iPhone 6 | 375 × 667 | 750 × 1334 | 2× | 326 | 4.7″ |
| iPhone SE (1st gen) | 320 × 568 | 640 × 1136 | 2× | 326 | 4″ |
| iPhone 7 Plus | 414 × 736 | 1080 × 1920 | 3× | 401 | 5.5″ |
| iPhone 6 Plus | 414 × 736 | 1080 × 1920 | 3× | 401 | 5.5″ |
| iPhone 8 | 375 × 667 | 750 × 1334 | 2× | 326 | 4.7″ |
| iPhone 5s | 320 × 568 | 640 × 1136 | 2× | 326 | 4″ |
Questions about the iPhone 6s screen
What is the screen size of the iPhone 6s?
The iPhone 6s has a 4.7-inch display. In CSS the viewport measures 375 × 667 px in portrait, and the panel itself has 750 × 1334 physical pixels at 326 PPI.
What resolution should I design for on the iPhone 6s?
Design at 375 × 667 and export assets at 2×. That gives you 750 × 1334 px images, which is exactly what the panel renders. Designing directly at 750 × 1334 means every measurement is 2 times larger than the CSS values you will write.
What is the device pixel ratio of the iPhone 6s?
The iPhone 6s reports a device pixel ratio of 2. One CSS pixel therefore covers 4 device pixels. You can read it in JavaScript with window.devicePixelRatio.
What are the safe area insets on the iPhone 6s?
In portrait the safe area inset is 20 px at the top and 0 px at the bottom (Home button, status bar only). Use env(safe-area-inset-*) rather than hard-coding these — the values change per device and per orientation.
Which other devices have the same viewport as the iPhone 6s?
5 other devices share the 375 × 667 CSS viewport: iPhone SE (3rd gen), iPhone SE (2nd gen), iPhone 8, iPhone 7, iPhone 6. A layout that works on one works on all of them.
Related
window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.