ForHosting KIT · Travel & geography

Great-circle path intersection

Enter two start points with their true bearings and see where the great-circle courses meet: 51.8853 N, 0.2545 E on 108.547° and 49.0034 N, 2.5735 E on 32.435° cross near 50.9078 N, 4.5084 E. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Lat1
51.8853
Lon1
0.2545
Bearing1
108.547
Lat2
49.0034
Lon2
2.5735
Bearing2
32.435
You get
Latitude
50.907809
Longitude
4.50841
Antipode lat
-50.907809
Antipode lon
-175.49159

This great-circle path intersection calculator finds where two spherical courses meet when each path is defined by a start latitude and longitude plus an initial true bearing. The classic check is 51.8853 north, 0.2545 east, bearing 108.547 degrees against 49.0034 north, 2.5735 east, bearing 32.435 degrees, which lands near 50.9078 north, 4.5084 east. Arithmetic is closed-form vector geometry with no network calls, no sampling, and no date-dependent shortcuts.

Where path intersection fits in navigation, GIS, and software

Planners meet this problem when two airways, radar tracks, or sailing rhumbs-on-a-sphere are specified from different fixes with different courses and someone needs the predicted meeting point before drawing a chart layer. Teachers can pre-generate answer keys for modest latitude and bearing sets without trusting opaque calculator apps that silently switch to rhumb lines or chart projections.

Developers call the same contract from scripts to seed deterministic test vectors for navigation libraries, to validate user-entered courses in flight-planning UIs, or to satisfy programming-challenge statements that demand lat and lon rather than a hand-waved sketch. Contest and exam practice often needs a fast, offline source of intersection coordinates so solutions can be checked without proprietary avionics under time pressure. Product and education tools use the rewrite when a learner types two points and bearings and the UI must show both the nearer intersection and its antipode for completeness.

Pair it with along-track distance, rhumb distance, or coordinate converters when you are building a small lab of free, deterministic geo helpers.

Flight and sail planning drills

Find where two point-and-bearing great-circle courses meet for classroom fixes, airway exercises, and chart QA without proprietary avionics.

Map and GIS software

Normalize user-entered origins and true bearings into spherical intersection points for track overlays and teaching demos.

What does the great-circle path intersection calculator cost?

It is free in your browser on this page.

How is each path defined?

Each path is a great circle fixed by one geographic point (lat, lon) and one initial true bearing in degrees clockwise from north.

Why are there two intersection points?

Two distinct great circles on a sphere meet at a pair of antipodes.

Is this the same as rhumb-line intersection?

No. Rhumb lines keep constant chart bearing and are not great circles except on special cases. This tool intersects spherical great-circle planes only.

Which point is shown as the main intersection?

The one closer to the first start point, or to the second if both are equally far. Its antipode, the exact opposite point on the globe, is listed as well, since two great circles always cross at two opposite places.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/geo/great-circle-intersection

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/geo/great-circle-intersection \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat1":51.8853,"lon1":0.2545,"bearing1":108.547,"lat2":49.0034,"lon2":2.5735,"bearing2":32.435}'
{
  "lat1": 51.8853,
  "lon1": 0.2545,
  "bearing1": 108.547,
  "lat2": 49.0034,
  "lon2": 2.5735,
  "bearing2": 32.435
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "geo.great_circle_intersection",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

lat_min-90
lat_max90
lon_min-180
lon_max180
bearing_min0
bearing_max360
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Aviation, sailing, and GIS work often describe a track as “from this fix, heading such-and-such degrees,” not as a pair of endpoints; the engine converts each point-plus-bearing into a great-circle plane on the unit sphere, intersects the planes, and returns both antipodal intersection coordinates.

What two point-and-bearing great circles mean and what the response contains

A great circle is the shortest path between points on a sphere and the track an aircraft or ship follows when flying a pure great-circle course between fixes. When you only know a single fix and the initial true bearing, that pair still defines the entire great circle: the local north and east unit vectors at the fix, combined with cosine and sine of the bearing, give a tangent direction, and the plane through the origin, the fix, and that tangent is unique. Two such planes generally meet in a line through the Earth’s center; that line pierces the sphere at two antipodal points, which are the only places both courses can share. This calculator returns the normalized inputs, the primary intersection latitude and longitude chosen as the candidate closer to the first origin (then the second origin on a distance tie), the antipodal latitude and longitude, the precision used, a method tag great_circle_plane_intersection, and a short formula reminder. There is no iterative ray marching and no chart projection: the engine either builds finite unit vectors and a non-zero cross product of the two plane normals or rejects the request with invalid_input. Rejected cases include missing coordinates or bearings, non-finite values, latitudes outside minus ninety to ninety, longitudes outside minus one hundred eighty to one hundred eighty, and parallel paths whose point-plus-bearing pairs define the same great-circle plane so that no unique intersection exists.

How latitudes, longitudes, and bearings are read and kept reproducible

Optional leading plus signs and scientific notation on numeric strings are allowed when they parse as finite decimals; embedded spaces, hex prefixes, and non-numeric tokens are rejected with a clear message so a bad cell does not become a wrong fix. Bearings may be any finite real and are normalized into the half-open interval from zero inclusive to three hundred sixty exclusive, so negative headings and values above a full circle map cleanly without changing geometry. The preferred fields are lat1 and lon1 with bearing1 for the first path and lat2 and lon2 with bearing2 for the second, but aliases such as start1_lat, latitude1, phi1, brng1, course1, heading1, and the matching second-path names are accepted so spreadsheets, query strings, and typed forms can reuse the same contract. An optional precision field, with aliases decimals and dp, chooses how many decimal places to expose for latitudes, longitudes, and bearings, defaulting to six and capped at fifteen so JSON goldens stay stable. Computation converts each origin to an Earth-centered unit vector, builds the local north and east basis, forms the tangent direction for each bearing, takes plane normals as the cross product of position and direction, and intersects those normals; if the magnitude of the resulting intersection vector is at or below a tiny epsilon, the planes are parallel and the request fails.

Where path intersection fits in navigation, GIS, and software

On this page the work runs entirely in your browser; through the API each successful lookup costs $0.002, failed validation is not charged, and nothing is stored after the response returns. That split — free interactive exploration and a priced, identical API — matches the rest of the KIT tier-A catalog and lets you move from a classroom demo to an automated pipeline without changing the mathematical result.

Deterministic navigation fixtures

Generate reproducible lat/lon intersections and antipodes for unit tests, property checks, and CI assertions in geo libraries.

When are paths rejected as parallel?

When both point-and-bearing pairs define the same great-circle plane, the plane normals are parallel, there is no unique intersection, and the API returns invalid_input.

Read the full KIT documentation →