If you need precise measurements for distances between two points on an object then hold down Alt (Windows) / Option (Mac) and drag a ruler guide to start at one point and end with other. The distance will be displayed in bottom left corner of Photoshop window.