This is a detailed explanation of what you wanted to know. Viewport
If you use chrome, follow these steps to get a viewing window for any device.
Press F12>, then click on the device switching mode (it will appear in the upper right corner of the window that appears after pressing F12)> select the desired device in the drop-down menu, then you can get the width and height of your viewing window
Rasik source share