Calculate, convert, and display distances.