How to use the Screen Resolution Checker
- 1Open the page. Your screen details appear straight away.
- 2Resize the browser window or rotate your phone to see the viewport values change.
- 3Compare the CSS resolution with the estimated physical resolution.
- 4Press Copy to copy all values as text, for example for a bug report.
What is my screen resolution?
Your screen resolution is the number of pixels your display shows across and down, written as width × height, for example 1920 × 1080. This checker shows it instantly at the top of the page, along with your browser window (viewport) size, your device pixel ratio, an estimate of the physical panel resolution, the aspect ratio, colour depth and orientation. The numbers update live as you resize the window or rotate your phone.
Why are there two different resolutions?
Modern systems scale the display so text is readable on high-density screens. That creates two kinds of pixels:
- CSS pixels (also called logical or device-independent pixels) are what web pages and apps lay out with.
screen.widthandscreen.heightreport these. - Physical pixels are the actual dots on the panel.
The link between them is the device pixel ratio (DPR), reported by window.devicePixelRatio. The tool multiplies the CSS size by the DPR to estimate the physical resolution:
Physical resolution ≈ CSS resolution × device pixel ratio
See MDN: devicePixelRatio and MDN: Screen for the browser definitions.
Screen vs viewport vs available screen
| Value | What it measures |
|---|---|
| Screen resolution | The whole display, in CSS pixels |
| Available screen | The display minus areas the system reserves, such as the Windows taskbar or macOS menu bar |
| Browser viewport | The area inside the browser window where the page is drawn, without tabs, address bar and scrollbars |
Web designers care most about the viewport, because that is the space their page actually gets. Responsive layouts switch at viewport widths such as 640, 768 or 1024 CSS pixels.
Worked examples
A laptop with a "4K" screen at 200% scaling:
- Screen resolution: 1920 × 1080
- Device pixel ratio: 2 (200% scaling)
- Physical resolution: 3840 × 2160
- Aspect ratio: 16:9
A common Windows laptop at 125% scaling:
- Screen resolution: 1536 × 864
- Device pixel ratio: 1.25
- Physical resolution: 1536 × 1.25 = 1920, 864 × 1.25 = 1080
A modern phone:
- Screen resolution: about 390 × 844
- Device pixel ratio: 3
- Physical: about 1170 × 2532
So a page that looks "390 pixels wide" on the phone is actually drawn with 1,170 physical pixels across, which is why text looks sharp.
Common screen resolutions
| Name | Pixels | Aspect ratio |
|---|---|---|
| HD | 1366 × 768 | ≈16:9 |
| Full HD (1080p) | 1920 × 1080 | 16:9 |
| WUXGA | 1920 × 1200 | 16:10 |
| QHD (1440p) | 2560 × 1440 | 16:9 |
| Ultrawide QHD | 3440 × 1440 | ≈21:9 |
| 4K UHD | 3840 × 2160 | 16:9 |
Tips
- Sharing for a bug report? Press Copy all values. Developers usually need viewport size and DPR more than the screen size.
- Zooming the browser changes the numbers. At 150% browser zoom, the viewport shrinks and the DPR rises. Press Ctrl + 0 (Cmd + 0 on Mac) to reset zoom before checking.
- Resizing images for the web? Images shown at 400 CSS pixels wide look sharp on a DPR 2 screen only if they are at least 800 pixels wide. Use the Image Resizer to prepare both sizes.
- Multiple monitors: the values belong to the monitor the browser window is on. Drag the window to another monitor and the page updates.
Limitations
The browser never reports the panel's native resolution directly. The physical estimate is exact for whole-number scaling but can be off by a pixel at fractional scales like 125% or 175%, and it will be wrong if you set your display to a non-native resolution. Physical screen size in inches is not available to web pages at all.
Next, check how fast the screen updates with the Refresh Rate Test, see your graphics hardware with GPU Info, get a full system summary from What Is My Browser, or hunt for faulty pixels with the Dead Pixel Test.
Frequently asked questions
Why does my 4K screen show 1920 × 1080?
Operating systems scale the display so text stays readable. A 3840 × 2160 screen at 200% scaling reports 1920 × 1080 CSS pixels with a device pixel ratio of 2. The physical row multiplies them back to show the real panel size.
What is device pixel ratio (DPR)?
DPR is the number of physical pixels per CSS pixel. A DPR of 1 means no scaling, 1.25 or 1.5 is common on Windows laptops, and 2 or 3 is common on phones and Retina displays.
What is the difference between screen size and viewport?
Screen size is the whole display. The viewport is the area inside the browser window where the page is shown, without tabs, the address bar or the taskbar.
Why is the physical resolution an estimate?
Browsers report CSS pixels and the scaling ratio, not the panel’s native resolution. Multiplying them is exact in most cases but can be off by a pixel when the scale factor is fractional, or wrong if you set a non-native resolution.
Last updated: . Written and tested by Abdul Moid Khan, ATechCraft. Read how we build and test tools.