A method for determining a distance (d) between an FMCW (frequency modulated continuous wave) ranging device and a target, comprising the steps of: - transmitting a transmit signal towards the target, - receiving a receive signal caused by reflections of the transmit signal, - determining a frequency difference signal of the transmit signal and the receive signal, - calculating a frequency-domain echo profile (16, 17) from the frequency difference signal, - storing a low-frequency portion (18, 19) of the echo profile (16, 17) as a temporary interference profile, - subtracting, if already available, a valid interference profile from the echo profile (16, 17), - analyzing the echo profile (16, 17) or interference-free echo profile in order to determine the distance (d) of the target, characterized in that the method further comprises the steps: - if the target is in a close range to the ranging device and - if the valid interference profile is available, - returning to the first step, or else - if the valid interference profile is not yet available, - subtracting the temporary interference profile from the echo profile (16, 17), - analyzing the echo profile free from the temporary interference profile for another determination of the distance (d*) of the target, - saving the temporary interference profile as the valid interference profile if the difference of the results of the two determinations of the distance (d, d*) is within a specified tolerance, and - returning to the first step; or else - if the target is not in a close range to the ranging device, and - if the valid interference profile is available, - updating the valid interference profile by using the temporary interference profile, and - returning to the first step, or else - if the valid interference profile is not yet available, - saving the temporary interference profile as the valid interference profile, and - returning to the first step. - transmitting a transmit signal towards the target, - receiving a receive signal caused by reflections of the transmit signal, - determining a frequency difference signal of the transmit signal and the receive signal, - calculating a frequency-domain echo profile (16, 17) from the frequency difference signal, - storing a low-frequency portion (18, 19) of the echo profile (16, 17) as a temporary interference profile, - subtracting, if already available, a valid interference profile from the echo profile (16, 17), - analyzing the echo profile (16, 17) or interference-free echo profile in order to determine the distance (d) of the target, characterized in that the method further comprises the steps: - if the target is in a close range to the ranging device and - if the valid interference profile is available, - returning to the first step, or else - if the valid interference profile is not yet available, - subtracting the temporary interference profile from the echo profile (16, 17), - analyzing the echo profile free from the temporary interference profile for another determination of the distance (d*) of the target, - saving the temporary interference profile as the valid interference profile if the difference of the results of the two determinations of the distance (d, d*) is within a specified tolerance, and - returning to the first step; or else - if the valid interference profile is available, - returning to the first step, or else - returning to the first step, or else - if the valid interference profile is not yet available, - subtracting the temporary interference profile from the echo profile (16, 17), - analyzing the echo profile free from the temporary interference profile for another determination of the distance (d*) of the target, - saving the temporary interference profile as the valid interference profile if the difference of the results of the two determinations of the distance (d, d*) is within a specified tolerance, and - returning to the first step; or else - subtracting the temporary interference profile from the echo profile (16, 17), - analyzing the echo profile free from the temporary interference profile for another determination of the distance (d*) of the target, - saving the temporary interference profile as the valid interference profile if the difference of the results of the two determinations of the distance (d, d*) is within a specified tolerance, and - returning to the first step; or else - if the target is not in a close range to the ranging device, and - if the valid interference profile is available, - updating the valid interference profile by using the temporary interference profile, and - returning to the first step, or else - if the valid interference profile is available, - updating the valid interference profile by using the temporary interference profile, and - returning to the first step, or else - if the valid interference profile is not yet available, - saving the temporary interference profile as the valid interference profile, and - returning to the first step. - saving the temporary interference profile as the valid interference profile, and - returning to the first step.