WhatsMyRes

What's my screen resolution?

–– × ––

Viewport size
—
Live viewport tool →
The area of the browser window a page can actually use, in CSS pixels. Resize the window and watch it update live. The breakpoint follows Tailwind's defaults (sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536); Bootstrap's are similar.
Aspect ratio
—
Aspect calculator →
The proportion of width to height.
Device pixel ratio
—
Why CSS ≠ native →
Physical pixels per CSS pixel. Browser zoom changes this value too.
Native resolution
—
Calculate PPI →
The physical pixels of your display panel: screen size multiplied by the device pixel ratio.
Color depth
—
Test banding →
Bits your screen uses to describe the color of a single pixel.
Orientation
—
Whether your screen is currently wider than it is tall.
Available size
—
Screen space minus the OS taskbar, dock, and menu bar — what windows can actually occupy.
Color gamut
—
The range of colors your display can show. P3 and Rec. 2020 are wider than standard sRGB.
Refresh rate
—
Full Hz test →
Estimated from animation-frame timing, so browser throttling or heavy load can lower it. Your panel's spec is the ceiling.

Display tools & tests

All tools →

Common questions

WhatsMyRes reads your CSS resolution, device pixel ratio, viewport, color gamut, and frame timing locally in your browser. Expand any question below for how those numbers work.

Why doesn't the top number match my screen's advertised resolution?

Browsers report dimensions in CSS pixels rather than raw hardware pixels. On Retina, 4K scaled, and smartphone displays, each CSS pixel maps to a 2×2 or 3×3 block of physical pixels. Check the Native resolution card above — it multiplies CSS dimensions by your device pixel ratio (DPR) to estimate your panel's physical grid.

What is the difference between screen resolution and viewport size?

Screen resolution covers your entire display panel. Viewport size is only the usable area inside your browser window, minus tabs, toolbars, dock/taskbar, and developer tools. Web layouts switch responsive breakpoints based on viewport width, while games and wallpapers use screen resolution.

How do I change my screen resolution or display scaling?

On Windows 11, open Settings → System → Display to adjust Display resolution and Scale. On macOS, open System Settings → Displays and pick a scaled preset. On high-resolution Android phones (Samsung Galaxy Ultra/Plus, Pixel Pro), look under Settings → Display → Screen resolution to switch between FHD+ and QHD+.

Does WhatsMyRes upload or store my display specs?

No. Every metric is read locally using standard browser APIs (window.screen, window.innerWidth, devicePixelRatio, CSS media queries, and animation-frame timing) and never leaves your device.