Skip to content
1440px

Xiaomi Redmi Note 12 Screen Size

CSS viewport, native resolution, pixel ratio and pixel density for the Xiaomi Redmi Note 12 — the numbers you need to design and build for it.

CSS viewport · portrait
393 × 873 px

Native resolution 1080 × 2400 px at 2.75× · 395 PPI · 6.67″ · 9:20. Design at 393 × 873 and export assets at 2.75×.

Xiaomi Redmi Note 12 display specifications
PropertyValue
CSS viewport (portrait)393 × 873 px
CSS viewport (landscape)873 × 393 px
Native resolution1080 × 2400 px
Device pixel ratio2.75×
Pixel density395 PPI
Screen diagonal6.67 in
Panel size2.73 × 6.08 in
Aspect ratio9:20
Total pixels2.59 MP
Released2023
Operating systemAndroid

Among the 130 phones on this site, the Xiaomi Redmi Note 12 has the 59th largest CSS viewport area. Its 393 px width is 6 px below the 399 px average for this category.

Targeting the Xiaomi Redmi Note 12 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.

CSS media query
/* Target Xiaomi Redmi Note 12 specifically */
@media only screen
  and (device-width: 393px)
  and (device-height: 873px)
  and (-webkit-device-pixel-ratio: 2.75) {
  /* … */
}

/* More useful in practice — the width bucket it falls into */
@media (min-width: 393px) { /* … */ }

Compare with other Android Phones models

Xiaomi Redmi Note 12 compared with nearby Android Phones models
DeviceCSS viewportNativeDPRPPIDiagonal
Xiaomi Redmi Note 12393 × 8731080 × 24002.75×3956.67″
Google Pixel 8 Pro448 × 9971344 × 29924896.7″
Samsung Galaxy Z Flip 5360 × 8801080 × 26404256.7″
OnePlus 11412 × 9191440 × 32163.5×5256.7″
Nothing Phone (2)412 × 9191080 × 24122.625×3946.7″
Xiaomi 13 Pro440 × 9791440 × 32003.27×5226.73″
Samsung Galaxy S23+384 × 8331080 × 23402.81×3906.6″
Samsung Galaxy A34360 × 7801080 × 23403906.6″
Samsung Galaxy A14360 × 8031080 × 24084006.6″

Questions about the Xiaomi Redmi Note 12 screen

What is the screen size of the Xiaomi Redmi Note 12?

The Xiaomi Redmi Note 12 has a 6.67-inch display. In CSS the viewport measures 393 × 873 px in portrait, and the panel itself has 1080 × 2400 physical pixels at 395 PPI.

What resolution should I design for on the Xiaomi Redmi Note 12?

Design at 393 × 873 and export assets at 2.75×. That gives you 1080 × 2400 px images, which is exactly what the panel renders. Designing directly at 1080 × 2400 means every measurement is 2.75 times larger than the CSS values you will write.

What is the device pixel ratio of the Xiaomi Redmi Note 12?

The Xiaomi Redmi Note 12 reports a device pixel ratio of 2.75. One CSS pixel therefore covers 7.56 device pixels. You can read it in JavaScript with window.devicePixelRatio.

Which other devices have the same viewport as the Xiaomi Redmi Note 12?

2 other devices share the 393 × 873 CSS viewport: Xiaomi 13, Xiaomi Redmi Note 13. A layout that works on one works on all of them.

Related

Specifications from the manufacturer's published device data. Last verified 7 August 2026. CSS viewport values are the portrait window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.