What Is My Screen Resolution?

Your screen resolution in CSS pixels, the physical pixel count behind it, the size of the browser viewport and the pixel ratio that links them. The numbers update as you resize the window or rotate your device.

Screen resolution (CSS pixels)
Physical pixels (approx.)
Device pixel ratio
Browser viewport
Available screen (minus taskbar)
Colour depth
Orientation
Window position
Zoom level (estimate)

Live: resize the window or rotate your device and the values change.

CSS pixels, physical pixels and why they differ

Operating systems scale their interface on dense displays so that text stays readable. A 4K monitor at 150% scaling behaves, to a web page, like a 2560×1440 screen; a phone with a 1170×2532 panel reports 390×844. The scaling factor is the device pixel ratio. Web pages lay out in the scaled CSS pixels and browsers fetch higher-resolution images when the ratio is above 1, which is why an image that looks sharp on one screen can look soft on another.

Common screen sizes

Device classTypical CSS widthTypical DPR
Phones360 – 4302 – 3
Small tablets600 – 8002
iPad and large tablets810 – 10242
Laptops1280 – 15361 – 2
Desktop monitors1920 – 25601 – 1.5
4K at 150 %25601.5

More browser signals, including languages, time zone and hardware, are on the browser info page.

Frequently asked questions

Why is my screen resolution lower than the monitor’s native resolution?
The browser reports CSS pixels, not physical ones. On a high-density display with 200% scaling, a 2560×1440 monitor reports 1280×720. Multiply by the pixel ratio to get physical pixels.
What is the difference between screen and viewport?
Screen is the whole display. Viewport is the part of the browser window that shows the page, which excludes tabs, toolbars and any part of the window that is off-screen or shared with another app.
What is device pixel ratio?
Physical pixels per CSS pixel. 1 on a standard monitor, 2 on most Retina and phone screens, sometimes 3 or more. Sites use it to decide which image size to send.
Why do the numbers change when I rotate my phone?
Width and height swap and the orientation value changes. This page updates live, which is handy when testing responsive layouts.
Which resolution should I design for?
Design for widths, not devices: 360 to 430 for phones, 768 to 1024 for tablets, 1280 to 1920 for laptops and desktops. Test at the boundaries rather than at any single number.
Scroll to Top