iPhone 17 Pro
Full device reference for the iPhone 17 Pro, including viewport size, native resolution, pixel density, DPR, and supporting responsive-design details.
Quick summary
Viewport
402 x 874 PX
Resolution
2622 x 1206 PX
Density
460 PPI
DPR
3 XXHDPI
Viewport
402 x 874 PX
Resolution
2622 x 1206 PX
Density
460 PPI
DPR
3 XXHDPI
Our verdict on the iPhone 17 Pro
The iPhone 17 Pro fits a 2622 × 1206 Super Retina XDR OLED panel into a 6.3-inch screen at 460 PPI. At a device pixel ratio of 3 that gives a 402 × 874 CSS viewport, the same width our database lists for the iPhone 16 Pro and the standard iPhone 17. That makes 402 px the width shared by Apple's current 6.3-inch phones, Pro or not, and a better default iPhone breakpoint to test than the 390 px and 393 px of earlier models.
The step from 393 px (the iPhone 15 and 16) to 402 px is only nine CSS pixels, but it is enough to change where text wraps in tight components such as tab bars, price rows and two-column forms, so a layout that has only been checked at 393 px deserves one pass here. With a whole-number ratio, 3× images map cleanly onto physical pixels, and the 120 Hz ProMotion panel is useful for checking scroll-linked transitions.
Its strengths are the A19 Pro chip, an IP68 rating, 256 GB of base storage and up to 25 W MagSafe charging. The weakness on a test bench is that it adds little layout coverage on its own: the base iPhone 17 reports the same 402 × 874 viewport, and it is the 17 Pro Max that exercises Apple's widest 440 px layout. Apple does not publish battery capacity in mAh and we have not measured battery life, so we make no claim about it.
Desk research from published specifications; not a hands-on review. Last reviewed .
What this device means for responsive design
The iPhone 17 Pro uses a viewport of 402 x 874 PX, which makes it a key target for mobile layout testing. Designers and developers should rely on the viewport value for CSS breakpoints, while the native resolution and DPR help explain image sharpness and rendering density.
Example breakpoint
@media (max-width: 402px) {
/* target layouts around iPhone 17 Pro width */
}Display profile
Detailed specifications
A clean reference table for the most important device and display values.
Official launch specs
From Apple Support (Tech Specs): official announcement and specifications
Responsive design notes
Use the viewport for layout decisions, the native resolution for asset planning, and the DPR when understanding how CSS pixels map to physical pixels.
Use viewport for CSS
Focus on 402 x 874 PX when planning breakpoints and layout widths.
Use resolution for assets
The native 2622 x 1206 PX resolution helps guide image export sizes and display sharpness.
Use DPR for scaling
A DPR of 3 XXHDPI means this screen maps multiple physical pixels to one CSS pixel.
From the Blog
What Is PPI and Why Does It Matter for Screens?
PPI is the single number that determines whether a screen looks razor-sharp or grainy. Learn how it is calculated and what it means for this device.
Read articleCSS Pixels vs Physical Pixels: The Complete Developer Guide
Your screen has millions of hardware dots. Your CSS has none of them. Learn how Device Pixel Ratio bridges the gap.
Read articleFrequently Asked Questions
What is the screen resolution of the iPhone 17 Pro?
The iPhone 17 Pro has a 2622 x 1206 PX screen resolution on a 6.3 INCH display, resulting in a pixel density of 460 PPI.
What is the CSS viewport size of the iPhone 17 Pro?
The iPhone 17 Pro has a CSS viewport of 402 x 874 PX. This is the value returned by window.innerWidth and window.innerHeight in JavaScript, and the value that CSS media queries respond to.
What CSS media query should I use for the iPhone 17 Pro?
To target the iPhone 17 Pro viewport, use: @media (max-width: 402px). For a mobile-first approach, this targets the device at and above its viewport width.
What is the pixel density (PPI) of the iPhone 17 Pro?
The iPhone 17 Pro has a pixel density of 460 PPI, which corresponds to a device pixel ratio (DPR) of 3. This means CSS pixels are scaled up to produce crisp, high-resolution rendering on the physical display.