iPhone 17 screen size
iPhone 17: 402 × 874 points at @3x, which is 1206 × 2622 pixels at 460 ppi on a 6.3-inch Super Retina XDR display.
Screen specs
| Points | 402 × 874 pt |
|---|---|
| Pixels | 1206 × 2622 px |
| Scale | @3x |
| PPI (Apple) | 460 |
| PPI (computed from pixels and diagonal) | 460.3 |
| Diagonal | 6.3 inches |
| Diagonal of the full rectangle | 6.27 inches |
| Aspect ratio | 201:437 (2.1741) |
| Display type | OLED |
| Display name | Super Retina XDR |
| Maximum refresh rate | 120 Hz |
| ProMotion | Yes |
| Always-On | Yes |
| Cutout | Dynamic Island |
| Home button | No |
| Face ID or Touch ID | Face ID |
| Model identifiers | iPhone18,3 |
| Release year | 2025 |
Safe area insets
| Orientation | Top | Right | Bottom | Left |
|---|---|---|---|---|
| Portrait | 62 | 0 | 34 | 0 |
| Landscape | 0 | 62 | 20 | 62 |
Outline drawn to scale in points. Shaded bands are the insets; the dashed box is the safe area.
How it was measured: key window safeAreaInsets, portrait and landscape (interface orientation landscapeLeft, rotated with requestGeometryUpdate; landscapeRight identical) (source: Xcode 27.1 Simulator, iOS 27.0 (24A434) runtime, device type 'iPhone 17').
Corner radius (unofficial)
62 pt (unofficial). Apple doesn't publish this; measured from the Simulator's private display corner radius.
UNOFFICIAL: private UIScreen _displayCornerRadius = 62 pt (source: Xcode 27.1 Simulator, iOS 27.0 (24A434) runtime, device type 'iPhone 17'); Apple does not publish this value
For web developers
CSS viewport: 402 × 874 CSS pixels in portrait, devicePixelRatio 3. CSS pixels equal points.
/* iPhone 17, portrait */
@media (device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) {
/* styles for this screen size */
}/* needs <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"> */
.page {
padding-top: env(safe-area-inset-top); /* 62px on iPhone 17 in portrait */
padding-right: env(safe-area-inset-right); /* 0px */
padding-bottom: env(safe-area-inset-bottom); /* 34px */
padding-left: env(safe-area-inset-left); /* 0px */
}Safari's visible viewport is smaller than the screen because of the browser bars, so window.innerHeight is less than the height above until the bars collapse.
For iOS developers
- A 1 pt line is 3 pixels thick.
- A 44 pt tap target is 132 × 132 pixels.
- Assets: @3x.
UIScreen.main.bounds: 402 × 874 points (portrait).UIScreen.main.scale: 3.
Same layout size
Same points and scale (402 × 874 pt at @3x):
Compare
- iPhone 17 vs iPhone 16
- iPhone 17 Pro Max vs iPhone 17
- iPhone 17 Pro vs iPhone 17
- iPhone Air vs iPhone 17
- Previous iPhone model: iPhone 16
- Next iPhone model: iPhone Duo
Sources
- iPhone 17 - Tech Specs, Apple: diagonal, resolution, ppi, display_type, refresh_rate, features
- HIG Layout: device screen dimensions, row 'iPhone 17' (snapshot 2026-07-02), Apple: logical_resolution, scale (archived copy)
- Hardware strings (cross-check source), Wikipedia: model_identifiers
- Xcode 27.1 (27A9275) Simulator: UIKit probe app (scripts/simulator/Measure.swift) and device-type capabilities.plist, measured 2026-10-27, Apple: corner_radius (unofficial), safe_area_insets
Download and cite
/api/devices/iphone-17.json: this device as JSON./api/devices.json: every device./api/devices.csv: every device as CSV.- github.com/aryansbtloe/apple-device-screen-specs: the dataset, JSON Schema and validator.
Data: Apple device screen specs by bestlatestapps.com (https://bestlatestapps.com/tools/apple-device-screen-sizes/), licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Built from Apple's published tech specs and Human Interface Guidelines, Wikipedia for model identifiers, and our own Xcode Simulator measurements.
Cite as: Singh, A. (2026). Apple Device Screen Specs (v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.23819103
Link to this tool
Found it useful? You're welcome to link to it from your README, docs or blog.
Questions
What is the iPhone 17 viewport size in CSS pixels?
402 × 874 CSS pixels in portrait, with a devicePixelRatio of 3. Safari's visible viewport is smaller while the browser bars show.
What is the iPhone 17 screen resolution?
1206 × 2622 pixels at 460 ppi, shown as 402 × 874 points at @3x.
What are the iPhone 17 safe area insets?
In portrait: top 62, right 0, bottom 34, left 0 points. In landscape: top 0, right 62, bottom 20, left 62 points. Values are top, right, bottom, left, measured in the Xcode Simulator.
Does the iPhone 17 have the same screen size as the iPhone 18 Pro?
Yes, for layout: both are 402 × 874 points at @3x, so apps and web pages lay out the same. Both have 1206 × 2622 pixels.
Data version 0.1.0, generated 2026-10-27.