Back to Home

What Is My Screen Resolution, Viewport & PPI?

Live detection of your physical pixels, CSS logical screen size, resizing viewport, DPR, color gamut, and interactive PPI calculator.

Physical Resolution
…px
Live Browser Viewport
…px

Resize your browser window to watch the viewport dimensions update in real time.

Logical Screen (CSS)
…
Device Pixel Ratio (DPR)
…
Aspect Ratio
…
Orientation
…
Color Depth
…
Color Gamut
…
HDR Support
…
Physical Resolution
…

Interactive PPI & Dot Pitch Calculator

Enter your display diagonal size in inches (e.g., 13.3, 15.6, 27, or 6.1) to calculate exact pixels per inch and pixel pitch.

Calculated PPI
—
Dot Pitch
—

Detailed Analysis

Modern HiDPI and Retina displays render websites using CSS logical pixels scaled by your Device Pixel Ratio (DPR). A 1440×900 logical screen at 2× DPR actually drives 2880×1800 physical pixels. This tool reads your screen, live viewport, color depth, Display-P3 gamut, and HDR media queries directly inside your browser.

What to do next?

If your screen looks blurry or oversized, verify your OS display scaling percentage and browser zoom level (press Ctrl+0 or Cmd+0 to reset zoom to 100%). Web developers can resize the window to verify responsive breakpoints, while monitor buyers can enter the diagonal size above to compare sharpness in PPI.

Read full technical methodology

Frequently Asked Questions

What is the difference between screen resolution and viewport size?

Screen resolution is the total size of your monitor or phone panel, while viewport size is the visible area inside your browser window excluding toolbars, bookmarks, and OS taskbars.

Why does my 4K or Retina display show a lower logical resolution?

High-DPI screens use OS scaling (DPR of 1.5×, 2×, or 3×) so text stays legible. Multiplying logical width and height by DPR reveals your true physical resolution.

How is PPI (Pixels Per Inch) calculated?

PPI equals the square root of (physical width² + physical height²) divided by your screen diagonal in inches. Higher PPI means sharper text and finer image detail.

Related Tools

Related Privacy & Security Guides

In-depth technical explainers to help you interpret your results