What Is My Screen Resolution - Check Display
Instantly see your screen resolution, browser viewport size, device pixel ratio, and color depth. Useful for responsive design testing and display troubleshooting.
Your Screen Information
- Screen Resolution
- Detecting…
- Viewport Size
- Detecting…
- Color Depth
- Detecting…
- Pixel Ratio
- Detecting…
Understanding This Tool
What It Does
This tool reads four display-related values directly from your web browser using JavaScript that runs in your browser, not on our server. It reports your screen's logical resolution (screen.width and screen.height), the current browser viewport size (window.innerWidth and window.innerHeight), the screen's reported color depth (screen.colorDepth), and the device pixel ratio (window.devicePixelRatio). The numbers describe the browser window and the display surface the browser is drawing to, so they can change if you resize the window, move the browser to another monitor, or change your operating system display scaling.
Understanding the Results
- Screen Resolution: Shows screen.width by screen.height, the logical (CSS-pixel) size of your display as the browser sees it. On high-DPI or scaled displays this is not the native hardware pixel count, so to estimate the physical pixels, multiply each value by the Pixel Ratio below.
- Viewport Size: Shows window.innerWidth by window.innerHeight, the area of the browser window currently available for the page (including any space taken by scrollbars). This is usually smaller than the screen resolution and reflects the window size at the moment the page loaded.
- Color Depth: Shows screen.colorDepth followed by the word "bits", the number of bits the browser reports for representing colors. Most modern displays report 24 bits (about 16.7 million colors).
- Pixel Ratio: Shows window.devicePixelRatio, the ratio of physical device pixels to CSS pixels. A value of 1 is a standard-density display; 2 or 3 indicates a high-DPI (Retina-style) screen. This value also changes with browser zoom level.
Common Use Cases
- Responsive design testing: Resize your window, reload the page, and read the viewport size to see which CSS breakpoint is active at a given width.
- Confirming high-DPI rendering: Check the device pixel ratio to know whether a screen is high-density, which affects how sharp images and 1x versus 2x assets will appear.
- Display and scaling troubleshooting: Compare the reported resolution and pixel ratio against your expectations to spot operating-system display scaling or browser zoom that is changing the numbers.
- Bug reports and support tickets: Copy your screen resolution, viewport, color depth, and pixel ratio into a report so a developer can reproduce a layout issue on a matching window size.
- Verifying multi-monitor setups: Move the browser to another monitor, reload the page, and compare the values to see how each display's resolution and pixel ratio differ.
Pro Tips & Best Practices
- Resolution is logical, not physical: On scaled or Retina displays the screen resolution shown is in CSS pixels. Multiply by the Pixel Ratio for a rough estimate of the native hardware pixel count.
- Zoom changes the numbers: Browser zoom affects both the viewport size and the device pixel ratio. Set zoom to 100 percent if you want values that reflect your actual display rather than your zoom level.
- Viewport is not the full screen: The viewport size excludes browser toolbars, the OS taskbar, and window borders, so it is normally smaller than the screen resolution even when the window is maximized.
- Reload after changes: The values are read once when the page loads. Resize the window, move monitors, or change scaling, then reload the page to see updated numbers.
Frequently Asked Questions
Frequently Asked Questions
Does this show my monitor's true native resolution?
Why is my viewport size smaller than my screen resolution?
What does the pixel ratio mean?
Is my screen information sent to your server?
Why don't the values update when I resize or move the window?
How this tool works: This tool runs in your browser and on our server in real time. Depending on the tool, results are computed directly from the input you provide or retrieved from live, authoritative data sources at the moment you run a lookup. We do not sell your data, and your lookups are kept private — any history shown here is stored only on your device.