Rectangle size is smaller on the monitor (ruler missmatch)

I'm creating a rectangle and then change its size typing the dimensions (mm) on the tool bar, lets say 170mm width.

If I place a ruler on my monitor screen its about 150mm! (zoom level 100%) On a random ruler webpage things look fine.

What do i miss here?