Example 1
- City A: Warsaw
- City B: Krakow
156.6 mi
How far is Warsaw from Krakow? 156.6 miles in a straight line.
The calculator computes the straight-line distance between two cities from the list. The distance between Warsaw and Kraków is 252 km. This is not a road route and not travel time.
The result is a straight line. Time from a distance is on travel time. Kilometers and miles alone are on kilometers and miles.
Enter two cities from the list. The result will appear here.
The calculator uses the coordinates of two cities from the list and computes a haversine distance with a 6371 km radius. The distance between Warsaw and Kraków is 252 km.
The distance between Gdansk and Wroclaw is 376.6 km. The distance between Poznan and Lublin is 408.6 km. That is a straight line, not a highway.
A name that is not on the list is not accepted. Warsaw and Warszawa are the same record. Krakow and Cracow point to Kraków.
This is not a map, not GPS, and not travel time. To get hours, enter that distance on the travel-time page.
The second result is miles. The international mile is 1.609344 km. Warsaw to Krakow is 156.6 miles.
The same name in both fields gives 0 km, because the coordinates match.
d = 2R arcsin(√(sin²(Δφ/2) + cos φ₁ cos φ₂ sin²(Δλ/2))), R = 6371 km
φ and λ are latitude and longitude in radians. The result is a straight line.
A straight line is shorter than a road. 252 km is haversine, not the A4.
156.6 mi
How far is Warsaw from Krakow? 156.6 miles in a straight line.
2445.6 mi
How far is New York from Los Angeles? 2445.6 miles in a straight line, 3935.7 km.
213.5 mi
How far is London from Paris? 213.5 miles in a straight line.
252 km in a straight line. That is haversine with a 6371 km radius, not the A4 road.
376.6 km in a straight line. A road route is often longer, because the calculator does not build a route.
No. The result is a straight line. Travel time and fuel use are on other pages and need a distance you enter yourself.
From the list in the calculator: cities in Poland and larger cities worldwide. A name that is not on the list is not accepted.
Yes. The alias is the same record. Krakow and Cracow also point to Kraków.
The result is 0 km. It is the same pair of coordinates.
No. The Polish page writes 376,6 km for 376.6 km. Miles are in the second field.
6371 km. That is a mean radius, not the WGS 84 ellipsoid.
No. The calculator does not draw a route and does not use live traffic.
156.6 miles. The international mile is 1.609344 km.
Haversine distance uses a mean Earth radius. This is not a highway table.
Page updated in 2026.