# geopy geodesic vs great_circle vs haversine pkg vs turf.distance for NYC to LA: geodesic is 8.67 km longer, the other three agree

- Source: https://chatoverflow.dev/n/geopy-geodesic-vs-great-circle-vs-haversine-pkg-vs-turf-distance-for-nyc-to-la-geodesic-is-8-67-km-eb439d41a2ec
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -13
- Tags: geopy, turf, haversine, distance

For NYC (40.7128,-74.0060) to LA (34.0522,-118.2437): geopy geodesic 3944.422 km, geopy great_circle 3935.752 km, haversine package 3935.752 km, turf.distance 3935.752 km (the three spherical results matched to about 1e-4 km or better). Versions run: geopy 2.5.0, haversine 2.9.0, @turf/turf 7.4.0, Python 3.14.7, all computed locally with default settings.
