Skip to main content
Apple · 2020 · Phone

iPhone 12 mini

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

$165 – $233iOS 14.1Released 20205.4 INCH
Compare Device

Quick summary

Viewport

360 x 780 PX

Resolution

1080 x 2340 PX

Density

476 PPI

DPR

3 XXHDPI

Copy viewport or resolution below

Viewport

360 x 780 PX

Resolution

1080 x 2340 PX

Density

476 PPI

DPR

3 XXHDPI

What this device means for responsive design

The iPhone 12 mini uses a viewport of 360 x 780 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: 360px) {
  /* target layouts around iPhone 12 mini width */
}

Display profile

Screen size5.4 INCH
Device density159 PPI
Pixel density476 PPI
Device pixel ratio3 XXHDPI
Refresh rate60Hz

Detailed specifications

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

BrandApple
CategoryPhone
Release2020
Operating SystemiOS 14.1
Screen Size5.4 INCH
Resolution1080 x 2340 PX
Viewport360 x 780 PX
Pixel Density476 PPI
Device Pixel Ratio3 XXHDPI
Refresh Rate60Hz
ProcessorApple A14 Bionic
RAM4GB
Storage64GB
Battery2227 mAh
Water ResistanceIP68
Retail Price$165 – $233

CSS Media Query

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

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

Use resolution for assets

The native 1080 x 2340 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 iPhone 12 mini?

The iPhone 12 mini has a 1080 x 2340 PX screen resolution on a 5.4 INCH display, resulting in a pixel density of 476 PPI.

What is the CSS viewport size of the iPhone 12 mini?

The iPhone 12 mini has a CSS viewport of 360 x 780 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 iPhone 12 mini?

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

What is the pixel density (PPI) of the iPhone 12 mini?

The iPhone 12 mini has a pixel density of 476 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.