<;P>;PROBLEM TO BE SOLVED: To provide an endoscopic device for measurement capable of informing a user of the size of a subject in real time, and to provide a program and a recording medium. <;P>;SOLUTION: An endoscope 2 photoelectrically converts a subject image to generate an imaging signal. A CCU 9 processes the imaging signal to generate image data. A CPU 18 uses the image data to calculate a subject distance on the principle of triangulation. The CPU 18 calculates the size of a mark that is a standard of the size of the subject based on the subject distance and an angle of visibility of the endoscope 2. An LCD 5 displays the mark together with the subject image based on the image data. <;P>;COPYRIGHT: (C)2008,JPO&INPIT