Apple iPhone 17 – Viewport, Resolution & Specs

Apple iPhone 17 Pro - All colors

The Apple iPhone 17 is one of the most popular modern smartphones for web designers and front-end developers to test responsive layouts.

If you want to check how your website looks and behaves on this device, you can easily simulate it using the Phone Simulator – Mobile Emulator Tool Chrome extension — no real device required.

Viewport Size (CSS Resolution)

This is the resolution that matters most to designers and developers — it defines media query breakpoints, layout scaling, and how elements adapt to the screen.

For the Apple iPhone 17, the CSS viewport measures:

  • Width: 402 px
  • Height: 874 px*

ℹ️ Note: The visible height can vary slightly depending on the browser UI (Safari, Chrome, etc.).

Some analytics platforms only display the physical screen resolution (see below) instead of the CSS viewport size, so keep that in mind when interpreting results.

Test on Apple iPhone 17 Instantly

Preview your responsive website on the Apple iPhone 17 right inside your browser.

Install the Phone Simulator – Mobile Emulator Tool and test across 30+ mobile devices with just two clicks. It’s fast, free, and doesn’t require any external services.

Add to Chrome
Phone Simulator - Chrome Extension

Pixel Density (Device Pixel Ratio)

The Apple iPhone 17 has a device pixel ratio of 3 — meaning each CSS pixel is represented by three physical pixels.

This ensures sharper visuals, crisper text, and smoother icons on high-resolution displays.

For CSS targeting:

@media only screen and (-webkit-min-device-pixel-ratio: 3) { 
    /* High-DPI specific styles */ 
}

In JavaScript:

window.devicePixelRatio 
// returns: 3

Physical Screen Resolution

Based on its pixel density, the manufacturer’s screen resolution equals:

  • Width: 1206 px
  • Height: 2622 px
The Apple iPhone 17 provides a large, high-definition display ideal for testing responsive layouts, images, and typography.

About the Apple iPhone 17

The Apple iPhone 17 released in 2025.

The iPhone 17 represents the next generation of Apple’s smartphone design, offering a balance of sleek aesthetics and cutting-edge performance.

Using the Phone Simulator – Mobile Emulator Tool, developers can preview websites exactly as they would appear on this device — helping ensure a consistent user experience across screens.

Try It Now 💫

Start testing your website on the Apple iPhone 17 and other smartphones and tablets directly in Chrome.

No physical devices, no setup — just realistic mobile previews.

Install Phone Simulator