screensize.net

Display Scaling Explained — Resolution, DPR & Browser Size

See how native resolution, operating-system scaling, device pixel ratio, browser zoom and viewport size produce different numbers on the same display.

Interactive guide Reviewed sources Practical next step
Quick answer

Quick answer

A display keeps its physical pixel grid while the operating system creates a larger or smaller logical workspace. The browser then reports that workspace in CSS pixels, subtracts its interface for the viewport, and may change the result again when you zoom.

Interactive model

Trace the numbers from panel to page

Start with a native pixel grid, apply an operating-system scale, then change browser zoom. Compare the model with what this browser reports now. The model keeps those stages separate because a single DPR value cannot reliably identify every scale and zoom decision.

Scaling explorer

Follow one pixel grid through the stack

This is a transparent model, not automatic monitor identification. Values stay in this browser and are not added to the URL.

1 · Physical panel input3840 × 2160
2 · Modelled logical workspace2560 × 1440
3 · Modelled full-screen CSS span2560 × 1440

A real viewport is smaller after browser chrome, window size and scrollbars. Browser zoom behavior also differs by engine.

What this browser reports now

Reading the current browser…

DPR is not a guaranteed OS-scale value. Browser zoom, display switching and platform behavior can change it.

The scaling stack

Five measurements can describe one display

  1. 01

    Native panel resolution

    The fixed physical pixel grid of the display, such as the value on its manufacturer specification.

  2. 02

    Logical workspace

    The coordinate space created by the operating system after display scaling or a selected scaled resolution.

  3. 03

    Browser-reported screen

    The screen dimensions exposed to web content, commonly in CSS pixels and affected by platform behavior.

  4. 04

    Browser window and viewport

    The window includes browser interface; the viewport is the page-rendering area inside it.

  5. 05

    Page zoom and visual viewport

    Desktop page zoom can change CSS layout measurements; pinch zoom can change what is visible without changing the layout viewport.

MDN distinguishes the layout viewport from the browser window and documents that zoom can change the CSS-pixel measurements returned by viewport APIs. Read the viewport definitions.

Transparent arithmetic

The simplified scaling formula

OS logical dimension
logical px = native px ÷ (scale % ÷ 100)
Modelled CSS span after page zoom
CSS px = logical px ÷ (zoom % ÷ 100)
Worked model: 3840 × 2160 at 150% produces a 2560 × 1440 logical workspace. At 125% page zoom, the same full-screen span is about 2048 × 1152 CSS pixels before subtracting browser chrome. This is a teaching model; browsers and operating systems do not promise that every API will expose exactly those rounded numbers.
Platform controls

Windows scale and macOS resolution labels solve a similar readability problem

Windows separates scale from resolution

Windows Display settings expose a Scale control for text and apps and a separate display-resolution control. Microsoft recommends the marked settings and warns that sending a lower-than-native resolution to a flat panel can make text less sharp. See the current Windows instructions.

macOS presents available resolution choices

Apple describes display resolution as controlling the apparent size of text and objects and notes that scaled choices can affect performance. Treat a “looks like” workspace as a logical-size description, not proof that the physical panel changed. Read Apple's display guide.

Choose the correct number

Which measurement should you use?

Question Use Do not substitute
What pixel grid does the panel contain?Manufacturer native resolutionBrowser screen or viewport
How much desktop workspace is configured?OS logical or scaled workspacePhysical panel pixels alone
Which responsive layout applies?Current CSS viewportMonitor resolution or diagonal
How large should an image or canvas buffer be?CSS size plus reported DPRDPR as a device identity
Will a screenshot match a CSS layout width?Screenshot pixels, viewport and DPR togetherScreenshot width by itself
Practical diagnosis

Debug a resolution mismatch in this order

  1. 01

    Check the panel specification

    Record the native resolution and physical size from the manufacturer or display documentation.

  2. 02

    Check operating-system settings

    Record the selected display resolution and scale for the specific monitor, especially in a mixed-DPI setup.

  3. 03

    Reset browser zoom for a baseline

    Use 100% temporarily, then compare screen, DPR and viewport values again.

  4. 04

    Measure the actual viewport

    Maximized is not the same as full panel space; browser chrome and side-by-side windows still reduce it.

  5. 05

    Move the window between monitors

    Per-monitor scaling can change when a window crosses onto a display with a different density.

  6. 06

    Test the exact failure width

    Responsive layout should follow the viewport where the problem occurs, not a guessed device label.

Limits

What you cannot infer from one browser value

  • DPR is not a physical-density measurement

    It relates CSS and device pixels in the current browser environment; it does not provide the panel's inches.

  • screen × DPR is only an estimate

    Browser zoom and platform behavior can make that multiplication differ from the manufacturer's native grid.

  • A viewport does not identify a device

    Different screens, windows and zoom levels can produce the same CSS viewport.

  • A lower reported value does not prove lower image quality

    Logical coordinates can be smaller while the display continues using a dense physical panel.

WebKit's terminology separates device scale, page scale and page zoom, and explicitly notes that implementations differ. Review the browser-engine distinctions.

Sources

Content reviewed .

Put it into practice

Screen Resolution Checker

Check your screen resolution instantly. See your display's pixel dimensions, available screen area and orientation, and learn what resolution means.

/screen-resolution-checker

Related tools

Copy manually

Clipboard access is unavailable. The text is selected below; use your browser's Copy command, Ctrl+C, or ⌘C.