Live screen resolution checker

What Is My Screen Resolution?

Use the screen resolution checker to see your screen size in CSS pixels, live viewport and device pixel ratio. Copy these readings or learn how to measure a layout bug on the affected page.

Free browser extension · No account required · Runs on your computer

Live measurementYour browser right now
Browser-reported screen size
—
Layout viewport
—
Visible viewport
—
Device pixel ratio (DPR)
—

Screen size here is in CSS pixels. For the current output resolution, open your system’s display settings. For native panel pixels, check the display model’s specifications.

These readings describe this page. To diagnose a bug, measure the affected page in the failing state.

Check your screen resolution and browser viewport size

Check screen size in CSS pixels with the live screen resolution checker. If you are asking “What is my viewport size?” for responsive testing, start with Layout viewport. Your device pixel ratio (DPR) appears alongside the dimensions. Resize the window or rotate your phone to see which measurements change.

Layout viewport vs visual viewport

When you ask “What is my screen resolution?”, you may need the browser’s CSS dimensions for a website or the native display mode for a monitor. For the monitor’s hardware specifications, look up the display model. For its configured output resolution, open your operating system’s display settings.

What each screen measurement tells you
MeasurementMeaningUse it for
Browser-reported screen sizeThe screen rectangle the browser reports in CSS pixels.Recording the display context of a report.
Layout viewportThe page’s layout width and height, including rendered scrollbars.Recreating the starting dimensions for a layout bug.
Visible viewportThe part of the page currently visible to the user.Diagnosing an obscured button or a short visible area.
Device pixel ratio (DPR)The ratio of physical to CSS pixels reported by this browser.Explaining pixel density and image rendering differences.
Diagram showing the screen, a browser window, its layout viewport, and a smaller visible viewport while zoomed in.
Screen, layout and visible viewport measure different areas. In this illustration, zoom reduces how much of the laid-out page is visible.

How to check viewport size on a website

Reproduce the issue on the affected page and measure it there. Opening this checker can change the available space: the other page may use a different viewport setting, and leaving a form field may close the keyboard. Use an undocked developer console or a remote inspector if opening docked tools changes the layout.

Read the viewport on the affected page

Run this read-only snippet in the developer console for the affected page while the bug is visible. If opening the tools changes the state, take a screenshot or recording first and label any later readings with the state you measured.

(() => {
  const viewport = window.visualViewport;
  console.table({
    layout: `${window.innerWidth} × ${window.innerHeight} CSS px`,
    visible: viewport
      ? `${viewport.width} × ${viewport.height} CSS px`
      : "Unavailable",
    visualViewportScale: viewport?.scale,
    dpr: window.devicePixelRatio,
  });
})();
Illustrative bug report for a hard-to-reach menu item
Measured on: Margin journal demo (margin.html), menu open
Layout viewport: 402 × 874 CSS px
Visible viewport: 402 × 814 CSS px
Device pixel ratio: 3
Steps: Open Explore and scroll to the end of the menu.
Expected: About the journal is reachable and opens its section.
Actual: Scrolling stops before the last item becomes reachable.

Reproduce the viewport on your website in Chrome

Open the affected URL and enter the reported layout width and height in Mobile Viewer’s Custom panel. Check the original state, then compare with a slightly wider or shorter view. If the failure depends on browser UI, keyboard behavior or the rendering engine, verify it on the original browser and device as well.

The real Custom panel on the Margin demo before Apply. Enter the report’s 402 × 874 layout viewport, apply it, then open Explore to test the last menu item.

Mobile Viewer in use

Scroll the image to inspect the details.

Open full original

Get started in three steps

  1. Capture the failing state

    Keep the affected page open at the point of failure. Record the browser, device, orientation and whether the keyboard is open or the page is zoomed.

  2. Send a report with the result

    Include the measurements from the affected page, its URL, the steps, the expected result and what happened. Attach a screenshot or recording if the problem is visual.

  3. Reproduce the same conditions

    Use a responsive preview at the recorded width and height for a layout check. For touch, keyboard or browser-specific bugs, retest on the original browser and device.

Frequently asked questions

What is my viewport size in CSS pixels?

The viewport size checker shows the Layout viewport for the browser’s layout area and the Visible viewport for the area currently in view. Both update when their dimensions change.

Why is my browser screen size different from my monitor resolution?

The browser reports screen size in CSS pixels. The operating system’s display mode and the panel’s native resolution use physical pixel dimensions, which can differ because of scaling or display configuration.

What is my screen size in inches?

Check the manufacturer’s specifications for your model to find its diagonal in inches. The screen size checker reports the display area in CSS pixels.

Why do the layout and visible viewport sizes differ?

The visible area can get smaller when you pinch zoom or open an on-screen keyboard. The layout viewport can stay the same while less of the page is visible.

Watch the Mobile Viewer product demo.

Reproduce this viewport in Chrome

Use the copied width and height in Mobile Viewer, then test the same page alongside another size.

Install extensionChrome Web StoreFree

Free browser extension · No account required · Runs on your computer