A method of determining a distance from a target object by means of a time-of-flight measurement, wherein the method comprises the following steps: - irradiating the target object with an electromagnetic reference signal; - receiving a portion of the reference signal reflected by the target object as a measurement signal; - determining a phase difference between the reference signal and the measurement signal that is caused by the transit time of the measurement signal, wherein the phase differences determined within the framework of the method repeat as the distance from the target object increases when the distance from the target object exceeds an upper limit of a non-ambiguity range, - determining a piece of distance information from the phase difference; and - determining a strength of the measurement signal, characterized by a - comparison of the strength of the measurement signal with a predefined threshold value to determine whether the target object is arranged within the non-ambiguity range, wherein the threshold value is predefined in dependence on a maximum reflectivity of possible target objects and in dependence on the phase difference, wherein the threshold value is predefined for each phase difference such that the strength of the measurement signal is greater than the threshold value when the target object is arranged within the non-ambiguity range and a reflectivity of the target object is greater than a minimal reflectivity of possible target objects, and such that the strength of the measurement signal is smaller than the threshold value if the target object is arranged outside the non-ambiguity range and the reflectivity of the target object is smaller than the maximum reflectivity of possible target objects. - irradiating the target object with an electromagnetic reference signal; - receiving a portion of the reference signal reflected by the target object as a measurement signal; - determining a phase difference between the reference signal and the measurement signal that is caused by the transit time of the measurement signal, wherein the phase differences determined within the framework of the method repeat as the distance from the target object increases when the distance from the target object exceeds an upper limit of a non-ambiguity range, - determining a piece of distance information from the phase difference; and - determining a strength of the measurement signal, characterized by a - comparison of the strength of the measurement signal with a predefined threshold value to determine whether the target object is arranged within the non-ambiguity range, wherein the threshold value is predefined in dependence on a maximum reflectivity of possible target objects and in dependence on the phase difference, wherein the threshold value is predefined for each phase difference such that the strength of the measurement signal is greater than the threshold value when the target object is arranged within the non-ambiguity range and a reflectivity of the target object is greater than a minimal reflectivity of possible target objects, and such that the strength of the measurement signal is smaller than the threshold value if the target object is arranged outside the non-ambiguity range and the reflectivity of the target object is smaller than the maximum reflectivity of possible target objects.