Skip to content

Xiaomi 15 Simulator: screen size 400×890, DPR 3

The Xiaomi 15 preset uses a 400×890 CSS pixel viewport (portrait) at a 3× device pixel ratio, so the screen draws 1200×2670 physical pixels.

Specs pending verification. The resolution comes from the maker or Chrome DevTools, but the viewport and pixel ratio have not been published by the maker or measured on the device.

Xiaomi 15 specs

BrandXiaomi
TypePhone
OSAndroid
ReleasedMarch 2025
Viewport (CSS px, portrait)400×890
Pixel ratio (DPR)3
Physical resolution1200×2670
TouchYes
User agentMozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Mobile Safari/537.36
Specs verifiedPending verification
Sourcesmi.com, mi.com

Similar sizes

Devices close to the Xiaomi 15

Compare every size in the xiaomi, redmi and poco screen sizes and viewports list.

CSS

Media query for the Xiaomi 15

This query matches a 400px-wide viewport and anything narrower.

@media (max-width: 400px) {
  /* styles for Xiaomi 15 and narrower screens */
}

FAQ

Xiaomi 15 questions

What is the Xiaomi 15 viewport size?

400×890 CSS pixels in portrait, which is what CSS media queries see. With a device pixel ratio of 3, that is 1200×2670 physical pixels.

Which devices have the same viewport as the Xiaomi 15?

None of the other presets share the 400×890 viewport, so it is worth testing on its own.

How do I test my site at Xiaomi 15 size?

Open the free iHateBugs Mobile Simulator on your page and pick Xiaomi 15. The page renders at 400×890 CSS pixels, and it works on localhost too. In CSS, @media (max-width: 400px) matches this width and anything narrower.