Native resolution 1200 × 2670 px at 2.83× · 460 PPI · 6.36″ · 9:20. Design at 424 × 944 and export assets at 2.83×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 424 × 944 px |
| CSS viewport (landscape) | 944 × 424 px |
| Native resolution | 1200 × 2670 px |
| Device pixel ratio | 2.83× |
| Pixel density | 460 PPI |
| Screen diagonal | 6.36 in |
| Panel size | 2.61 × 5.8 in |
| Aspect ratio | 9:20 |
| Total pixels | 3.2 MP |
| Released | 2024 |
| Operating system | Android |
Among the 130 phones on this site, the Xiaomi 14 has the 25th largest CSS viewport area. Its 424 px width is 25 px above the 399 px average for this category.
Targeting the Xiaomi 14 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 Xiaomi 14 specifically */
@media only screen
and (device-width: 424px)
and (device-height: 944px)
and (-webkit-device-pixel-ratio: 2.83) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 424px) { /* … */ }
Compare with other Android Phones models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Xiaomi 14 | 424 × 944 | 1200 × 2670 | 2.83× | 460 | 6.36″ |
| Google Pixel 9 Pro | 427 × 952 | 1280 × 2856 | 3× | 495 | 6.3″ |
| Google Pixel 9 | 412 × 916 | 1080 × 2424 | 2.625× | 422 | 6.3″ |
| Samsung Galaxy A25 | 360 × 780 | 1080 × 2340 | 3× | 396 | 6.5″ |
| Sony Xperia 1 VI | 393 × 851 | 1080 × 2340 | 2.75× | 396 | 6.5″ |
| Samsung Galaxy S24 | 360 × 780 | 1080 × 2340 | 3× | 416 | 6.2″ |
| Samsung Galaxy A55 | 360 × 780 | 1080 × 2340 | 3× | 390 | 6.6″ |
| Samsung Galaxy A35 | 360 × 780 | 1080 × 2340 | 3× | 390 | 6.6″ |
| Google Pixel 8a | 412 × 915 | 1080 × 2400 | 2.625× | 430 | 6.1″ |
Questions about the Xiaomi 14 screen
What is the screen size of the Xiaomi 14?
The Xiaomi 14 has a 6.36-inch display. In CSS the viewport measures 424 × 944 px in portrait, and the panel itself has 1200 × 2670 physical pixels at 460 PPI.
What resolution should I design for on the Xiaomi 14?
Design at 424 × 944 and export assets at 2.83×. That gives you 1200 × 2670 px images, which is exactly what the panel renders. Designing directly at 1200 × 2670 means every measurement is 2.83 times larger than the CSS values you will write.
What is the device pixel ratio of the Xiaomi 14?
The Xiaomi 14 reports a device pixel ratio of 2.83. One CSS pixel therefore covers 8.01 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Xiaomi 14?
1 other device shares the 424 × 944 CSS viewport: Xiaomi 15. 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.