In an embodiment, a photographing part of an ophthalmologic apparatus photographs an eye from different directions. An optical system splits light into measurement light and reference light and detects interference light of measurement light returned from the eye and reference light. A changing part changes optical path length of measurement light. A controller controls the photographing part to perform photography and the optical system to perform first detection when first optical path length is set and controls the optical system to perform second detection when second optical path length is set and a second image substantially the same as a first image acquired by the photography is acquired. Based on the first and second optical path lengths, a calculator calculates distance between first and second sites of the eye through which measurement light has passed in the first and second detections, respectively.