Your screen resolution, device pixel ratio, browser viewport and window size, read by your own browser and updated live as you resize, zoom or rotate.
Printed from Calxy · https://www.calxy.net/tech/screen-resolution
Check your inputs—Complete valid inputs to calculate a current result.
Values update live when you resize the window, zoom, rotate the device or move the window to another monitor.
Privacy: these numbers are read by your own browser on this page and shown only to you. Nothing is sent to Calxy or anyone else, and nothing is stored.
Browsers report sizes in CSS pixels. Physical pixels = CSS pixels × device pixel ratio, read from this screen once the page loads.
The device pixel ratio includes the operating system's display scaling and the browser's zoom level, so zooming in changes it and the CSS sizes.
Some browsers round or deliberately generalise these values to reduce fingerprinting, so a result can differ slightly from the panel's native resolution.
Screen, viewport and physical pixels
Browsers report sizes in CSS pixels. Screen resolution is window.screen.width × height; the available screen leaves out the taskbar or dock. The viewport is the part of the window that shows the page (window.innerWidth × innerHeight), and the outer size includes the browser's own toolbars.
The device pixel ratio (DPR) is how many physical screen pixels make up one CSS pixel. Physical pixels = CSS pixels × DPR. A laptop reporting 1440 × 900 at DPR 2 has a 2880 × 1800 panel.
What each value means
Value
Browser API
Screen resolution
screen.width × screen.height
Available screen
screen.availWidth × availHeight
Viewport
window.innerWidth × innerHeight
Window
window.outerWidth × outerHeight
Device pixel ratio
window.devicePixelRatio
Why the numbers change
Operating-system display scaling and browser zoom both change the device pixel ratio, and with it the CSS sizes. Zoom to 200% and the viewport reports half as many CSS pixels. Rotating a phone swaps width and height, and moving the window to another monitor can change everything.
Some privacy-focused browsers round or standardise these values to make fingerprinting harder, so a reading can differ slightly from the panel's specification.
Privacy
Every value on this page is read by your browser and shown only to you. Nothing is sent to Calxy or any other server, stored, or added to share links.
Frequently asked questions
Why is my screen resolution lower than my monitor's specification?
Browsers report CSS pixels, which are scaled by your display settings. Multiply by the device pixel ratio to get physical pixels; the result is usually the native resolution.
What is the difference between screen size and window size?
Screen size is the whole display. Window (viewport) size is only the area showing the web page, which shrinks when the window is not maximised or when toolbars and scrollbars take space.
Does this page collect my screen information?
No. The values are read and displayed in your browser only. Nothing is transmitted or stored.