Just a little math thing I did On the left is the distance using calculations and the one on the right is the distance using the "distance to" sensor
Math