Skip to content
โ† All tools

What Is My Screen Resolution

Check your screen resolution, color depth, pixel ratio, and viewport size.

The numbers above come straight from the browser's Screen and window APIs: logical width and height, available height minus taskbars where reported, color depth, pixel depth, orientation, and devicePixelRatio. I once filed a bug on a 3440ร—1440 ultrawide where marketing screenshots used full panel resolution but the hero component read window.innerWidthafter the devtools dock ate 400px, so QA thought the site "did not support" ultrawide. Below I separate physical pixels from CSS pixels, explain scaling and zoom, and show how to read the same values from the OS when the browser lies by policy.

Physical pixels, CSS pixels, and devicePixelRatio

Device pixels are the hardware dots on your panel. CSS pixels are the coordinate system layout uses; one CSS pixel can cover one, two, or three device pixels depending on window.devicePixelRatio(DPR). High-DPI phones often ship DPR 2 or 3 so text stays readable without shrinking the layout grid. A "CSS width" of 390 on an iPhone does not mean a 390-device-pixel-wide screen.

Viewport is the visible layout area inside the browser chrome. It changes when you zoom, split the window, or open the keyboard on mobile. screen.width is closer to the display's reported mode; window.innerWidth tracks the layout viewport the page actually paints into.

How this page detects screen properties

Client code reads screen.width, screen.height, screen.availWidth, screen.availHeight, screen.colorDepth, window.devicePixelRatio, and screen.orientation.type where available. Some values are rounded or clamped on privacy-hardened browsers. Remote desktop and virtual machines may report the guest session resolution, not the host monitor behind the glass.

Why the browser number disagrees with the box on the monitor

Operating system scaling at 125%, 150%, or 200% maps logical desktop units to fewer physical pixels for UI legibility. Browser zoom (Ctrl/Cmd + plus) shrinks the CSS viewport without changing the monitor hardware. Non-native panel modes (running 1080p on a 4K panel) report the active mode, not the panel maximum. External docks sometimes advertise the wrong EDID until firmware updates.

Common display modes people still ship in 2026

NameTypical resolutionAspectTypical use
1080p (FHD)1920 ร— 108016:9Budget laptops, second monitors
1440p (QHD)2560 ร— 144016:9Productivity default on many desks
4K UHD3840 ร— 216016:9Creative work, sharp text at native scaling
5K (iMac class)5120 ร— 288016:9Photo/video editing pipelines
8K UHD7680 ร— 432016:9High-end grading, signage
21:9 ultrawide (1440p tall)3440 ร— 144021:9Timeline UIs, trading desks

Cross-checking from system settings and the terminal

When the browser looks wrong, confirm what the OS thinks the panel is running.

  • Windows: Settings โ†’ System โ†’ Display โ†’ Display resolution.
  • macOS: System Settings โ†’ Displays โ†’ Resolution.
# Linux (X11 / many Wayland sessions)
xrandr --query

# Hyprland
hyprctl monitors

Retina, HDR, and why accessibility beats raw pixel count

Apple popularized Retinaas marketing for "DPR high enough that individual pixels disappear at normal viewing distance." It is not a separate API flag; it is high DPR plus tuned typography. Users enlarge text with browser zoom or OS scaling; breakpoints should use min-width in CSS pixels and respect prefers-reduced-motion rather than assuming a fixed 1920 canvas.

Frequently asked questions

What is the difference between screen size and resolution?

Size is physical diagonal inches of the panel. Resolution is the pixel grid (for example 2560ร—1440). Two 27-inch monitors can have different resolutions and different DPR under OS scaling.

What does device pixel ratio mean?

It is the ratio of device pixels to CSS pixels. DPR 2 means one CSS pixel maps to a 2ร—2 device-pixel square. Raster images need higher intrinsic dimensions to stay sharp on high DPR screens.

Why does my browser show a smaller resolution than my monitor?

