What Is My Screen Resolution?

Your screen and browser window sizes in CSS pixels, the device pixel ratio and the real physical resolution — measured live by your browser.

Runs in your browserUpdated
—
Screen resolution
—
Browser viewport
—
Device pixel ratio
—
Physical pixels
Resize the window to see the viewport update.

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the What Is My Screen Resolution

  1. Open the page — the values appear immediately.
  2. Resize the window or rotate your phone to see the viewport change.
  3. Copy the details to share them in a bug report.

Screen resolution vs viewport

  • Screen resolution is the size of the whole display in CSS pixels (screen.width × screen.height).
  • Viewport is the area of the browser window available to the page (innerWidth × innerHeight); this is what CSS media queries use.
  • Device pixel ratio (DPR) is the number of physical pixels per CSS pixel. A phone with DPR 3 and a 390-pixel-wide viewport actually has 1170 physical pixels across.

Common screen sizes

Device typeCSS viewportDPR
Modern iPhone390–430 × 844–9323
Android phone360–412 × 780–9152.6–3.5
iPad768–1032 × 1024–13762
Laptop1280–1536 × 720–9601–2
Full HD monitor1920 × 10801
4K monitor (scaled)1920–2560 × 1080–14401.5–2

Why the numbers look “wrong”

Operating systems scale the display: a 4K screen at 150 % scaling reports 2560 × 1440 CSS pixels with DPR 1.5. Browser zoom changes the DPR too — zoom to 200 % and the viewport halves. That is expected behaviour, not an error.

For developers

Design with CSS pixels and test the common viewport widths (360, 390, 768, 1024, 1280, 1536). Serve sharp images to high-DPR screens with srcset and resize them with the image resizer. Fluid typography with the clamp() calculator avoids breakpoints for font sizes altogether.

Tools that pair well with the What Is My Screen Resolution

  • What Is My IP — Your public IP address and everything your browser reveals to the websites you visit — user agent, screen, language, timezone and request headers.
  • User Agent Parser — Decode any User-Agent string into browser, engine, operating system and device — and find out whether it belongs to a search engine, AI crawler or script.
  • Aspect Ratio Calculator — Resize images and videos without distortion: fill in a ratio and one side to get the other, or enter a size to find its ratio — with ready-to-paste CSS.
  • PX to REM Converter — Convert between pixels, rem and em with your own root font size — or paste a whole stylesheet and convert every px value in one go.

Frequently asked questions

Why does my 4K monitor show a smaller resolution?
Display scaling: Windows and macOS enlarge everything, so the browser reports the scaled size in CSS pixels. Multiply by the device pixel ratio for the physical resolution.
What is the difference between screen size and viewport?
The viewport excludes the browser’s toolbars, tabs and window borders — it is the space the web page actually gets.
Is this information sent anywhere?
No. It is read by your browser and shown on this page only.

Related tools