Screen Resolution Simulator screenshot

Screen Resolution Simulator

Look up aspect ratio, display class, and pixel count for any screen size.

Privacy First
0 Runs
Updated 2026-11-07
Runs in your browser
No upload
No account needed
Recomputes as you type

Look up aspect ratio, display class, and pixel count for any screen size. Enter your numbers and get an instant result.

Enter a width and a height in pixels and the page reports three things: the aspect ratio reduced to its smallest whole numbers, a resolution category, and the total pixel count with thousands separators.

Load My Screen Size fills the two fields from the browser's own screen.width and screen.height, then recalculates. Those values are the CSS pixel size the browser reports, which on a high-density display is smaller than the panel's physical pixels.

The category is a set of thresholds, not a certification: 3840 by 2160 or more is called 4K Ultra HD, 2560 by 1440 is QHD, 1920 by 1080 is Full HD, 1280 by 720 is HD, and anything smaller is SD. A wide screen that misses one dimension falls to the lower label.

How the ratio is reduced

The greatest common divisor of the two numbers is divided out, so 1920 by 1080 becomes 16:9 and 2560 by 1080 becomes 64:27 rather than a decimal. The ratio describes the shape of the frame, not the density of the panel.

Zero, a negative number or an empty field clears the result rather than reporting a ratio, because there is no rectangle to describe. Non-integer input is parsed as an integer.

  • Ratio: width and height divided by their greatest common divisor
  • Category: five fixed thresholds, checked largest first
  • Total pixels: width times height, formatted in the page's locale

CSS pixels versus device pixels

A 27-inch 4K monitor at the usual scaling reports 1920 by 1080 to a web page, not 3840 by 2160, because the browser works in CSS pixels. The page therefore shows the layout size, which is the figure a designer needs, while the category may read Full HD on a physically 4K panel.

The device pixel ratio is mentioned in the page's note but is not part of the calculation. If you need physical pixels, multiply the reported figure by window.devicePixelRatio, which this page does not do for you.

How to use the two fields

Type the width and the height in pixels into the Dimensions boxes, or press Load My Screen Size to fill both from the browser's own report. The ratio, the category label and the total pixel count recompute as the numbers change.

Read the Display Specs panel for the three answers together: the reduced ratio for the frame shape, the 4K-to-SD label for a rough class, and the pixel product for the absolute size. A zero or empty field clears the result rather than guessing.

What to Expect

Best for

  • Getting the aspect ratio of a custom resolution
  • Checking which marketing label a panel size falls under
  • Reading the CSS pixel size your browser reports

Not ideal for

  • Measuring physical panel pixels, which needs the device pixel ratio
  • Colour gamut, refresh rate or brightness, which the page does not read
  • A display whose resolution is not a pair of integers

What this tool keeps

  • The exact width and height you entered
  • A ratio reduced to whole numbers
  • The pixel product, formatted for reading

What may need cleanup

  • The reported size on a scaled display, which is in CSS pixels
  • The category label, which is a coarse threshold rather than a standard
  • An implausible ratio produced by an unusual pair of numbers

Common errors

  • Reading the reported size as the panel's physical resolution
  • Expecting a fit-to-screen button to set the ratio to 16:9
  • Entering a decimal and finding it truncated

Example use cases

  • Checking a mockup's aspect ratio
  • Labelling a screenshot's resolution
  • Comparing two monitors' CSS pixel sizes

Sample input

A width of 1920 and a height of 1080, the values Load My Screen Size fills on a common laptop.

Sample output

An aspect ratio of 16:9, the label Full HD and a total of 2,073,600 pixels.

Who this is for

  • Designers checking a viewport
  • Support staff reading a user's screen size
  • Anyone comparing display resolutions

Frequently asked questions

What does the screen resolution tool report?

The aspect ratio reduced to whole numbers, a resolution category and the total pixel count with thousands separators.

Does it measure physical panel pixels?

No. The reported size is in CSS pixels, and a scaled display can report differently.

Is the category a standard?

No. It is a coarse threshold label rather than a published standard.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.