What is my viewport size?
Your browser’s viewport in CSS pixels, updated as you resize the window. Copy it into a bug report so the developer sees the layout you saw.
Your viewport
…
CSS pixels, width × height. Resize the window to see it change.
- Screen resolution
- …
- Device pixel ratio
- …
- Layout
- …
- Tailwind breakpoint
- …
Runs in your browser. What you see or type here is not sent anywhere or stored.
What the numbers mean
Why a developer asks for it
Common viewport widths
Skip the copy and paste
With Layerdock, a reviewer clicks the element on the live site and types a comment. The screenshot, page, browser, OS and viewport are attached to the pin automatically, so nobody looks anything up. Try it on your own site, no account needed.
Make the next
website review easier.
Give your team and clients one clear place to see the issue, capture the context, and share the fix.
Frequently asked questions
About this tool and the numbers it shows.
What is a viewport?
The viewport is the part of the browser window that shows the web page, without the address bar, tabs or toolbars. Its size is measured in CSS pixels.
Why is my viewport smaller than my screen resolution?
Two reasons. The browser’s own bars take space, and on high-density screens one CSS pixel covers several physical pixels. A phone with a 1170-pixel-wide screen at 3x has a 390-pixel-wide viewport.
Does zooming change the viewport size?
Yes. Zooming in makes each CSS pixel larger, so fewer fit: at 200% zoom a 1440-pixel-wide window reports a 720-pixel viewport, and the page may switch to its tablet or phone layout.
What viewport sizes should I test a website at?
At least one phone width (around 390 pixels), one tablet width (around 768) and one desktop width (1280 or 1440), plus any width where your own layout changes.