COGO Inverse (Two Points to Bearing and Distance)

From two known points, the straight-line distance and the azimuth of the line between them.

Run the calculator

Example

You enter

You get

Details, formula, and sources

distance = sqrt(dN^2 + dE^2), azimuth = atan2(dE, dN) clockwise from north; dN = N2-N1, dE = E2-E1. From N5000/E5000 to N5141.42/E5141.42 the line runs 200.00 ft at azimuth 45.00 deg. Read it as a quadrant bearing by converting the azimuth. Plane geometry - no curvature or grid scale factor; the project control governs.

dN = N2 - N1; dE = E2 - E1; distance = sqrt(dN^2 + dE^2); azimuth = atan2(dE, dN) x 180/pi, normalized to 0-360 deg (clockwise from north).

First-principles coordinate geometry (the COGO inverse) as compiled in the standard route-surveying references (Ghilani & Wolf, Elementary Surveying; FM 5-233), by name.

The point-to-point inverse (distance and azimuth from two coordinates) is a public surveying result.

Estimate. AHJ and licensed professional govern.

Field names used by the API: start_n, start_e, end_n, end_e, distance_ft, azimuth_deg

Related tools