If you want to know the exact size and position of any element on your Windows desktop then you can use one of these free screen ruler software on your Windows 11/10 PC. Yes, there is a pixel ruler ...
Whilst it may not be a necessary feature for everybody, measuring the distance between two points on a screen is indispensable for web designers and developers and can generally prove quite useful.