Native resolution 1220 × 2712 px at 3.1× · 446 PPI · 6.67″ · 9:20. Design at 394 × 875 and export assets at 3.1×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 394 × 875 px |
| CSS viewport (landscape) | 875 × 394 px |
| Native resolution | 1220 × 2712 px |
| Device pixel ratio | 3.1× |
| Pixel density | 446 PPI |
| Screen diagonal | 6.67 in |
| Panel size | 2.74 × 6.08 in |
| Aspect ratio | 9:20 |
| Total pixels | 3.31 MP |
| Released | 2024 |
| Operating system | Android |
Among the 130 phones on this site, the Xiaomi POCO X6 Pro has the 56th largest CSS viewport area. Its 394 px width is 5 px below the 399 px average for this category.
Targeting the Xiaomi POCO X6 Pro 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 POCO X6 Pro specifically */
@media only screen
and (device-width: 394px)
and (device-height: 875px)
and (-webkit-device-pixel-ratio: 3.1) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 394px) { /* … */ }
Compare with other Android Phones models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Xiaomi POCO X6 Pro | 394 × 875 | 1220 × 2712 | 3.1× | 446 | 6.67″ |
| Xiaomi 14T Pro | 394 × 875 | 1220 × 2712 | 3.1× | 446 | 6.67″ |
| Xiaomi Redmi Note 13 Pro | 394 × 875 | 1220 × 2712 | 3.1× | 446 | 6.67″ |
| Xiaomi Redmi Note 13 | 393 × 873 | 1080 × 2400 | 2.75× | 395 | 6.67″ |
| Samsung Galaxy S24+ | 384 × 832 | 1440 × 3120 | 3.75× | 513 | 6.7″ |
| Samsung Galaxy S24 FE | 360 × 780 | 1080 × 2340 | 3× | 385 | 6.7″ |
| Samsung Galaxy Z Flip 6 | 360 × 880 | 1080 × 2640 | 3× | 425 | 6.7″ |
| Samsung Galaxy A16 | 360 × 780 | 1080 × 2340 | 3× | 385 | 6.7″ |
| Motorola Edge 50 Pro | 412 × 919 | 1220 × 2712 | 2.96× | 446 | 6.7″ |
Questions about the Xiaomi POCO X6 Pro screen
What is the screen size of the Xiaomi POCO X6 Pro?
The Xiaomi POCO X6 Pro has a 6.67-inch display. In CSS the viewport measures 394 × 875 px in portrait, and the panel itself has 1220 × 2712 physical pixels at 446 PPI.
What resolution should I design for on the Xiaomi POCO X6 Pro?
Design at 394 × 875 and export assets at 3.1×. That gives you 1220 × 2712 px images, which is exactly what the panel renders. Designing directly at 1220 × 2712 means every measurement is 3.1 times larger than the CSS values you will write.
What is the device pixel ratio of the Xiaomi POCO X6 Pro?
The Xiaomi POCO X6 Pro reports a device pixel ratio of 3.1. One CSS pixel therefore covers 9.61 device pixels. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Xiaomi POCO X6 Pro?
3 other devices share the 394 × 875 CSS viewport: Xiaomi 14T Pro, Xiaomi Redmi Note 14 Pro, Xiaomi Redmi Note 13 Pro. 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.