$ run screen-resolution-checker

Screen resolution checker

What websites see versus what your panel has. CSS pixels × devicePixelRatio = physical pixels. Read live from your browser.

screen · css px--
physical px--
viewport--
devicePixelRatio--
colorDepth--
os--
browser--

Quick math

A 27" 4K at 150% scaling tells the web it is 2560 × 1440 with DPR 1.5. Multiply: 3840 × 2160. That is the grid of real pixels. A MacBook at default scaling usually reports DPR 2.

SetupCSS pxDPRDevice px
1080p, 100%1920 × 108011920 × 1080
1440p, 125%2048 × 11521.252560 × 1440
4K, 150%2560 × 14401.53840 × 2160
4K, 200%1920 × 108023840 × 2160

Gotchas

  • Browser zoom changes DPR. Reset with Ctrl+0.
  • Fractional scaling gives rounding errors of a pixel or two.
  • colorDepth 24 is standard 8-bit per channel; 30 means the browser sees a 10-bit path.

Deep dive with code: what devicePixelRatio actually means. Need a wallpaper at exactly your device px? Use the dark PNG generator.

FAQ

The device px figure usually is, if your OS runs the recommended mode. A non-native mode shows that mode instead.

Fractional scaling such as 125% or 175%, or browser zoom. Both are normal.

No. It is read and displayed in-page. Zero network calls.

More tools

Partner with us

Put your link in front of devs, gamers and night owls

Sponsored links in tested guides, featured tool slots and newsletter shout-outs for dev tools, peripherals and gaming hardware. Labelled, relevant, never inside the fullscreen screen.

One email a month. No spam, unsubscribe any time.