Skip to main content
Xiaomi · 2025 · Phone

Xiaomi 15

Full device reference for the Xiaomi 15, including viewport size, native resolution, pixel density, DPR, and supporting responsive-design details.

$650 – $900Android 15.0Released 20256.36 INCH
Compare Device

Quick summary

Viewport

400 x 890 PX

Resolution

1200 x 2670 PX

Density

460 PPI

DPR

3 XXHDPI

Copy viewport or resolution below

Viewport

400 x 890 PX

Resolution

1200 x 2670 PX

Density

460 PPI

DPR

3 XXHDPI

What this device means for responsive design

The Xiaomi 15 uses a viewport of 400 x 890 PX, which makes it a key target for mobile 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: 400px) {
  /* target layouts around Xiaomi 15 width */
}

Display profile

Screen size6.36 INCH
Device density153 PPI
Pixel density460 PPI
Device pixel ratio3 XXHDPI
Refresh rate120Hz LTPO

Detailed specifications

A clean reference table for the most important device and display values.

BrandXiaomi
CategoryPhone
Release2025
Operating SystemAndroid 15.0
Screen Size6.36 INCH
Resolution1200 x 2670 PX
Viewport400 x 890 PX
Pixel Density460 PPI
Device Pixel Ratio3 XXHDPI
Refresh Rate120Hz LTPO
ProcessorSnapdragon 8 Elite
RAM12GB
Storage256GB
Battery5240 mAh
Water ResistanceIP68
Retail Price$650 – $900

CSS Media Query

@media (min-width: 400px) and (max-width: 400px)

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 400 x 890 PX when planning breakpoints and layout widths.

Use resolution for assets

The native 1200 x 2670 PX resolution helps guide image export sizes and display sharpness.

Use DPR for scaling

A DPR of 3 XXHDPI means this screen maps multiple physical pixels to one CSS pixel.

Frequently Asked Questions

What is the screen resolution of the Xiaomi 15?

The Xiaomi 15 has a 1200 x 2670 PX screen resolution on a 6.36 INCH display, resulting in a pixel density of 460 PPI.

What is the CSS viewport size of the Xiaomi 15?

The Xiaomi 15 has a CSS viewport of 400 x 890 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 Xiaomi 15?

To target the Xiaomi 15 viewport, use: @media (max-width: 400px). For a mobile-first approach, this targets the device at and above its viewport width.

What is the pixel density (PPI) of the Xiaomi 15?

The Xiaomi 15 has a pixel density of 460 PPI, which corresponds to a device pixel ratio (DPR) of 3. This means CSS pixels are scaled up to produce crisp, high-resolution rendering on the physical display.