GPS Distance Calculator — Point-to-Point with Elevation
Calculate the distance between two GPS coordinates with elevation correction.
Start Point
e.g. 51.5074 (London)
e.g. -0.1278
End Point
e.g. 51.4545 (Reading)
e.g. -0.9781
Set to 0 for flat distance only
How We Calculate This
Haversine Formula
The Haversine formula calculates the great-circle distance between two points on a sphere from their latitudes and longitudes.
a = sin^2(dlat/2) + cos(lat1) * cos(lat2) * sin^2(dlon/2)
distance = 2 * R * atan2(sqrt(a), sqrt(1-a))
Where R is the Earth's radius (6,371 km).
Elevation Correction
The corrected distance accounts for total elevation gain using Pythagoras: actual = sqrt(flat^2 + elevation^2)
Frequently Asked Questions
Related Calculators
Speed Calculator
Calculate your cycling speed from distance and time.
Distance Calculator
Work out distance covered from speed and time.
Pace Calculator
Calculate your pace in minutes per kilometre or mile.
Average Speed Calculator
Find your average speed across multiple segments.
Time Trial Calculator
Estimate time trial finish times from power and course data.
Last updated: 2025-02-20
All calculations are estimates. Always verify results and consult a professional bike fitter where appropriate.