Skip to content
YouGauge

Device tests

What is my screen resolution?

Your screen’s resolution, pixel ratio, browser window size and colour depth, read as soon as the page opens and updated as you resize or zoom.

Screen resolution

–pixels

Your screen’s size in CSS pixels times the pixel ratio. With zoom or display scaling the browser may not report the panel’s exact native resolution.

Screen size in CSS pixels
–
Available to windows
–
Browser window (viewport)
–
Device pixel ratio
–
Colour depth
–

Browser zoom and display scaling change the pixel ratio and the CSS sizes. Set zoom to 100% for the screen’s own numbers.

Measure your screen with a card

Hold a bank card, library card or ID card (they are all 85.6 mm wide) flat against the screen over the outline. Move the slider until the outline is exactly as wide as the card.

323.5 px

Read from this browser. Nothing is sent.

Your answers stay on this device

This test runs in your browser. What you do here is not sent to a server, and it keeps working without an internet connection once the page has loaded.

Evidence Grade A

Uses a published scale, a standard method or a direct reading of your device. The sources are listed below.

Try next

Find your screen resolution and size

  1. Read your screen resolution and the other numbers at the top. They update when you resize the window or change the zoom.
  2. To measure the screen’s real size, hold a bank or ID card against the outline and move the slider until the outline is exactly as wide as the card.
  3. Press Save size to see the pixel density and the diagonal, or Clear to forget the size you saved.

How the result is worked out

The browser reports the screen’s size in CSS pixels and the device pixel ratio, the number of screen pixels in each CSS pixel. The resolution is the CSS size times the pixel ratio. The viewport is the inside of the browser window, and the colour depth is the number of bits the screen uses for each pixel. For the physical size, an ID-1 card, the size of a bank card at 85.60 mm wide, gives the number of CSS pixels per millimetre. From that the page works out the pixels per inch and, from the screen’s size in CSS pixels, the diagonal in inches.

What changes the result

  • Browser zoom: zooming in or out changes the pixel ratio and the CSS sizes. Set zoom to 100% for the screen’s own numbers.
  • Display scaling: at 125% or 150% scaling in the system settings, the CSS sizes are smaller than the screen’s pixels and the ratio shows the scaling.
  • Several screens: the numbers are for the screen the browser window is on. Move the window to read another screen.
  • The card measurement: it is only as good as your match. Look straight at the screen and match the edges closely; a slight gap changes the result by a few percent.
  • Phones and tablets: some report a rounded pixel ratio, so the resolution can differ slightly from the panel’s exact one.

About this test

Screen resolution is the number of pixels your screen shows across and down, such as 1920 by 1080. Browsers work in CSS pixels, which on high-density screens are made of several screen pixels each, so this page shows both: the size in CSS pixels and, multiplied by the device pixel ratio, the resolution in the screen’s own pixels.

You also see the space windows can use, which leaves out task bars and docks, the size of the browser window itself, and the colour depth. All of these update as soon as you resize the window, change the zoom or move the window to another screen, which makes the page handy for checking scaling settings or a new monitor.

A browser can’t tell how big the screen is in centimetres or inches. The card measurement fills that gap: a bank card is the same size everywhere, so matching an outline to it tells the page how many pixels make a millimetre on your screen. With that, this screen size test gives the pixel density in pixels per inch and the diagonal.

What is my screen resolution good for? Choosing wallpapers and videos, checking that a new display runs at its native resolution, or comparing the sharpness of two screens. The readings are never stored; the card size stays in this browser until you clear it.

Frequently asked questions

Why is the resolution different from my monitor’s box?

Usually because of zoom or display scaling. The page multiplies the CSS size by the pixel ratio, and with scaling set in the system some browsers round the ratio. Set zoom to 100% and check the system scaling.

What is the device pixel ratio?

How many screen pixels make up one CSS pixel. It is 1 on many desktop monitors and 2 or 3 on high-density laptop and phone screens. Zoom changes it too.

How do I find my screen size in inches?

Use the card measurement. Hold a bank card or ID card to the screen, match the outline and press Save size. The diagonal is worked out from the card’s known width; it isn’t something a browser can report.

Is the pixel density exact?

It is as close as your card match, usually within a few percent. Match the outline to the card’s edges carefully, at 100% zoom.

Why do I have to measure again?

The saved size is only right for the zoom and screen it was made on. When the pixel ratio or the screen size changes, the page stops using it and asks you to measure again.

What is saved, and where?

Only the card size you saved, with the zoom and screen it was for, and the result when you press Save size. Both stay in this browser. The readings at the top are never stored.

References

  1. W3C. CSSOM View Module. screen.width, screen.height, availWidth, colorDepth and devicePixelRatio, which the readings come from.
  2. ISO/IEC 7810:2019. Identification cards: physical characteristics, 2019. The ID-1 size of bank and ID cards, 85.60 × 53.98 mm, used to measure the screen.

Last updated 16 November 2026