What Is My Screen Resolution?
Your screen resolution, browser viewport, device pixel ratio and colour depth, read live in your browser.
Reading your screen and viewport from the browser…
Screen, Viewport and Pixel Ratio
- Screen resolution: the full pixel size of your display.
- Viewport: the area of the page the browser actually shows, minus toolbars, and affected by window size and zoom.
- Device pixel ratio: how many physical pixels map to one CSS pixel, so high-density screens stay sharp.
- Colour depth: how many bits encode each pixel’s colour, commonly 24-bit.
This is why the viewport is usually smaller than the screen resolution: scaling and a pixel ratio above 1 mean fewer CSS pixels fit than the display has physical pixels.
Why It Matters
Knowing the viewport and pixel ratio lets designers build layouts that adapt to any screen and lets them serve images at the right size, so pages stay sharp without wasting bandwidth.
These values are also part of your browser fingerprint. On their own they identify almost nobody, but combined with your user agent and other traits they help distinguish one device from another.