Screen Detection

What Is My Screen Size?

Detect your screen resolution, browser viewport, and pixel density.

What is my screen resolution?

Your screen resolution is the total number of pixels your display can show (e.g. 1920×1080). Your viewport is the visible area of your browser window, which is smaller. Both are important for responsive web design and device identification.

Measured in your browser

Screen resolution
Read from your display when the page loads
Viewport size
Measured from your browser window — updates live as you resize
Device pixel ratio
Read from your browser — no permission needed
Color depth
Reported by your display, read locally
Device type
Inferred locally from your browser's own signals

Understanding Screen Dimensions

Screen resolution tells you the total pixels available on your display. Higher resolution means more detail and screen real estate. Modern high-DPI displays (like Apple Retina) have pixel ratios above 1, meaning they pack more physical pixels into each logical pixel for sharper visuals.

The viewport size is particularly important for web developers, as it determines how much content fits on screen without scrolling. This value changes when you resize your browser window.

The gap between resolution and viewport is where browser chrome, the taskbar and the dock live. Responsive layouts key off viewport, not resolution — which is why a 4K monitor and a 1080p monitor can produce the same layout.

How Screen Detection Works

We read screen and viewport dimensions directly from the browser's built-in Screen and Window APIs. No sensors, no permissions, no network call — the numbers come out of your browser instantly.

On mobile browsers, viewport dimensions shift as the address bar hides on scroll. On multi-monitor setups, screen dimensions reflect the monitor the window is currently on, not the combined desktop.

What Is My Screen Size? Complete Screen Resolution Guide

Need display specifications for design work, development testing, or troubleshooting? This free tool instantly reveals resolution, viewport dimensions, pixel ratio, and color depth — all essential metrics for optimizing visual experiences across devices.

Resolution describes total pixel count expressed as width × height (e.g. 1920×1080). Higher values mean sharper images and more workspace. Common standards include Full HD (1920×1080), QHD (2560×1440), and 4K (3840×2160). Mobile devices vary widely depending on manufacturer and model.

Viewport differs from resolution — it represents the visible browser area where content renders, typically smaller due to interface elements like address bars and toolbars. Developers use viewport dimensions to set responsive breakpoints that adapt layouts for different window sizes.

Device Pixel Ratio (DPR) indicates physical pixels per CSS pixel. High-DPI displays like Retina screens use a DPR of 2 or 3, rendering text and graphics with increased sharpness. Designers creating assets for multiple densities rely on this metric to ensure crisp visuals across hardware.

Color depth measures bits per pixel for color representation. Most displays support 24-bit (16.7 million colors); professional monitors may offer 10-bit (1 billion colors) for accurate reproduction in photography, video editing, and color-critical workflows.

Values update live when you resize the browser — ideal for testing responsive breakpoints. Essential for designers validating layouts, gamers optimizing settings, and anyone troubleshooting display behavior. No files or system settings are accessed during detection.

Frequently Asked Questions

What's the difference between screen resolution and viewport?

Screen resolution is the total number of pixels your monitor can display. Viewport is the visible area of the browser window where web content appears, which is usually smaller due to browser UI elements like the address bar and toolbars.

What is pixel ratio (DPR)?

Device Pixel Ratio (DPR) indicates how many physical pixels are used to display one CSS pixel. A DPR of 2 means the screen has double the pixel density (like Retina displays), resulting in sharper images and text.

What screen resolution is most common?

1920×1080 (Full HD) remains the most common desktop resolution. For mobile, it varies widely, but most modern smartphones have resolutions between 1080p and 1440p.