see your browser's user agent
Shows and parses your browser's user agent string.
Check your screen resolution, browser viewport size, and device pixel ratio at a glance. The values update live when you resize the window or rotate your phone.
Values update when you resize the window or rotate the device.
All values come from your browser:
screen.width × screen.height, in CSS pixels.window.innerWidth × window.innerHeight, the area a page can use, scrollbars included. CSS media queries test this size.window.devicePixelRatio, the number of physical pixels per CSS pixel. It includes your operating system's display scaling and the browser zoom.| Resolution | Name | Aspect ratio | Typical device |
|---|---|---|---|
| 1280 × 720 | HD (720p) | 16:9 | Small laptops, TVs |
| 1366 × 768 | WXGA | about 16:9 | Budget laptops |
| 1440 × 900 | WXGA+ | 16:10 | Older MacBook Air |
| 1536 × 864 | 1080p at 125% | 16:9 | Windows laptops with scaling |
| 1920 × 1080 | Full HD (1080p) | 16:9 | Most desktop monitors |
| 1920 × 1200 | WUXGA | 16:10 | Business laptops |
| 2560 × 1440 | QHD (1440p) | 16:9 | Gaming and design monitors |
| 3440 × 1440 | UWQHD | about 21:9 | Ultrawide monitors |
| 3840 × 2160 | 4K UHD | 16:9 | 4K monitors and TVs |
| 390 × 844 | Phone (CSS pixels) | about 9:19.5 | iPhone 12 to 14 |
The screen resolution is the size of the whole display. The viewport is the part of the browser window a web page can use, so it shrinks with the window and excludes toolbars and tabs.
Your operating system scales the display by 200%, so each CSS pixel is 2 × 2 hardware pixels. The device pixel ratio of 2 shows this, and the physical pixels line gives 3840 × 2160.
Design for a range of viewport widths rather than one size: from about 360 px (small phones) to 1920 px and above. Test at 1366 and 1536 too, which are common laptop widths.
Often used together with the Screen Resolution Checker.
Shows and parses your browser's user agent string.
Aspect ratio of a size, or the missing side from a ratio.
Pixels to rem, em, and pt for CSS.