Calculators & Tools / Web Tools

What Size Is My Viewport?

The viewport is the part of the browser window that shows the page. Its size, in CSS pixels, decides which layout a responsive website uses. Resize the window or rotate your device and the numbers update as you go.

Viewport Width

–px

Viewport Height

–px

Width without the scroll bar– px
Screen size– px
Device pixel ratio–
Viewport in device pixels– px
Orientation–

The viewport width includes the vertical scroll bar, so it is the width that CSS media queries use. The device pixel ratio is the number of screen pixels per CSS pixel; it is above 1 on high-resolution screens and changes when you zoom the page.