geoprimsField-grade geospatial math

East, north, up to azimuth, elevation, and range

Converts east, north, and up offsets in the local tangent frame into the azimuth, elevation, and slant range of the target.

Go the other way: Azimuth, elevation, and range to east, north, up →

126.869898°

The target is at azimuth 126.869898°, elevation 5.710593°, 1,507.481 m away.

Elevation
Slant range
Horizontal distance
Provenance
Computed by
geodesy.frame.enu-to-aer 1.0.0, core 0.1.0
Model
Range r = √(e² + n² + u²), azimuth = atan2(e, n) clockwise from north, elevation = atan2(u, √(e² + n²))
Accuracy
Exact trigonometry in the local frame
Notes
None
Cites
Karney, C. F. F., GeographicLib, GeographicLib Geocentric and LocalCartesian classes

Something look off?

Your values

Showing an example. Change anything.
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: Range r = √(e² + n² + u²), azimuth = atan2(e, n) clockwise from north, elevation = atan2(u, √(e² + n²))

Accuracy: Exact trigonometry in the local frame

When to use this: Use this to point something at a target whose offsets you know: an antenna, a camera gimbal, a spotlight, or a survey instrument. Enter how far east, north, and up the target is from you. The tool returns the azimuth to turn to from north, the elevation to tilt to, the straight-line slant range, and the horizontal distance.

Limitations: The frame is a flat tangent plane at the observer, so this is geometry on straight lines and takes no account of the Earth's curvature or of refraction bending a line of sight. A target straight above or below has no azimuth, and 0 is returned with a warning. Offsets in a north-east-down frame need the down value negated to give up first.

Worked example: A target 1,200 m east, 900 m south, and 150 m up. Source: Cartesian-to-spherical trigonometry in the local frame. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

East
1200 m
North
-900 m
Up
150 m

You get

Azimuth
126.869898°
Elevation
5.710593°
Slant range
1,507.481 m
Horizontal distance
1,500 m

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Checked against: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources