Skip to content
1440px

MacBook Air 13″ (M2) Screen Size

CSS viewport, native resolution, pixel ratio and pixel density for the MacBook Air 13″ (M2) — the numbers you need to design and build for it.

CSS viewport · portrait
1470 × 956 px

Native resolution 2560 × 1664 px at 2× · 224 PPI · 13.6″ · 20:13. Design at 1470 × 956 and export assets at 2×.

MacBook Air 13″ (M2) display specifications
PropertyValue
CSS viewport (portrait)1470 × 956 px
CSS viewport (landscape)956 × 1470 px
Native resolution2560 × 1664 px
Device pixel ratio
Pixel density224 PPI
Screen diagonal13.6 in
Panel size11.43 × 7.43 in
Aspect ratio20:13 (exact 20:13)
Total pixels4.26 MP
Released2022
Operating systemmacOS

Among the 37 desktop and laptop displays on this site, the MacBook Air 13″ (M2) has the 24th largest CSS viewport area. Its 1470 px width is 201 px below the 1671 px average for this category.

Targeting the MacBook Air 13″ (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.

CSS media query
/* Target MacBook Air 13″ (M2) specifically */
@media only screen
  and (device-width: 1470px)
  and (device-height: 956px)
  and (-webkit-device-pixel-ratio: 2) {
  /* … */
}

/* More useful in practice — the width bucket it falls into */
@media (min-width: 1470px) { /* … */ }

Compare with other Mac & Displays models

MacBook Air 13″ (M2) compared with nearby Mac & Displays models
DeviceCSS viewportNativeDPRPPIDiagonal
MacBook Air 13″ (M2)1470 × 9562560 × 166422413.6″
MacBook Pro 13″ (M2)1440 × 9002560 × 160022713.3″
Studio Display2560 × 14405120 × 288021827″
MacBook Pro 14″ (M3)1512 × 9823024 × 196425414.2″
MacBook Pro 14″ (M1)1512 × 9823024 × 196425414.2″
MacBook Air 15″ (M2)1710 × 11122880 × 186422415.3″
MacBook Pro 16″ (M3)1728 × 11173456 × 223425416.2″
MacBook Pro 16″ (M1)1728 × 11173456 × 223425416.2″
iMac 24″ (M1)2240 × 12604480 × 252021823.5″

Questions about the MacBook Air 13″ (M2) screen

What is the screen size of the MacBook Air 13″ (M2)?

The MacBook Air 13″ (M2) has a 13.6-inch display. In CSS the viewport measures 1470 × 956 px in portrait, and the panel itself has 2560 × 1664 physical pixels at 224 PPI.

What resolution should I design for on the MacBook Air 13″ (M2)?

Design at 1470 × 956 and export assets at . That gives you 2560 × 1664 px images, which is exactly what the panel renders. Designing directly at 2560 × 1664 means every measurement is 2 times larger than the CSS values you will write.

What is the device pixel ratio of the MacBook Air 13″ (M2)?

The MacBook Air 13″ (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.

Why does 1470 × 2 not equal 2560?

Because MacBook Air 13″ (M2) ships in a scaled display mode. macOS composites the desktop at 2940 × 1912 — twice the 1470 × 956 logical size — and resamples that frame down to the 2560 × 1664 panel. It is not the panel's native mode; it is the one Apple selects by default because 1470 px of workspace is the more useful number. Design against 1470 × 956 and export at 2×.

Which other devices have the same viewport as the MacBook Air 13″ (M2)?

2 other devices share the 1470 × 956 CSS viewport: MacBook Air 13″ (M4), MacBook Air 13″ (M3). A layout that works on one works on all of them.

Related

Specifications from the manufacturer's published device data. Last verified 7 August 2026. CSS viewport values are the portrait window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.