Screen Resolution

See your screen resolution, browser viewport, pixel density and colour depth at a glance - the viewport figures update live as you resize.

Screen resolution
-
Physical display, in CSS pixels
Browser viewport
-
The area available to this page (resize to watch it change)
Pixel ratio
-
Physical pixels
-
Available screen
-
Colour depth
-
Orientation
-
Aspect ratio
-

Common resolutions compared

NameResolutionAspectMegapixels

Screen versus viewport

Two measurements matter when you are building or testing a layout. The screen resolution is your whole display, reported by the browser in CSS pixels. The viewport is the slice of that screen your browser actually gives the page, after subtracting toolbars, tabs, the address bar and scrollbars, and after accounting for a window that is not full-screen. Media queries and responsive breakpoints react to the viewport, which is why the viewport figure above is the one that changes when you drag the window edge.

CSS pixels and device pixel ratio

Modern phones and laptops pack far more physical pixels than the numbers you see in CSS. That is the device pixel ratio: on a Retina screen with a ratio of 2, every CSS pixel is drawn with a 2x2 grid of real pixels, so a panel advertised as 2880 pixels wide reports 1440 CSS pixels. Multiply the reported width and height by the pixel ratio to recover the physical resolution - that is the "Physical pixels" figure above. The ratio also shifts when you zoom the page in or out, which is a quick way to see it move.

Common display resolutions

  • 1366x768 - still common on budget laptops
  • 1920x1080 - Full HD / 1080p, the most widespread desktop size
  • 2560x1440 - QHD / 1440p, popular with gamers and designers
  • 3840x2160 - 4K UHD, four times the pixels of 1080p
  • 390x844 - a typical modern phone in portrait (CSS pixels)

Designing images or video for a specific frame? The aspect ratio calculator keeps proportions correct, and the image resizer scales files to exact pixel sizes right in your browser. To check colour choices look sharp for everyone, the contrast checker tests against accessibility standards.

Frequently asked questions

What is my screen resolution?
Your screen resolution is shown at the top of this page as width by height in pixels, read straight from your device. Common desktop resolutions are 1920x1080 (Full HD), 2560x1440 (QHD) and 3840x2160 (4K); laptops and phones vary widely.
Why is the reported resolution smaller than my monitor spec?
Browsers report CSS pixels, not physical pixels. On a high-density (Retina) display the device pixel ratio is greater than 1, so a 2560-pixel-wide panel may report 1280 CSS pixels with a ratio of 2. Multiply the CSS width by the pixel ratio to get the physical pixels.
What is the difference between screen size and viewport size?
Screen size is your whole display. Viewport size is just the area your browser has to draw the page, which is smaller because of toolbars, tabs, scrollbars and any window that is not maximised. Responsive layouts respond to the viewport, not the screen.
What is device pixel ratio?
It is how many physical pixels make up one CSS pixel. A ratio of 1 is a standard display; 2 or 3 means a high-density screen where images need to be that many times larger to look sharp. It also changes when you zoom the page.