Native resolution 2880 × 1800 px at 2× · 220 PPI · 15.4″ · 16:10. Design at 1440 × 900 and export assets at 2×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 1440 × 900 px |
| CSS viewport (landscape) | 900 × 1440 px |
| Native resolution | 2880 × 1800 px |
| Device pixel ratio | 2× |
| Pixel density | 220 PPI |
| Screen diagonal | 15.4 in |
| Panel size | 13.09 × 8.18 in |
| Aspect ratio | 16:10 |
| Total pixels | 5.18 MP |
| Released | 2018 |
| Operating system | macOS |
Among the 37 desktop and laptop displays on this site, the MacBook Pro 15″ (2018) has the 31th largest CSS viewport area. Its 1440 px width is 231 px below the 1671 px average for this category.
Targeting the MacBook Pro 15″ (2018) 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 MacBook Pro 15″ (2018) specifically */
@media only screen
and (device-width: 1440px)
and (device-height: 900px)
and (-webkit-device-pixel-ratio: 2) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 1440px) { /* … */ }
Compare with other Mac & Displays models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| MacBook Pro 15″ (2018) | 1440 × 900 | 2880 × 1800 | 2× | 220 | 15.4″ |
| MacBook Pro 16″ (2019) | 1792 × 1120 | 3072 × 1920 | 2× | 226 | 16″ |
| Pro Display XDR | 3008 × 1692 | 6016 × 3384 | 2× | 218 | 32″ |
| MacBook Pro 13″ (M1) | 1440 × 900 | 2560 × 1600 | 2× | 227 | 13.3″ |
| MacBook Air 13″ (M1) | 1440 × 900 | 2560 × 1600 | 2× | 227 | 13.3″ |
| iMac 27″ 5K | 2560 × 1440 | 5120 × 2880 | 2× | 218 | 27″ |
| MacBook Pro 16″ (M1) | 1728 × 1117 | 3456 × 2234 | 2× | 254 | 16.2″ |
| MacBook Pro 14″ (M1) | 1512 × 982 | 3024 × 1964 | 2× | 254 | 14.2″ |
| iMac 24″ (M1) | 2240 × 1260 | 4480 × 2520 | 2× | 218 | 23.5″ |
Questions about the MacBook Pro 15″ (2018) screen
What is the screen size of the MacBook Pro 15″ (2018)?
The MacBook Pro 15″ (2018) has a 15.4-inch display. In CSS the viewport measures 1440 × 900 px in portrait, and the panel itself has 2880 × 1800 physical pixels at 220 PPI.
What resolution should I design for on the MacBook Pro 15″ (2018)?
Design at 1440 × 900 and export assets at 2×. That gives you 2880 × 1800 px images, which is exactly what the panel renders. Designing directly at 2880 × 1800 means every measurement is 2 times larger than the CSS values you will write.
What is the device pixel ratio of the MacBook Pro 15″ (2018)?
The MacBook Pro 15″ (2018) reports a device pixel ratio of 2. One CSS pixel therefore covers 4 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the MacBook Pro 15″ (2018)?
3 other devices share the 1440 × 900 CSS viewport: MacBook Pro 13″ (M2), MacBook Pro 13″ (M1), MacBook Air 13″ (M1). 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.