OhMyCalc

Route Distance Calculator (Haversine)

Compute the great-circle distance and rough travel time between two geographic coordinates using the haversine formula — no map data required.

How to Use the Route Distance Calculator (Haversine)

  1. Enter start latitude and longitude in decimal degrees.
  2. Enter end latitude and longitude.
  3. Click Calculate to see distance and travel time.

Use Cases

Formula

a = sin²(Δφ/2) + cos φ₁·cos φ₂·sin²(Δλ/2). c = 2·atan2(√a, √(1−a)). d = R·c, with R = 6371 km.

Frequently Asked Questions

Is this real driving distance?
No — it is the straight-line geodesic (great-circle) distance. Actual road distance is typically 15–30% longer.
Why 60 km/h for travel time?
A simple average that mixes city and intercity driving. Replace it with your own average if you need a tighter estimate.