Distance Calculator
Calculate the distance between two train stations anywhere in the world.
Calculate the distance between any two train stations worldwide. Our calculator uses the Haversine formula to compute the great-circle (straight-line) distance, then estimates the actual rail distance by applying a 1.3x factor that accounts for the curves, detours, and terrain that real railway tracks follow. Results are shown in both kilometers and miles, with an interactive map visualization.
How It Works
Search Stations
Type at least 2 characters to search from 10,000+ stations worldwide. Select your origin and destination from the autocomplete dropdown.
Calculate Distance
We compute the straight-line (great-circle) distance using the Haversine formula, then estimate the rail distance using a 1.3x multiplier.
View Results
See both distances in km and miles, plus an interactive map showing the route between your selected stations.
No stations found.
No stations found.
Frequently Asked Questions
Methodology
Straight-line distance is calculated using the Haversine formula, which computes the great-circle distance between two points on Earth's surface. Rail distance is estimated by multiplying the straight-line distance by 1.3, a standard approximation that accounts for the fact that railway tracks cannot follow perfectly straight paths — they must curve around mountains, follow river valleys, and connect intermediate cities.