There is provided a processor device for an endoscope capable of accurately acquiring an observation distance. An endoscope system has an endoscope, and a light source device, and a processor device. The endoscope has an imaging sensor, and images an observation target and outputs an image signal. The light source device emits illumination light for illuminating the observation target. The processor device includes a measurement image processing unit. The measurement image processing unit includes a blood vessel index value calculation section and an observation distance calculation section. The blood vessel index value calculation section calculates a blood vessel index value based on the image signal from the endoscope. The observation distance calculation section calculates an observation distance from the blood vessel index value calculated by the blood vessel index value calculation section.