PROBLEM TO BE SOLVED: To provide an endoscope apparatus and a program which suppress reduction in measurement accuracy.SOLUTION: A corresponding point calculation unit 43 calculates, based on a video signal and a position of a measurement point specified on a first object image, a position of a corresponding point that is located on a second object image having parallax relative to the first object image and that corresponds to the measurement point. An index value calculation unit 45 calculates an index value which indicates a positional relationship between an optical system and an insertion unit. A determination unit 46 determines a change in the positional relationship between the optical system and the insertion unit. A monitor 4 displays the measurement point and the corresponding point so that the measurement point and the corresponding point are superimposed on each other on an image. If it is determined that a change occurs in the positional relationship between the optical system and the insertion unit, a position of the corresponding point is checked by a user. Then, if the user determines the position of the corresponding point is appropriate, a correction unit 47 corrects, only by the amount of the change in the positional relationship based on the index value, a measurement parameter created using environmental data. A measurement processing unit 44 measures a size of an object on the basis of the parameter corrected.