Current Screen Resolution
{{ screenWidth }} × {{ screenHeight }}
{{ viewportWidth }} × {{ viewportHeight }} Viewport {{ devicePixelRatio }} DPR {{ orientation }}
MetricValue
Screen width (px) {{ screenWidth }}
Screen height (px) {{ screenHeight }}
Viewport width (px) {{ viewportWidth }}
Viewport height (px){{ viewportHeight }}
Device-pixel ratio {{ devicePixelRatio }}
Color depth (bits) {{ colorDepth }}
Orientation {{ orientation }}
Aspect ratio {{ aspectRatio }}

Introduction:

Screen resolution expresses the count of physical pixels shown horizontally and vertically on a display. Combined with device-pixel ratio and color depth, it governs how sharply graphics render, how much information fits on one page, and whether responsive breakpoints trigger earlier or later than expected across monitors, phones, projectors and wearables.

The utility requests live measurements from your browser’s display and viewport objects, then synthesises them into eight metrics—screen and viewport dimensions, device-pixel ratio, color depth, orientation and aspect ratio. Behind the scenes, a lightweight reactive engine recalculates values instantly whenever you resize a window or rotate a handset, ensuring continuously accurate figures.

Designers often juggle multiple monitors, high-density laptops and mobile emulators. Use the report to confirm media queries before shipping, demo pixel-perfect prototypes during client calls, or diagnose blurry icons on a colleague’s screen. Values update with every resize or rotation, so capture new readings after changing window size, zoom level or display scaling.

Technical Details:

Display metrics originate from two browser interfaces: the screen interface, which reports physical pixel dimensions and color depth, and the viewport interface, which describes the logical content area excluding toolbars. Layout engines multiply viewport dimensions by the device-pixel ratio to translate CSS pixels into hardware dots. Accurate readings let you predict breakpoint activation, choose image source sets, balance performance budgets, and guide accessibility scaling on retina-class displays. They underpin fluid grids and pixel-perfect iconography.

Core Equation:

AR= max (w, h) min (w, h)
  • w – screen width in pixels
  • h – screen height in pixels
  • AR – aspect ratio formatted as x : 1
MetricMeaning
Screen width / heightPhysical pixel grid of the panel
Viewport width / heightLogical CSS pixels available to content
Device-pixel ratioHardware-to-CSS pixel multiplier
Color depthBits allocated per pixel
OrientationLandscape when width ≥ height, else Portrait
Aspect ratioWidth-to-height proportion, rounded to two decimals

Example (2560 × 1440 screen):

2560÷1440=1.7778 1.77781.78

Formatted output: 1.78 : 1 (Landscape)

Assumptions & Limitations:

  • Metrics derive from JavaScript APIs disabled by some privacy extensions.
  • OS-level scaling influences device-pixel ratio.
  • External monitors may report nominal, not true, dimensions.
  • Browser zoom distorts viewport values.

Edge Cases & Error Sources:

  • Virtual desktops changing resolution mid-session.
  • Foldable devices switching orientation thresholds.
  • High-contrast modes forcing reduced color depth.
  • Embedded iframes masking true viewport size.

Scientific Validity & References:

Concepts align with the W3C CSS Device Adaptation Module, the HTML Screen Interface specification, and peer-reviewed studies on high-density display rendering.

Privacy & Compliance — the metrics are calculated locally and never leave your browser.

Step-by-Step Guide:

Follow these steps to capture accurate display information.

  1. Open the page on the target device.
  2. Read the live figures in the summary header.
  3. Select Copy CSV to place readings on the clipboard.
  4. Choose Download CSV for a local file record.
  5. Resize or rotate the device to see real-time updates.

FAQ:

Is my data stored?

No. All calculations occur in your browser; nothing is transmitted or persisted.

Why differ screen and viewport?

The viewport excludes interface chrome and accounts for zoom, whereas screen values describe physical pixels.

Does zoom affect readings?

Zoom changes viewport dimensions and can raise the effective device-pixel ratio, so recapture metrics after adjusting zoom.

What is device-pixel ratio?

The ratio of hardware pixels to CSS pixels; higher numbers indicate denser displays often marketed as “retina”.

How reliable is color depth?

Most modern panels report 24-bit depth; some laptops lower the figure in power-saving modes.

Glossary:

Screen Resolution
Total physical pixels across width and height.
Viewport
Visible content area inside the browser window.
Device-Pixel Ratio
Multiplier converting CSS pixels to hardware pixels.
Color Depth
Bits used to encode the color of a single pixel.
Aspect Ratio
Width divided by height, expressed :x : 1.

No data is transmitted or stored server-side.