What Is My Screen Resolution? - Check Screen Size and DPR

Tests & Quizzes / Device Tests / Screen Resolution

What is my screen resolution?

Your browser reports these values for the screen this window is on. Nothing is stored or sent anywhere.

Screen resolution (CSS pixels)
— × —
 
Viewport — DPR —

Measuring… (needs JavaScript)

Available area (without taskbar)
—
Aspect ratio
—
Color depth
—
Orientation
—
Touch support
—
HDR
—
Color gamut
—

Pixel density (PPI) calculator

—

Uses the physical pixels measured above. If your operating system scales the display, check that they match the panel’s native resolution in its specifications.

Understanding your screen resolution

A browser sees your display through two lenses: CSS pixels, the layout units web pages use, and physical pixels, the real dots on the panel. The device pixel ratio links the two. That is why a phone with a sharp 1170-pixel-wide panel tells websites it is 390 pixels wide, and why the numbers on this page may not match the resolution printed on the box.

How to read the values

  1. 1 The big number is the screen size in CSS pixels; the line below multiplies it by the device pixel ratio to give the physical pixels.
  2. 2 The viewport is the part of the window where the page is drawn. Resize the window or rotate the phone and watch it change live.
  3. 3 Press “Copy all info” to paste the values into a support ticket or a bug report, or enter your screen diagonal to get the pixel density.

CSS pixels vs physical pixels

A CSS pixel is a layout unit meant to look about the same size on every device. On a high-density panel several physical pixels draw one CSS pixel: with a device pixel ratio of 3, each CSS pixel is a 3 × 3 block of real pixels, so text and photos look sharper while the layout stays the same size. A phone reporting 390 × 844 at DPR 3 really has a 1170 × 2532 panel. Physical values here are calculated as CSS size × DPR and can differ by a pixel from the panel’s spec because of rounding.

Display scaling and zoom

Operating systems enlarge everything on high-resolution screens. On Windows, a 1920 × 1080 monitor set to 125% scaling reports 1536 × 864 CSS pixels with a device pixel ratio of 1.25; at 150% it reports 1280 × 720. Browser zoom works the same way inside the page: zooming to 110% raises the ratio and shrinks the CSS sizes, so set the zoom to 100% before reading the values. The physical line multiplies back to the real resolution.

More than one monitor

A web page only learns about the screen its window is currently on. Drag the window to another monitor and the values switch to that screen, including the device pixel ratio if the monitors use different scaling. Where the browser supports it, the “Multiple screens” tile shows whether the desktop extends across more than one display; the page does not ask for permission to list your other screens.

Color depth, HDR and gamut

Color depth is the number of bits the system uses per pixel: 24-bit means 8 bits for each of red, green and blue, about 16.7 million colors; 30-bit means 10 bits per channel. HDR shows whether the browser and the current screen can display high dynamic range content right now, which often depends on an HDR switch in the system settings. Color gamut tells how wide a range of colors the screen covers: sRGB is the classic web standard, Display P3 is wider and common on recent phones and laptops, and Rec. 2020 is wider still. Browsers report what the system tells them, and privacy settings can make some report rounded or generic values.

Screen resolution: frequently asked questions

Because the big number is in CSS pixels. If your system scales the display (for example 125% or 150% on Windows, or a Retina setting on a Mac), the browser divides the real resolution by that factor. The line under it, “Physical pixels”, multiplies back by the device pixel ratio and should match the panel’s native resolution, give or take a pixel.
New
Online Ruler Real-size online ruler in cm, mm and inches with 1/16 marks. Calibrate it with a bank card, your screen size or an A4 sheet, then measure.
Popular Today
Keyboard Tester Free online keyboard tester: press keys and see each one light up on an ANSI or ISO layout. Check dead keys, key rollover (ghosting) and chatter.

Other device tests

Keyboard Tester Free online keyboard tester: press keys and see each one light up on an ANSI or ISO layout. Check dead keys, key rollover (ghosting) and chatter.
Mouse Test Free online mouse test: check left, middle, right, back and forward buttons, catch unwanted double clicks, count scroll wheel steps and estimate polling rate.
Mic Test Free online mic test: live level in dBFS, waveform and spectrum, clipping warning, device and sample rate, 5-second playback. Nothing is recorded or uploaded.
Webcam Test Free online webcam test: live preview, real resolution and measured frame rate, requested vs delivered 720p/1080p/4K, mirror view. Nothing is recorded or uploaded.
Speaker Test Free speaker and headphone test: play sound on the left, right or both channels, check phase (polarity) and run a 20 Hz-20 kHz sweep. Starts at a low volume.

More tests and quizzes

Typing Speed Test Free typing test in 14 languages with random words or real text that never runs out: 30 seconds, 1 or 2 minutes. Get WPM, raw WPM, accuracy, errors and CPM.
Reaction Time Test Free reaction time test: wait for green, click and see your time in milliseconds. Average of 5 tries, best and worst, history and personal best.
Click Speed Test Free CPS test: click as fast as you can for 1, 5, 10, 30 or 60 seconds. See clicks per second, fastest second, gaps between clicks and your personal best.
Number Memory Test Free number memory test: remember a number that grows by one digit each round and find your digit span. Classic or 3-lives mode, history kept in your browser.
Color Blindness Test Free online color blindness test: 14 dot plates for red-green and blue-yellow color vision, number or shape mode, instant result. Not a medical diagnosis.