Runs in your browser ยท nothing uploaded
  1. Home
  2. Guides
  3. How to Check Your Screen Resolution
Device

How to Check Your Screen Resolution

Learn how to identify your exact screen resolution, viewport size, and pixel density using browser signals.

By DeviceInfo Editorial Team October 10, 2026 5 min read

Illustration for the guide: How to Check Your Screen Resolution

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.

PropertyMeaningCharacteristics
screen.widthPhysical display widthFixed by monitor hardware
screen.heightPhysical display heightFixed by monitor hardware
window.innerWidthViewport widthChanges with window resize
window.innerHeightViewport heightExcludes scrollbars and toolbars
window.devicePixelRatioPixel densityRatio 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 innerWidth and innerHeight values.
  • 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.

Frequently asked questions

Which number do I give to tech support?

Provide both the physical screen resolution (screen.width x screen.height) and the current viewport size. Include your browser zoom percentage and device pixel ratio if known. This combination allows support teams to distinguish between hardware limitations and software scaling issues.

Why do some fields appear empty or undefined?

Modern browsers may withhold specific hardware signals due to privacy protections or if the browser is running in a secure context that restricts access. An empty field does not indicate a hardware fault; it usually reflects a browser policy decision or a specific mode like private browsing that limits exposure of device details.

Does this work in mobile browsers?

Yes, mobile browsers report screen dimensions similarly. However, the values represent the display panel of the mobile device. Viewport sizes on mobile devices are heavily influenced by user-agent scaling and CSS zoom levels, so the relationship between physical pixels and CSS pixels is more complex than on desktop displays.

Can I change these values manually?

You cannot change the physical screen values from within a browser tab. You can, however, alter the window values by resizing the window, toggling fullscreen, or adjusting the browser zoom level. These manual adjustments allow you to test how a layout responds to different viewport constraints.

Your device, your values

See this on your own browser right now

Keep reading