You are probably reading innerWidth / innerHeight (viewport) or running OS scaling. Full screen width is closer to screen.width multiplied by the relationship between CSS and device pixels, still subject to zoom.

What is a Retina display?

Marketing language for high-DPI panels where text and UI are rendered with enough density that pixels are not obvious at typical viewing distance. Technically it is still LCD or OLED hardware with a higher DPR.

How do I change my screen resolution?

Use the OS display settings above. Pick the monitor's native resolution when possible for sharpest image. Games may override resolution independently of the desktop mode.

GPU and WebGL strings: What Is My WebGL / GPU. Browser name and engine: What Is My Browser. Raw user agent: What Is My User Agent.

Sources cited above

Common questions

What's the difference between screen size and resolution?
Size is physical diagonal inches of the panel. Resolution is the pixel grid (for example 2560ร—1440). Two 27-inch monitors can have different resolutions and different DPR under OS scaling.
What does device pixel ratio mean?
It is the ratio of device pixels to CSS pixels. DPR 2 means one CSS pixel maps to a 2ร—2 device-pixel square. Raster images need higher intrinsic dimensions to stay sharp on high DPR screens.
Why does my browser show a smaller resolution than my monitor?
You are probably reading innerWidth / innerHeight (viewport) or running OS scaling. Full screen width is closer to screen.width multiplied by the relationship between CSS and device pixels, still subject to zoom.
What is a Retina display?
Marketing language for high-DPI panels where text and UI are rendered with enough density that pixels are not obvious at typical viewing distance. Technically it is still LCD or OLED hardware with a higher DPR.
How do I change my screen resolution?
Use the OS display settings (Windows: Settings โ†’ System โ†’ Display; macOS: System Settings โ†’ Displays). Pick the monitor's native resolution when possible for sharpest image. Games may override resolution independently of the desktop mode.

Also Check These Tools

๐ŸŒWhat Is My IPInstantly see your public IPv4 and/or IPv6 address with ISP, city, and country details.โ†’๐Ÿ“กWhat Is My ISPSee which Internet Service Provider (ISP) or organization is associated with your public IP and connection.โ†’๐Ÿ”ทWhat Is My DNSLook up public DNS A and AAAA records using Cloudflare DNS over HTTPS, with honest labeling about resolvers.โ†’๐Ÿ“ถWhat Is My LatencyMeasure HTTPS round-trip time from your browser to this siteโ€”a practical โ€œpingโ€ when ICMP is not available in the web sandbox.โ†’๐Ÿ›œWhat Is My Network TypeDetect whether you are on Wi-Fi, cellular, or ethernet, with effective speed class and estimated bandwidth from the Network Information API.โ†’๐Ÿ”What Is My VPN / Am I Leaking?Compare your HTTP-visible public IP with WebRTC ICE reflexive addresses to spot possible IP leaks, plus plain-language DNS leak context.โ†’โšกInternet Speed TestTest your download and upload speeds with a fast, accurate in-browser speed test.โ†’๐Ÿ–ฅ๏ธWhat Is My BrowserDetect your browser name, version, engine, and operating system in one click.โ†’๐Ÿ”What Is My User AgentSee the full user agent string your browser sends to websites and servers.โ†’๐ŸชWhat Is My Cookie / Tracking StatusSee whether first-party cookies and web storage work, what DNT/GPC report, and visible cookie surfaceโ€”plus honest limits for HttpOnly and cross-site tracking.โ†’๐ŸŽฎWhat Is My WebGL / GPUDetect your GPU renderer, vendor, WebGL version, and key graphics capabilities directly from your browser โ€” no plugins required.โ†’๐Ÿ“What Is My LocationDiscover your approximate location based on your IP address including city and country.โ†’๐Ÿ•What Is My TimezoneFind your current timezone, UTC offset, and local time with DST status.โ†’๐Ÿ”ŒWhat Is My Open PortsCheck which TCP ports are open, closed, or filtered on your public IP address โ€” no software needed.โ†’