PROBLEM TO BE SOLVED: To provide a visual line measuring device and visual line measuring program for measuring the visual line of a user in a wide range in a non-contact manner.SOLUTION: The visual line measuring device 1 includes: an eyeball position detection means 101 for detecting the eyeball positions of a user U from a plurality of eyeball peripheral images G obtained by photographing by the use of photographing devices C-C an eyeball area image segmenting means 102 for segmenting eyeball area images G, Gwith the eyeball positions as references a reference position specifying means 103 for specifying reference positions from the eyeball area images a visual line vector calculation means 104 for calculating the visual line vectors of the user U, based on the reference positions a gaze point calculation means 106 for calculating the coordinates of the intersection point of the visual line vectors and a screen and a gaze point integration means 40 for integrating a plurality of gaze points corresponding to the plurality of eyeball peripheral images G photographed by the plurality of photographing devices C-Cat the same time, into one in accordance with certainty calculated for each of the plurality of gaze points.