iPhone 17 vs iPhone Air: screen size for websites
The iPhone Air is 18px wider and 38px taller in CSS pixels. Small enough that most layouts behave the same, but fixed widths between 402 and 420px will spill on the narrower one.
| iPhone 17 | iPhone Air | |
|---|---|---|
| CSS viewport | 402 × 874 | 420 × 912 |
| Visible on first load | 402 × 718 (Safari (iOS 26)) | 420 × 756 (Safari (iOS 26)) |
| Device pixel ratio | 3 | 3 |
| Physical resolution | 1206 × 2622 | 1260 × 2736 |
| Screen size | 6.3″ | 6.5″ |
| Aspect ratio | 19.6:9 | 19.5:9 |
| Tailwind breakpoint | base styles only | base styles only |
| Bootstrap tier | xs | xs |
| Full-width image needs | 1206px | 1260px |
| Released | 2025 | 2025 |
See your site on both, side by side
Paste your address (or localhost:3000). doesitfit shows it on the iPhone 17 and iPhone Air at their exact sizes, next to each other.
Free, no sign-up. Or ask Claude, ChatGPT or Codex to check it.
What the difference means for your site
Width: 402px vs 420px
Headings and buttons wrap differently: a line that fits in 420px can break onto two lines in 402px. Anything with a fixed width between the two makes the narrower screen scroll sideways (fix it).
Height: 874px vs 912px
On first load a page shows 718px on the iPhone 17 and 756px on the iPhone Air, so “above the fold” differs by 38px.
Questions people ask
Is the iPhone 17 screen bigger than the iPhone Air for websites?
The iPhone Air is 18px wider and 38px taller in CSS pixels. Small enough that most layouts behave the same, but fixed widths between 402 and 420px will spill on the narrower one.
What are the viewport sizes of the iPhone 17 and iPhone Air?
iPhone 17: 402 × 874 CSS px (DPR 3). iPhone Air: 420 × 912 CSS px (DPR 3).
Do I need to test my site on both?
Yes if your layout has anything close to 420px wide. Test the narrower one first: it’s where things spill.
More comparisons
- iPhone 17 vs iPhone 17e
- iPhone 16 vs iPhone 17
- iPhone 17 vs iPhone 17 Pro
- iPhone Air vs iPhone 17 Pro Max
- iPhone 18 Pro vs iPhone 18 Pro Max
- iPhone 17 Pro vs iPhone 17 Pro Max
- iPhone 17 Pro vs Samsung Galaxy S25
- iPhone 17 Pro vs Google Pixel 10
- iPhone Duo — outer screen vs iPhone 17 Pro
- iPhone 16 Pro vs iPhone 17 Pro
- iPhone 16 Pro Max vs iPhone 17 Pro Max
- iPhone 17 Pro Max vs Samsung Galaxy S25 Ultra