This tool works fully today using real city coordinates and the standard great-circle (haversine) distance formula. Note that this is straight-line distance, not driving or flight route distance, which is typically longer.
Distance Calculator
Calculate the straight-line distance between two cities.
How this works: straight-line ("great-circle") distance from each city's real coordinates — a practical estimate, not a driving or flight route.