Short answer
To check your screen resolution, compare the physical display dimensions provided by the browser's screen object against the visible area defined by the window object. The screen.width and screen.height values indicate your monitor's native panel size, while innerWidth and innerHeight reflect the current window size. These values can differ significantly due to operating system scaling, browser zoom levels, or window border dimensions.
What the check does
The check reads specific JavaScript properties that the browser exposes to web applications. It does not access hardware drivers or OS settings directly; instead, it relies on values the browser calculates and reports based on the current session state. This process verifies two distinct things: the static capabilities of your display hardware and the dynamic layout context of your browser window. By examining these signals, you can determine if your device is rendering content at its native resolution or if scaling factors are altering the visible output.
How to read the result
When viewing the results, look for the separation between the physical panel and the viewport. The physical panel size remains constant unless you disconnect a monitor or change OS display settings. The viewport size changes every time you resize the browser window, toggle fullscreen mode, or adjust the zoom level. If the viewport numbers are larger than expected for a standard window, check if high-DPI scaling is active in your operating system. If the numbers are smaller, verify that you are not in a constrained window mode or that a browser extension has not hidden parts of the interface.
What the values mean
Understanding the specific properties helps you diagnose layout issues accurately. Below is a reference for the key values returned by the browser.
| Property | Meaning | Characteristics |
|---|---|---|
screen.width | Physical display width | Fixed by monitor hardware |
screen.height | Physical display height | Fixed by monitor hardware |
window.innerWidth | Viewport width | Changes with window resize |
window.innerHeight | Viewport height | Excludes scrollbars and toolbars |
window.devicePixelRatio | Pixel density | Ratio of physical pixels to CSS pixels |
Common questions
- Why is my viewport size different from my monitor size? The viewport only includes the content area, excluding browser toolbars, tabs, and scrollbars.
- Does OS scaling affect these numbers? Yes, operating system scaling alters the CSS pixel count, which changes the reported
innerWidthandinnerHeightvalues. - Can I see my GPU model here? No, screen resolution checks do not reveal GPU details; you need a specific hardware diagnostic for that.
- Why do numbers change when I zoom? Zooming changes the conversion rate between CSS pixels and device pixels, directly impacting the reported viewport dimensions.
- Is this data private? Yes, these values are standard browser metadata used for layout rendering and are not personally identifying information on their own.
Try it live
Verify your current setup by running a live diagnostic. Open the Screen Resolution Test to see your live values and compare them against the explanations above. This tool displays the exact properties the browser is currently exposing for your session.
Limitations
Browsers intentionally limit the detail provided to web applications to protect user privacy and performance. The screen object only reports standard display metrics and does not expose monitor brand, model, or serial number. Additionally, high-resolution monitors connected to low-performance operating systems may report accurate dimensions, but the actual rendering quality can be constrained by driver settings or compositing methods. Browsers also may suppress certain signals when running in enhanced protection mode or when the user has opted out of telemetry. Always treat browser-reported values as layout context rather than definitive hardware diagnostics. For a complete picture of your device, combine these results with Device Information and GPU Information to understand the full rendering pipeline.