iPhone 12 Dimensions

6.1 INCH 5.78 x 2.81 x 0.29 INCH

iPhone 12 Resolution

1170 x 2532 PX ~ 460 Pixels Per Inch

iPhone 12 Viewport

390 x 844 PX ~ 153 Pixels Per Inch

iPhone 12 Density

3 xxhdpi 3x Retina Display

OS Details

Apple iPhone 12 will be launched in October 2020.
Apple iPhone 12 have iOS 14.1

Screen Dimensions

Apple iPhone 12 screen size is 6.1 inch with ~ 86.0% body ratio of actual device size. Physical dimensions for Apple iPhone 12 device is 5.78 x 2.81 x 0.29 INCH or ( 146.7 x 71.5 x 7.4 MM).

Displaying of Units are in this order "Height x Width x Thickness"

Screen Pixel Density and CSS Pixel Ratio

"Pixel" is smallest unit/element of any display.

The total number of pixels that fit into an inch is referred to as "Screen Density" or "Pixel Density" and it measured as "Pixels Per Inch".
Pixel Desnsity have limits to display Pixels Per Inch depends on different screen sizes. When number of pixels per inch increases than it's screen-size limit, the Display resolution will increase but actual device width/height in pixels remain same. Actual device pixels are known as Device Independent Pixels or CSS Pixel Ratio.


Apple iPhone 12 resolution is 1170 x 2532 PX with ~ 460 pixel desnsity.
Apple iPhone 12 viewport size is 390 x 844 PX with ~ 153 actual pixel density, which means it have 3 xxhdpi display pixel density.

Screen Resolution and Viewport

The sum of pixels which are displaying on a device is called as "Screen Resolution". and sum of actual pixels of any device is reffered to as "Viewport".

Apple iPhone 12 have 6.1" physical screen size and its resolution is about 1170 x 2532 Pixels with approximately 460 PPI pixel density. Apple iPhone 12 has viewport size 390 x 844 Pixels and its pixel ratio is about 3.

For better understanding screen actual sizes, viewport sizes, display resolution and about their density click here.

CSS Media Queries

Apple iPhone 12 Media Queries (In terms of Mobile only)

@media only screen and (min-width: 390px) and (max-width: 767px) { /* Your Styles... */ }

Apple iPhone 12 Min-Width Media Queries

@media only screen and (min-width: 390px) { /* Your Styles... */ }

Apple iPhone 12 Min-Height Media Queries

@media only screen and (min-height: 844px) { /* Your Styles... */ }

Apple iPhone 12 Landscape Media Queries

@media only screen and (min-width: 844px) and (orientation: landscape) { /* Your Styles... */ }

Apple iPhone 12 Portrait Media Queries

@media only screen and (min-width: 390px) and (orientation: portrait) { /* Your Styles... */ }

Apple iPhone 12 Retina Media Queries

@media
  only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (   min--moz-device-pixel-ratio: 3),
  only screen and (     -o-min-device-pixel-ratio: 3/1),
  only screen and (        min-device-pixel-ratio: 3),
  only screen and (                min-resolution: 460dpi),
  only screen and (                min-resolution: 3dppx) { 
    /* Retina styles here */
}
                                

Retina is actually based upon device pixel ratio. Devices mostly have 2x or 3x display so you can use general retina media queries to display high resolution content on all kind of devices. Retina 2x and Retina 3x media queries given below:

Retina 2x Media Query

@media
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (   min--moz-device-pixel-ratio: 2),
  only screen and (     -o-min-device-pixel-ratio: 2/1),
  only screen and (        min-device-pixel-ratio: 2),
  only screen and (                min-resolution: 192dpi),
  only screen and (                min-resolution: 2dppx) { 
    /* Retina styles here */
}
                                

Retina 3x Media Query

@media
  only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (   min--moz-device-pixel-ratio: 3),
  only screen and (     -o-min-device-pixel-ratio: 3/1),
  only screen and (        min-device-pixel-ratio: 3),
  only screen and (                min-resolution: 384dpi),
  only screen and (                min-resolution: 3dppx) { 
    /* Retina styles here */
}
                                

Apple iPhone 12 Specifications

  • Launch Date October 2020
  • iOS 14.1
  • Physical Screen Size 6.1 INCH
  • Resolution 1170 x 2532 PX
  • Viewport Size 390 x 844 PX
  • Pixel Density 460 PPI
  • Device-Independent Pixels 153 PPI
  • Pixel Ratio 3 xxhdpi
  • Width 1170 PX
  • Height 2532 PX
  • Device Width 390 PX
  • Device Height 844 PX
  • Dimensions 146.7 x 71.5 x 7.4 mm (5.78 x 2.81 x 0.29 in)
  • Weight 164 g - 5.78 oz

Disclaimer: Information collected from different top relevent websites. It is tried to keep the information correct.
If you find anything wrong email us [email protected]