OnePlus 8 Dimensions

6.55 INCH 6.31 x 2.87 x 0.31 INCH

OnePlus 8 Resolution

1080 x 2400 PX ~ 402 Pixels Per Inch

OnePlus 8 Viewport

412 x 915 PX ~ 153 Pixels Per Inch

OnePlus 8 Density

2.625 xxhdpi 2.625x Retina Display

OS Details

OnePlus 8 has been launched in April 2020.
OnePlus 8 have Android 10.0 ; OxygenOS 10.0

Screen Dimensions

OnePlus 8 screen size is 6.55 inch with ~ 88.7% body ratio of actual device size. Physical dimensions for OnePlus 8 device is 6.31 x 2.87 x 0.31 INCH or ( 160.2 x 72.9 x 8 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.


OnePlus 8 resolution is 1080 x 2400 PX with ~ 402 pixel desnsity.
OnePlus 8 viewport size is 412 x 915 PX with ~ 153 actual pixel density, which means it have 2.625 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".

OnePlus 8 have 6.55" physical screen size and its resolution is about 1080 x 2400 Pixels with approximately 402 PPI pixel density. OnePlus 8 has viewport size 412 x 915 Pixels and its pixel ratio is about 2.625.

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

CSS Media Queries

OnePlus 8 css media queries will help developers to write styles specifically for OnePlus 8. Here are details:

OnePlus 8 Media Queries (In terms of Mobile only)

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

OnePlus 8 Min-Width Media Queries

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

OnePlus 8 Min-Height Media Queries

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

OnePlus 8 Landscape Media Queries

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

OnePlus 8 Portrait Media Queries

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

OnePlus 8 Device Width Media Queries

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

OnePlus 8 Retina Media Queries

@media
  only screen and (-webkit-min-device-pixel-ratio: 2.625),
  only screen and (   min--moz-device-pixel-ratio: 2.625),
  only screen and (     -o-min-device-pixel-ratio: 2.625/1),
  only screen and (        min-device-pixel-ratio: 2.625),
  only screen and (                min-resolution: 402dpi),
  only screen and (                min-resolution: 2.625dppx) { 
    /* 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 */
}
                                

OnePlus 8 Specifications

  • Launch Date April 2020
  • Android 10.0
  • Physical Screen Size 6.55 INCH
  • Resolution 1080 x 2400 PX
  • Viewport Size 412 x 915 PX
  • Pixel Density 402 PPI
  • Device-Independent Pixels 153 PPI
  • Pixel Ratio 2.625 xxhdpi
  • Width 1080 PX
  • Height 2400 PX
  • Device Width 412 PX
  • Device Height 915 PX
  • Dimensions 160.2 x 72.9 x 8 mm (6.31 x 2.87 x 0.31 in)
  • Weight 180 g - 6.35 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]