MacBook Air 13"
Full device reference for the MacBook Air 13", including viewport size, native resolution, pixel density, DPR, and supporting responsive-design details.
Quick summary
Viewport
1280 x 800 PX
Resolution
2560 x 1600 PX
Density
227 PPI
DPR
2 XHDPI
Viewport
1280 x 800 PX
Resolution
2560 x 1600 PX
Density
227 PPI
DPR
2 XHDPI
What this device means for responsive design
The MacBook Air 13" uses a viewport of 1280 x 800 PX, which makes it a key target for desktop layout testing. Designers and developers should rely on the viewport value for CSS breakpoints, while the native resolution and DPR help explain image sharpness and rendering density.
Example breakpoint
@media (max-width: 1280px) {
/* target layouts around MacBook Air 13" width */
}Display profile
Detailed specifications
A clean reference table for the most important device and display values.
CSS Media Query
@media (min-width: 1280px) and (max-width: 1280px)Responsive design notes
Use the viewport for layout decisions, the native resolution for asset planning, and the DPR when understanding how CSS pixels map to physical pixels.
Use viewport for CSS
Focus on 1280 x 800 PX when planning breakpoints and layout widths.
Use resolution for assets
The native 2560 x 1600 PX resolution helps guide image export sizes and display sharpness.
Use DPR for scaling
A DPR of 2 XHDPI means this screen maps multiple physical pixels to one CSS pixel.
From the Blog
The Complete Guide to Responsive Design Breakpoints in 2026
We analysed 185 real devices to find where viewport clusters naturally fall — and how to write CSS that handles all of them cleanly.
Read articleWhat Is PPI and Why Does It Matter for Screens?
PPI is the single number that determines whether a screen looks razor-sharp or grainy.
Read articleFrequently Asked Questions
What is the screen resolution of the MacBook Air 13"?
The MacBook Air 13" has a 2560 x 1600 PX screen resolution on a 13.3 INCH display, resulting in a pixel density of 227 PPI.
What is the CSS viewport size of the MacBook Air 13"?
The MacBook Air 13" has a CSS viewport of 1280 x 800 PX. This is the value returned by window.innerWidth and window.innerHeight in JavaScript, and the value that CSS media queries respond to.
What CSS media query should I use for the MacBook Air 13"?
To target the MacBook Air 13" viewport, use: @media (max-width: 1280px). For a mobile-first approach, this targets the device at and above its viewport width.
What is the pixel density (PPI) of the MacBook Air 13"?
The MacBook Air 13" has a pixel density of 227 PPI, which corresponds to a device pixel ratio (DPR) of 2. This means CSS pixels are scaled up to produce crisp, high-resolution rendering on the physical display.