Native resolution 1640 × 2360 px at 2× · 264 PPI · 11″ · 1:1.44. Design at 820 × 1180 and export assets at 2×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 820 × 1180 px |
| CSS viewport (landscape) | 1180 × 820 px |
| Native resolution | 1640 × 2360 px |
| Device pixel ratio | 2× |
| Pixel density | 264 PPI |
| Screen diagonal | 11 in |
| Panel size | 6.21 × 8.94 in |
| Aspect ratio | 1:1.44 (exact 41:59) |
| Total pixels | 3.87 MP |
| Released | 2024 |
| Operating system | iPadOS |
| Safe area (top / bottom) | 24 / 20 px |
Among the 43 tablets on this site, the iPad Air 11″ (M2) has the 26th largest CSS viewport area. Its 820 px width is 40 px below the 860 px average for this category.
Targeting the iPad Air 11″ (M2) 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 iPad Air 11″ (M2) specifically */
@media only screen
and (device-width: 820px)
and (device-height: 1180px)
and (-webkit-device-pixel-ratio: 2) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 820px) { /* … */ }
Safe area on the iPad Air 11″ (M2)
iPad, home indicator. Content placed inside the top 24 px or the bottom 20 px will sit under system UI unless you inset it.
/* iPad Air 11″ (M2) 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); /* 24px */
padding-bottom: env(safe-area-inset-bottom); /* 20px */
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
}
Compare with other iPad models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| iPad Air 11″ (M2) | 820 × 1180 | 1640 × 2360 | 2× | 264 | 11″ |
| iPad Pro 11″ (M4) | 834 × 1210 | 1668 × 2420 | 2× | 264 | 11″ |
| iPad Pro 13″ (M4) | 1032 × 1376 | 2064 × 2752 | 2× | 264 | 13″ |
| iPad Air 13″ (M2) | 1024 × 1366 | 2048 × 2732 | 2× | 264 | 13″ |
| iPad mini (7th gen) | 744 × 1133 | 1488 × 2266 | 2× | 326 | 8.3″ |
| iPad Air 11″ (M3) | 820 × 1180 | 1640 × 2360 | 2× | 264 | 11″ |
| iPad (11th gen) | 820 × 1180 | 1640 × 2360 | 2× | 264 | 11″ |
| iPad Air 13″ (M3) | 1024 × 1366 | 2048 × 2732 | 2× | 264 | 13″ |
| iPad Pro 11″ (M5) | 834 × 1210 | 1668 × 2420 | 2× | 264 | 11″ |
Questions about the iPad Air 11″ (M2) screen
What is the screen size of the iPad Air 11″ (M2)?
The iPad Air 11″ (M2) has a 11-inch display. In CSS the viewport measures 820 × 1180 px in portrait, and the panel itself has 1640 × 2360 physical pixels at 264 PPI.
What resolution should I design for on the iPad Air 11″ (M2)?
Design at 820 × 1180 and export assets at 2×. That gives you 1640 × 2360 px images, which is exactly what the panel renders. Designing directly at 1640 × 2360 means every measurement is 2 times larger than the CSS values you will write.
What is the device pixel ratio of the iPad Air 11″ (M2)?
The iPad Air 11″ (M2) 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 iPad Air 11″ (M2)?
In portrait the safe area inset is 24 px at the top and 20 px at the bottom (iPad, home indicator). 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 iPad Air 11″ (M2)?
6 other devices share the 820 × 1180 CSS viewport: iPad Air 11″ (M4), iPad Air 11″ (M3), iPad (11th gen), iPad (10th gen), iPad Air (5th gen), iPad Air (4th gen). 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.