A rangefinder is a device that measures the distance to a target, such as the flagstick, using a laser or GPS.

Laser rangefinders measure to whatever you point them at; GPS devices and apps use satellite positioning and a course map to show distances to the green and hazards.

Under the Rules of Golf, distance-measuring devices are allowed unless a competition's local rule bans them.