MacBook Air 15″ (M4 / M5) Screen Size & Viewport

CSS viewport 1710 × 1107 pixels at 2× device pixel ratio. The exact size browsers report on the MacBook Air 15″ (M4 / M5).

Updated

The MacBook Air 15″ (M4 / M5) viewport is 1710 × 1107 CSS pixels, with a device pixel ratio of 2 on a 2880 × 1864 pixel 15.3″ display.

CSS Viewport1710 × 1107 px
Physical Resolution2880 × 1864 px
Device Pixel Ratio2×
Aspect Ratio~14:9
Screen Size15.3″
ReleasedMarch 2026
CategoryMacBooks

Open your site at the MacBook Air 15″ (M4 / M5) viewport

Test your site at MacBook Air 15″ (M4 / M5) (1710 × 1107)

Why this viewport matters

When a user visits your site on the MacBook Air 15″ (M4 / M5), the browser reports window.innerWidth = 1710 and window.devicePixelRatio = 2. Your CSS media queries match against the 1710px CSS width, not the 2880 × 1864 physical pixel count of the panel.

At 1710px it hits Tailwind 2xl (1536px) and Bootstrap xxl (1400px).

For sharp full-width images, serve a source at least 3420px wide (1710 CSS px × 2 DPR) through srcset and let the browser pick it.

/* MacBook Air 15″ (M4 / M5): 1710×1107 CSS px, DPR 2 */
@media (max-width: 1710px) {
  /* styles for this width and narrower */
}

@media (min-resolution: 2dppx) {
  /* serve high-density assets */
}

MacBook Air 15″ (M4 / M5) viewport FAQ

What is the viewport size of the MacBook Air 15″ (M4 / M5)?

The MacBook Air 15″ (M4 / M5) reports a CSS viewport of 1710×1107 pixels. Browser toolbars reduce the visible height slightly, so window.innerHeight is usually smaller than the full screen height.

What is the device pixel ratio (DPR) of the MacBook Air 15″ (M4 / M5)?

The MacBook Air 15″ (M4 / M5) uses a default device pixel ratio of 2. Each CSS pixel maps to 2×2 physical pixels on its 2880×1864 panel (default scaled resolution).

Which CSS breakpoint does the MacBook Air 15″ (M4 / M5) hit?

At 1710px wide it matches Tailwind 2xl (min-width 1536px) and Bootstrap xxl (min-width 1400px).

How can I test my website at the MacBook Air 15″ (M4 / M5) screen size without the device?

Open screensize.io, enter your URL and pick MacBook Air 15″ (M4 / M5) (1710×1107). It opens your site in a real browser window at exactly that CSS viewport, so media queries, container queries and JavaScript resize logic behave as they would on the device. For touch behaviour and the real browser engine, confirm on hardware before shipping.

Test Screen Sizes Right Now

Use screensize.io to preview your website at any of these resolutions instantly — no DevTools needed.

Open screensize.io →