A method for calibrating a sensor system having transmitters and receivers mounted on a vehicle at a distance from one another, and for measuring the distance of the vehicle from a roadway boundary, by a) sending a send signal at a first time, using a transmitter of the sensor system, b) converting the received send signal to a receive signal using a receiver of the sensor system, and establishing a second time at which the receive signal exceeds a certain threshold value, c) determining the propagation time of the send signal from the transmitter to the receiver from the difference in time between the second time and the first time, d) repeating a) to c) cyclically for a certain number of cycles, e) determining a frequency distribution of the propagation times determined in c), and f) generating a sensor distance value, which correlates with the sensor propagation time between the transmitter and the receiver, with the frequency distribution determined in e).