What Is My Screen Resolution?
The screen size your browser reports, the area left after taskbars and docks, your window and viewport sizes, the device pixel ratio and the color depth, read from the screen and window objects.
Runs in your browser: your files and text are not uploaded. Free, no account needed.
Last updated: · Reviewed by the QuickTooly Team
Screen Size, Viewport and Pixel Ratio
- Screen resolution (
screen.width × screen.height): the whole display, in CSS pixels, after the operating system's display scaling. - Viewport (
window.innerWidth × innerHeight): the area inside the browser window where the page is drawn. It shrinks with toolbars, a smaller window or zoom, and it is what CSS media queries test. The Viewport Size page tracks it live with the active breakpoint. - Device pixel ratio (
window.devicePixelRatio): how many physical pixels make up one CSS pixel. It is 2 or more on most phones and Retina screens.
The page multiplies the CSS screen size by the pixel ratio to show physical pixels, and both values are labelled. A laptop that reports 1440×900 CSS px at a ratio of 2 shows 2880×1800 physical pixels. A 4K monitor at 150% scaling reports 2560×1440 CSS px at a ratio of 1.5 and shows 3840×2160.
Why the Numbers May Not Match the Spec Sheet
- The headline figure, the resolution label (Full HD, 4K and so on) and the highlighted row in the common resolutions list use physical pixels, worked out as CSS px × device pixel ratio. With fractional scaling the result can be off by a pixel from the panel's spec. The available area and viewport stay in CSS px.
- With several monitors, you see the one the browser window is on.
- Browser zoom changes the pixel ratio in most browsers. Reset zoom (Ctrl or Cmd + 0) before reading the values.
- Privacy modes such as Firefox's fingerprinting resistance and Tor Browser report a rounded or generic size.
- Color depth is 24 bits on almost every display, and pixel depth always matches it in current browsers.
Screen Resolution Questions
Why does my laptop show a lower resolution than its spec?
Check that you are reading the physical pixels, not the CSS pixels. Browsers report the screen in CSS pixels, after display scaling, and the page multiplies them by the device pixel ratio to get physical pixels, for example 1440 × 2 = 2880. If browser zoom is not 100%, the ratio and the result change.
What is the difference between screen size and available area?
Available area is the screen minus the space the operating system keeps for itself, such as the Windows taskbar or the macOS menu bar and Dock.
Related Checks
- Viewport Size: watch the viewport and Tailwind or Bootstrap breakpoint change as you resize.
- What Is My User Agent: see the browser and device details your browser reports.
- PX to REM Converter: turn pixel sizes from your layout into rem units.