Browser window size - absolute

Is there a way to find out about the absolute width and height, say in centimeters, of a Vaadin 8 window currently in UI?

In other words, is there a way to see the resolution of 1 cm^2 of the display unit?

I know how to get the window size in pixels. What i need is the absolute length.

TIA.