An apparatus for sensing and optimizing the stopping-point accuracy of a vehicle. The apparatus includes at least one sensor unit, which can be arranged on the vehicle, and at least one evaluation unit connected to the sensor unit. The at least one sensor unit is configured to measure a distance relative to a gap profile arranged at a stopping point to which the vehicle travels and to transmit the measurement result to the evaluation unit connected to the sensor unit. There is also described a corresponding system including the apparatus and the distance profile, and also a vehicle with such an apparatus.