Googlesmartphone2020
Google Pixel 5
Complete CSS viewport dimensions, device pixel ratio, physical screen specs, and downloadable high-resolution transparent mockup.
CSS Viewport
393 × 851px
Physical Resolution
1080 × 2340px
Device Pixel Ratio
@2.75xDPR
Diagonal Screen
6"(15.24 cm)
Aspect Ratio
19.5:9
Pixel Density
432PPI
Hardware & System Profile
Operating SystemAndroid 16.0
Rotation SupportedYes (Portrait & Landscape)
Network Simulation5G
Screen CurvatureFlat Display
Device User-Agent String
Use this string in Chrome DevTools or curl to simulate this exact device.
Mozilla/5.0 (Linux; Android 16; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.260 Mobile Safari/537.36
CSS Media Query
Target Google Pixel 5 precisely with CSS media rules.
Portrait Mode
@media only screen
and (min-device-width: 393px)
and (max-device-width: 393px)
and (-webkit-min-device-pixel-ratio: 2.75) {
/* Google Pixel 5 (Portrait) */
}Landscape Mode
@media only screen
and (min-device-width: 851px)
and (max-device-width: 851px)
and (-webkit-min-device-pixel-ratio: 2.75) {
/* Google Pixel 5 (Landscape) */
}Free Chrome Extension
Test your website on Google Pixel 5 in 1 click
Install the Responsive Viewer extension to simulate Google Pixel 5's 393×851 viewport and DPR directly on any active browser tab.