All toolsDisplay

Screen orientation test

Track changes to viewport shape and screen orientation.

Test panel

Questions about Screen orientation test

Why can the viewport say portrait while the screen says landscape?

The viewport reading uses the space available to the page. The screen reading uses the orientation reported by the browser for the screen itself. Resize a narrow desktop window to see how the two can differ.

What are the dimensions beside the viewport orientation?

They are the width and height of the page viewport in CSS pixels. The tool shows landscape when width equals or exceeds height. Rotate a phone or resize the desktop window to see these dimensions update.

Why is the screen angle shown as a dash?

A dash means the browser has supplied no numeric screen angle. The viewport size and its portrait or landscape label remain useful for checking the space your page is actually using.