Skip to main content
Google · 2020 · Phone

Google Pixel 4a

Full device reference for the Google Pixel 4a, including viewport size, native resolution, pixel density, DPR, and supporting responsive-design details.

$298 – $298Android 11.0Released 20205.81 INCH
Compare Device

Quick summary

Viewport

393 x 851 PX

Resolution

1080 x 2340 PX

Density

432 PPI

DPR

2.75 XXHDPI

Copy viewport or resolution below

Viewport

393 x 851 PX

Resolution

1080 x 2340 PX

Density

432 PPI

DPR

2.75 XXHDPI

What this device means for responsive design

The Google Pixel 4a uses a viewport of 393 x 851 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: 393px) {
  /* target layouts around Google Pixel 4a width */
}

Display profile

Screen size5.81 INCH
Device density157 PPI
Pixel density432 PPI
Device pixel ratio2.75 XXHDPI
Refresh rate60Hz OLED

Detailed specifications

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

BrandGoogle
CategoryPhone
Release2020
Operating SystemAndroid 11.0
Screen Size5.81 INCH
Resolution1080 x 2340 PX
Viewport393 x 851 PX
Pixel Density432 PPI
Device Pixel Ratio2.75 XXHDPI
Refresh Rate60Hz OLED
ProcessorSnapdragon 730G
RAM6GB
Storage128GB
Battery3140 mAh
Water ResistanceNo
Retail Price$298 – $298

CSS Media Query

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

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 393 x 851 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 2.75 XXHDPI means this screen maps multiple physical pixels to one CSS pixel.

Frequently Asked Questions

What is the screen resolution of the Google Pixel 4a?

The Google Pixel 4a has a 1080 x 2340 PX screen resolution on a 5.81 INCH display, resulting in a pixel density of 432 PPI.

What is the CSS viewport size of the Google Pixel 4a?

The Google Pixel 4a has a CSS viewport of 393 x 851 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 Google Pixel 4a?

To target the Google Pixel 4a viewport, use: @media (max-width: 393px). For a mobile-first approach, this targets the device at and above its viewport width.

What is the pixel density (PPI) of the Google Pixel 4a?

The Google Pixel 4a has a pixel density of 432 PPI, which corresponds to a device pixel ratio (DPR) of 2.75. This means CSS pixels are scaled up to produce crisp, high-resolution rendering on the physical display.