Screen Resolution Tester
Your current screen and browser dimensions, updated in real time as you resize the window.
Common breakpoints
< 768px
768–1024px
> 1024px
1280px
1920px
3840px
About the Screen Resolution Tester
What it detects
Displays your screen's physical resolution, colour depth, pixel ratio (for HiDPI/Retina displays), and available viewport dimensions — all read directly from your browser without any software installation.
Why it matters
Screen resolution affects how websites, images, and apps are rendered. Knowing your display's specs is useful for web development, graphic design, testing responsive layouts, and buying accessories.
- Resolution — total pixels: width × height (e.g. 1920 × 1080)
- Device pixel ratio — on Retina/HiDPI screens this is 2× or more; CSS pixels ≠ physical pixels
- Colour depth — bits per pixel; 24-bit (16M colours) is standard for modern displays
- Viewport — the visible browser area, smaller than full screen resolution
Screen resolution and responsive design
Device pixel ratio (DPR) is the ratio between physical pixels and CSS pixels. A DPR of 2 (Retina/HiDPI) means 4 physical pixels per CSS pixel, producing sharper images. For web images, serving a 2x image (srcset) on high-DPR screens prevents blurriness without wasting bandwidth on standard displays.
- srcset attribute — provide 1x and 2x image versions:
srcset="img.jpg 1x, [email protected] 2x" - CSS media query — target HiDPI:
@media (-webkit-min-device-pixel-ratio: 2) - SVGs — resolution-independent by nature; always sharp at any DPR without extra versions
- Canvas API — multiply canvas dimensions by devicePixelRatio and scale via CSS for sharp canvas graphics on HiDPI screens