Pixel 4 Dimensions

5.7 INCH 5.79 x 2.71 x 0.32 INCH

Pixel 4 Resolution

1080 x 2280 PX ~ 444 Pixels Per Inch

Pixel 4 Viewport

393 x 830 PX ~ 161 Pixels Per Inch

Pixel 4 Density

2.75 xxhdpi 2.75x Retina Display

OS Details

Google Pixel 4 has been launched in October 2019.
Google Pixel 4 have Android 10

Screen Dimensions

Google Pixel 4 screen size is 5.7 inch with ~ 79.8% body ratio of actual device size. Physical dimensions for Google Pixel 4 device is 5.79 x 2.71 x 0.32 INCH or ( 147.1 x 68.8 x 8.2 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.


Google Pixel 4 resolution is 1080 x 2280 PX with ~ 444 pixel desnsity.
Google Pixel 4 viewport size is 393 x 830 PX with ~ 161 actual pixel density, which means it have 2.75 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".

Google Pixel 4 have 5.7" physical screen size and its resolution is about 1080 x 2280 Pixels with approximately 444 PPI pixel density. Google Pixel 4 has viewport size 393 x 830 Pixels and its pixel ratio is about 2.75.

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

CSS Media Queries

Targeted css media queries will help developers to write styles specifically for Google Pixel 4. Here are details:

Google Pixel 4 Media Queries (In terms of Mobile only)

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

Google Pixel 4 Min-Width Media Queries

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

Google Pixel 4 Min-Height Media Queries

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

Google Pixel 4 Landscape Media Queries

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

Google Pixel 4 Portrait Media Queries

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

Google Pixel 4 Device Width Media Queries

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

Google Pixel 4 Retina Media Queries

@media
  only screen and (-webkit-min-device-pixel-ratio: 2.75),
  only screen and (   min--moz-device-pixel-ratio: 2.75),
  only screen and (     -o-min-device-pixel-ratio: 2.75/1),
  only screen and (        min-device-pixel-ratio: 2.75),
  only screen and (                min-resolution: 444dpi),
  only screen and (                min-resolution: 2.75dppx) { 
    /* 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 (for all 2x resolution supported devices)

@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 (for all 3x resolution supported devices)

@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 */
}
                                

Google Pixel 4 Specifications

  • Launch Date October 2019
  • Android 10.0
  • Physical Screen Size 5.7 INCH
  • Resolution 1080 x 2280 PX
  • Viewport Size 393 x 830 PX
  • Pixel Density 444 PPI
  • Device-Independent Pixels 161 PPI
  • Pixel Ratio 2.75 xxhdpi
  • Width 1080 PX
  • Height 2280 PX
  • Device Width 393 PX
  • Device Height 830 PX
  • Dimensions 147.1 x 68.8 x 8.2 mm (5.79 x 2.71 x 0.32 in)
  • Weight 162 g - 5.71 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]