What Is My Screen Resolution?

Your display and browser details, detected right now.

-Screen resolution
-Browser window
-Pixel ratio
-Physical pixels

What do these numbers mean?

FAQ

Why is my resolution different from what I set?

Operating systems scale the display. A 4K screen scaled to 150% reports 2560×1440 here with a pixel ratio of 1.5.

Is this data sent anywhere?

No. It is read in your browser and shown only to you.

Reading the results

  1. Open the page and the four headline figures fill in straight away: screen resolution, browser window, pixel ratio and physical pixels. Nothing needs to be typed or clicked.
  2. Scroll to the table underneath for the longer list: available screen, inner and outer window size, colour depth, orientation, touch points, CPU cores, language, time zone, online status and the raw user agent string.
  3. Resize the window, change the browser zoom or rotate a tablet and the numbers refresh. The page listens for the browser's resize event and rebuilds the table each time.
  4. Press Copy details to put every row on your clipboard as plain "label: value" lines. That is handy when you are filing a bug report or asking a web designer why a layout looks wrong on your machine.

Where each number comes from

Everything shown here is read from standard browser objects, with no measurement or guessing by the page itself. The screen size comes from screen.width and screen.height. The "available screen" row uses screen.availWidth and availHeight, which is the same area minus permanent interface such as a taskbar or dock, so it is often a little shorter than the full screen.

The two window rows are different measurements. "Inner" is the page viewport, the area your website actually draws into, and it is the size that CSS media queries react to. "Outer" includes the browser's own frame, tabs and address bar, so it is always at least as large as the inner size.

The pixel ratio is devicePixelRatio. The "physical pixels" tile simply multiplies the reported screen width and height by that ratio and rounds the result. It is an estimate of the hardware grid, and the browser is not telling you the panel's native resolution directly.

A worked example

Suppose a laptop has a 3840 × 2160 panel and the operating system is set to 200% scaling. The browser reports a screen of 1920 × 1080 and a pixel ratio of 2. The page multiplies 1920 × 1080 by 2 and shows 3840 × 2160 as the physical pixels, which matches the panel. If you then pick 150% scaling instead, the screen row becomes 2560 × 1440, the ratio becomes 1.5 and the physical figure is again 3840 × 2160. The CSS size changed while the hardware stayed the same.

Zooming a desktop browser page also changes the numbers. Pressing zoom in typically makes the pixel ratio climb and the inner window size shrink, because each CSS pixel now covers more physical pixels. Zoom the page back to 100% before you read the screen figures if you want the unscaled values.

Common uses

Tips and limits

More questions

Why do the screen and window sizes not match when my browser is maximised?

A maximised window still has browser chrome and, on many systems, a taskbar. The outer size includes the frame, while the inner size covers only the page area, so both are smaller than the full screen row.

Why is my pixel ratio a decimal like 1.25?

That comes from fractional display scaling (125%) or from browser zoom. Ratios such as 1.25, 1.5 and 1.75 are common on Windows laptops, while 2 and 3 are typical for Retina and phone screens.

Can I use this to find out my monitor's refresh rate or size in inches?

No. Browsers do not report refresh rate or physical size, and this page shows only fields the browser exposes. Check your display settings or the manufacturer's specifications for those.