Screen Resolution Detector
Detect your screen and browser viewport dimensions, and understand why they differ.
Last reviewed by the Radiatus Cloud team
Loading tool...
Need this done properly for your business?
Radiatus delivers secure cloud, DevOps & compliance engineering.
Three different sizes, all correct
Screen resolution is the display's full size. Window outer size includes browser chrome. Viewport is the area a page renders into, which is what CSS media queries respond to. A 1920-wide monitor commonly gives a viewport around 1903 after the scrollbar, and far less when developer tools are docked — which is why a layout can look wrong while debugging and fine when closed.
Device pixel ratio separates CSS pixels from hardware pixels
A CSS pixel is a reference unit, not a physical one. A device pixel ratio of 2 means each CSS pixel is drawn with four hardware pixels. A phone reporting a 390-pixel viewport may have a 1170-pixel physical screen at ratio 3. This is why images need to be supplied at two or three times their CSS dimensions to look sharp, and why 1x assets appear soft on modern displays.
Mobile viewports depend on the meta tag
Without viewport meta, mobile browsers render at a virtual width around 980 pixels and scale down, so a responsive layout never triggers its breakpoints. Setting width=device-width, initial-scale=1 is what makes the viewport reflect the actual device.
Zoom changes the numbers
Browser zoom alters the reported viewport in CSS pixels and the effective device pixel ratio, so a user at 125 percent zoom sees fewer CSS pixels and may cross a breakpoint. Designing to breakpoints that assume 100 percent zoom ignores a substantial share of real users.
Resolution is a weak proxy for anything
Screen size does not indicate device type, input method or window size — many desktop users browse in a window far narrower than their display. Feature detection and viewport-based media queries describe the actual rendering context; resolution alone does not.
Related tools
- User Agent Parser — Parse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
- QR Code Generator — Generate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
- Credit Card Validator — Validate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.
- Text Case Converter — Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and sentence case. Runs entirely in your browser.
Frequently Asked Questions
Why is my viewport smaller than my screen resolution?
Because the viewport excludes browser chrome and the scrollbar, and docked developer tools reduce it further. A 1920 monitor typically gives about 1903 CSS pixels.
What is device pixel ratio?
How many hardware pixels draw one CSS pixel. At ratio 2 each CSS pixel uses four hardware pixels, which is why images need 2x or 3x assets to look sharp.
Why does my responsive layout not work on mobile?
Usually a missing viewport meta tag. Without it, mobile browsers render at a virtual width near 980 pixels and scale down, so breakpoints never trigger.
Does browser zoom affect the viewport?
Yes. Zoom changes the reported CSS pixel width and can cross a breakpoint, so designing only for 100 percent zoom ignores many real users.
Privacy & Security
Runs in your browser. Nothing you enter is uploaded or stored.
About This Tool
This tool runs entirely in your browser. No data is sent to any server, ensuring complete privacy. Simply use the interface above to get started — no registration or login required.
Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.
Related Tools
User Agent Parser
UtilityParse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
QR Code Generator
UtilityGenerate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
Credit Card Validator
UtilityValidate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.