Polysh for agents is in early access. Your coding agent records the demo, and Polysh finishes it. Join the waitlist →

Viewport Size Checker

The exact size of your browser's page area and the breakpoint it matches.

Loading your browser tool…

What Viewport Size Checker does

Web designers, QA testers, and anyone filing a layout bug need the same fact: how wide the page area of the browser is right now. The headline shows it in CSS pixels, the unit that media queries use, and it changes live as you drag the window edge.

The table separates the size with and without scrollbars, so you can see when a vertical scrollbar is eating 15 or 17 pixels. It also shows the visual viewport and pinch-zoom scale for phones, and names the breakpoint band from phone to wide desktop. For the full screen rather than the window, use the screen resolution checker.

Example

Your setup

Chrome on a MacBook, window 1440 CSS pixels wide, overlay scrollbars, device pixel ratio 2

Report shows

Your viewport: 1440 × 813
CSS pixels · Extra large (1280–1535 px, desktop)
Scrollbar width: 0 px
Viewport in device pixels: 2880 × 1626

macOS hides scrollbars until you scroll, so they take no width. On Windows the same window usually shows a scrollbar of about 15 px.

How to use Viewport Size Checker

  1. Open the page in the browser and window you want to measure.
  2. Resize the window and watch the size and breakpoint update.
  3. Click Copy to share the numbers with a bug report.

Good to know

  • The breakpoint names follow common defaults at 640, 768, 1024, 1280, and 1536 px. Your site's own CSS may switch layouts at other widths.
  • This measures the page area, not the outer window with tabs and toolbar. Docked developer tools also take space from the viewport.
  • Browser zoom changes the viewport in CSS pixels: a 1440 px window at 125% zoom reports 1152 px.

Questions about Viewport Size Checker

How big is my browser window?

The headline shows the page area of this window in CSS pixels, width first. That is the size web pages see and the size a tab recording captures. Resize the window and the number changes immediately.

What is the difference between viewport and screen resolution?

Screen resolution is the whole display. The viewport is only the part of the browser window where the page is drawn, after the address bar, tabs, and window frame. On a laptop the viewport is usually a few hundred pixels shorter than the screen.

What viewport size should I test my site at?

Cover a phone width around 375 to 430 px, a tablet around 768 px, a laptop around 1280 to 1440 px, and a wide desktop at 1920 px. Check the widths just below each of your breakpoints, because layouts tend to break right before they switch.

Why does the viewport change when the keyboard opens on my phone?

On-screen keyboards cover part of the page. Browsers shrink the visual viewport to the area you can still see, while the layout viewport often stays the same, which is why fixed headers and footers can jump around.