Open on the device to measure
Load the tool in the browser window or display you care about.
Detect your current browser window size in pixels. Free online tool — no sign-up. Clear formulas and worked examples. Runs locally in your browser.
Loading tool…
Preparing tool…
Load the tool in the browser window or display you care about.
Check width × height in CSS pixels (screen and/or viewport, depending on the page).
Resize the window or switch displays, then refresh the readout for responsive checks.
Version 1.0.0 · Engine tested
size = window.innerWidth × window.innerHeightThis tool reports your current browser window size — the viewport width and height in pixels. Unlike screen resolution, window size reflects the visible browser area excluding the taskbar, browser chrome, and OS UI.
| Property | Description |
|---|---|
| Window width | Viewport width in pixels |
| Window height | Viewport height in pixels |
| Outer width | Full window including toolbars |
| Outer height | Full window including title bar |
| Window size | Screen resolution | |
|---|---|---|
| Measures | Browser viewport | Entire display |
| Changes when | User resizes browser | OS display settings |
| Used for | CSS media queries | Hardware specs |
Common breakpoints to test against your window size:
/* Mobile */
@media (max-width: 576px) { }
/* Tablet */
@media (max-width: 768px) { }
/* Desktop */
@media (min-width: 992px) { }
/* Large desktop */
@media (min-width: 1200px) { }
Resize your browser and watch the window size change to find breakpoint boundaries.
Key distinctions behind the tool.
innerWidth is the viewport; outerWidth includes browser chrome.
Mobile browsers use a layout viewport and scaling; CSS pixels are what layouts use.