Screen Resolution Detector
Detect your screen resolution, viewport size, pixel ratio, color depth, and display information.
Screen Resolution Detector tool
Detecting display information...
Example
Input: A 1920 x 1080 monitor at 100% scaling, browser window maximized
Result: Desktop - Landscape - 1x DPR, CSS Resolution 1920 x 1080, Physical Pixels 1920 x 1080 (viewport depends on the browser toolbars)
Physical pixels are the CSS resolution multiplied by the device pixel ratio. On a phone with a DPR of 3, a 390 x 844 CSS screen is 1170 x 2532 physical pixels.
Viewport Width, Device Label and Breakpoints
| Viewport width | Device type shown | Active breakpoints |
|---|---|---|
| 320 px | Mobile | None |
| 390 px | Mobile | None |
| 640 px | Tablet | sm |
| 768 px | Tablet | sm, md |
| 1024 px | Desktop | sm, md, lg |
| 1280 px | Desktop | sm, md, lg, xl |
| 1536 px | Desktop | sm, md, lg, xl, 2xl |
Computed with the tool rules: under 640 px is Mobile, under 1024 px is Tablet, and breakpoints are min-width.
- Open the tool to see your screen and viewport sizes straight away.
- Read your screen resolution, viewport size and device pixel ratio.
- Check the color depth, orientation and active breakpoints.
- Resize your browser window and watch the viewport numbers update.
- Copy the viewport or screen size to share with a developer or support team.
Screen Resolution, Viewport and Pixel Ratio
This page shows your screen resolution in CSS pixels, the real physical pixel count, your browser viewport size and your device pixel ratio (DPR). The numbers update live as you resize the window or turn your phone.
Three sizes are easy to mix up. Screen resolution is the whole display as the browser reports it, in CSS pixels. The viewport is the part of the window where a page is drawn, without toolbars and tabs. The physical pixel count is the screen size times the DPR. A phone that reports 390 x 844 with a DPR of 3 has 1170 x 2532 real pixels. Responsive layouts and CSS media queries use the viewport width, not the physical count.
Operating system scaling changes what you see. On Windows at 150% scaling, a 2560 x 1440 monitor reports a CSS resolution of about 1707 x 960 and a DPR of 1.5. Zooming a page in a desktop browser changes the DPR and the viewport too. Reset zoom to 100% before you copy numbers for a bug report.
The page also shows the available screen, which leaves out the taskbar or dock. You also see the outer window size, the space used by browser toolbars, color depth, orientation and aspect ratios. The breakpoint list shows which common min-width breakpoints are active: 640, 768, 1024, 1280 and 1536 pixels, the Tailwind CSS defaults. The device label is a simple rule based on viewport width. Under 640 pixels is Mobile, under 1024 is Tablet, and anything wider is Desktop.
All values come from standard browser properties, and nothing leaves your device. To work out image or video sizes for a given shape, try the Aspect Ratio Calculator.
Frequently Asked Questions
Related Tools
User Agent Parser
Parse and detect your browser name, version, operating system, device type, and rendering engine.
Security and EncryptionIP Address Info
Detect your public IP address and view geolocation data, ISP details, and network information.
Security and EncryptionAspect Ratio Calculator
Calculate and convert aspect ratios for images, videos, and screens. Find missing dimensions instantly.
Image and Media