A distance measurement method for calculating distance information from a first image and a second image that are image-captured with different image-capturing parameters. A setting step sets a first local region located in the first image including a distance calculation target pixel, and a second local region located in the second image corresponding to the first local region. An extraction step extracts a plurality of shift regions, which are regions of which a shift amount from the second local region is within a predetermined range. A correlation value is calculated between the first local region and each of the plurality of shift regions. A decision step determines a correlation value used for calculating distance information, based on the plurality of correlation values calculated in the first calculation step. The distance information on the distance calculation target pixel is calculated, based on the correlation value determined in the decision step.