Screen pixels vs. window pixels vs. physical pixels
Screen resolution is your entire display as the browser sees it — the taskbar, dock, and browser chrome included. Window size (the viewport) is only the portion of the screen your browser hands to the web page, inside tabs and toolbars, so it is always smaller and changes when you resize the window.
Browsers measure both in CSS pixels, which are not always the monitor's raw dots. Your operating system's display scaling (125%, 150%, 200%…) and the screen's pixel density set the device pixel ratio — how many physical pixels draw one CSS pixel. Multiply the screen size by the DPR to get the true physical pixel count: a 4K panel at 200% scaling reports 1920 × 1080 with a DPR of 2. Browser zoom shifts the CSS numbers the same way, which is why resetting zoom to 100% (Ctrl/Cmd + 0) shows the unscaled value.
Common screen resolutions
| Resolution | Name | Aspect ratio | Typical devices |
|---|---|---|---|
| 1920 × 1080 | Full HD (1080p) | 16:9 | Most common desktop monitor |
| 1366 × 768 | HD (720p-class) | ≈16:9 | Older and budget laptops |
| 2560 × 1440 | QHD (1440p) | 16:9 | Gaming and productivity monitors |
| 3840 × 2160 | 4K UHD | 16:9 | 4K monitors and TVs (often 150–200% scaled) |
| 360 × 800 | Android viewport | 9:20 | Common Android phones (CSS pixels, DPR 2–3) |
| 390 × 844 | iPhone viewport | ≈9:19.5 | iPhone 12/13/14 (CSS pixels, DPR 3) |