Skip to main content

↑ ↓ to moveEnter to open

What Is My Browser Window Size?

Your Browser Window Size

Detecting…

Viewport
Detecting…
Screen Resolution
Detecting…

Check your browser window size in pixels, including tabs, toolbars and borders. Compare outer window size with the viewport in real time.

Last updated

How to use this tool

  1. Your browser window size appears in the Live Result box automatically.
  2. Resize or maximize the window and watch the value update.
  3. Compare it with the viewport size below. The difference is the space used by the tab strip, address bar, bookmarks bar and window borders.

What is it?

Browser window size includes the entire browser frame — tabs, address bar, bookmarks bar, and content area — measured in pixels.

How it works

The window size is read from window.outerWidth and window.outerHeight, which measure the entire browser window including its own interface. The viewport (window.innerWidth and innerHeight) measures only the area where the page is drawn. Both values are in CSS pixels and both update on every resize.

Why this matters

Window size helps debug layout issues caused by browser chrome consuming space. Useful when comparing outer window dimensions to inner viewport.

Practical Use Cases

  • Taking consistently sized screenshots or screen recordings for documentation.
  • Checking how much vertical space browser toolbars take before a page's content starts.
  • Reproducing a layout bug at the exact window size a user reported.

How to check manually

Browser console

Press F12 (Cmd + Option + I on Mac), open the Console, type window.outerWidth + " × " + window.outerHeight and press Enter.

Windows

Press Windows key + Shift + S to open Snipping Tool and drag over the window; the selection size is shown as you drag. Snap a window with Windows key + arrow keys to set it to exactly half or a quarter of the screen.

macOS

Press Cmd + Shift + 4, then press Space and click the browser window to capture it. The screenshot's pixel size (shown in Preview → Tools → Adjust Size) is the window size multiplied by your device pixel ratio.

Common values

LabelValue
Typical desktop window1280 × 800
Maximized on 1920 × 10801920 × 1032
Maximized on 1366 × 7681366 × 728

Troubleshooting

Window size is larger than my screen
Some operating systems report window borders or shadows that extend beyond the screen when maximized. A few pixels of difference is normal.

Frequently asked questions

How is window size different from viewport?

Window size includes browser UI chrome. Viewport is only the content area where pages render.

How do I set my browser window to an exact size?

Browsers do not offer this in their settings. Use the developer tools device toolbar (Ctrl + Shift + M in Chrome and Firefox) to emulate an exact viewport, or a window-resizer extension to set the outer window size.

Why is window height much larger than viewport height?

Tabs, the address bar, the bookmarks bar and any open side panels all sit inside the window but outside the viewport. With the bookmarks bar shown, the gap is usually 80–130 pixels.

Does the window size change with zoom?

The outer window size stays the same when you zoom, but the viewport size in CSS pixels shrinks as you zoom in.

Can a website resize my browser window?

Not in normal tabs. window.resizeTo() only works on pop-up windows a page opened itself, so websites cannot change the size of your main browser window.

Explore more diagnostics

Visit the DeviceScope homepage for a complete live dashboard, or browse all display & screen tests.