How to use this calculator
Express the straight Cartesian displacement between two WGS84 geodetic points in a local east, north, and up frame at the origin.
- Enter Origin geodetic latitude (degrees), Origin longitude (degrees east), Origin ellipsoidal height (m), Target geodetic latitude (degrees), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
WGS84 local east north up chord coordinates explained
Local east, north and up coordinates describe the straight displacement between two WGS84 positions relative to the origin’s tangent frame. Both positions are converted to Earth-centered Cartesian coordinates before their difference is rotated; the resulting chord is different from a surface geodesic.
Inputs, symbols, and units
lat0— Origin geodetic latitude (degrees)- Angle in degrees, converted internally to radians.
lon0— Origin longitude (degrees east)- Origin longitude angle east of Greenwich, in degrees.
h0— Origin ellipsoidal height (m)- Origin height above the WGS84 ellipsoid, in meters; not automatically height above mean sea level.
lat— Target geodetic latitude (degrees)- Angle in degrees, converted internally to radians.
lon— Target longitude (degrees east)- Target longitude angle east of Greenwich, in degrees.
height— Target ellipsoidal height (m)- Target ellipsoidal height in meters, using the same vertical reference as the origin.
Formula and method
d=ECEF(target)−ECEF(origin); ENU=R(φ0,λ0)d, with axes east, geodetic north, and ellipsoid-normal up.
Convert both endpoints to ECEF using the same ellipsoid. Rotate their difference into the origin’s tangent frame. Chord azimuth and elevation come from the local components; target surface curvature can create a negative up component even at equal ellipsoidal heights.
A worked scenario
Origin geodetic latitude (degrees) = 49.84; Origin longitude (degrees east) = 24.03; Origin ellipsoidal height (m) = 300; Target geodetic latitude (degrees) = 49.85; Target longitude (degrees east) = 24.05; Target ellipsoidal height (m) = 340.
- Local east offset: 1438.44800213 m
- Local north offset: 1112.5119573 m
- Local up offset: 39.74101927 m
- Straight chord distance: 1818.89935362 m
- Chord azimuth from north: 52.281228 degrees
- Chord elevation: 1.25195156 degrees
A nearby target is northeast of the origin and forty metres higher in ellipsoidal height. Local up is not exactly the raw height difference because the ellipsoid surface curves.
Assumptions and edge cases
Fixed WGS84 ellipsoid and a local Cartesian chord, not a surface route or map projection. No geoid, terrestrial-frame epoch, terrain, refraction, or datum shift. Direction is undefined for a purely vertical or zero horizontal chord.
Reading the outputs
East, north, and up are signed metres. The chord length equals the norm of the ECEF difference, not the spherical surface distance.
Frequently asked questions
Is up the geocentric radial direction?
No. It is normal to the reference ellipsoid at the origin.
Can this handle a distant target?
The rotation remains defined, but local components describe a chord and can be misleading as map distances.
Does elevation include atmospheric refraction?
No. It is a geometric chord angle.
How do I use the WGS84 local east north up chord coordinates calculator?
Enter Origin geodetic latitude (degrees), Origin longitude (degrees east), Origin ellipsoidal height (m), Target geodetic latitude (degrees), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of WGS84 local east north up chord coordinates?
Origin geodetic latitude (degrees) = 49.84; Origin longitude (degrees east) = 24.03; Origin ellipsoidal height (m) = 300; Target geodetic latitude (degrees) = 49.85; Target longitude (degrees east) = 24.05; Target ellipsoidal height (m) = 340. Local east offset: 1438.44800213 m Local north offset: 1112.5119573 m Local up offset: 39.74101927 m Straight chord distance: 1818.89935362 m Chord azimuth from north: 52.281228 degrees Chord elevation: 1.25195156 degrees A nearby target is northeast of the origin and forty metres higher in ellipsoidal height. Local up is not exactly the raw height difference because the ellipsoid surface curves.
Background or definition reference: GeographicLib coordinate-system documentation.
Read our calculation methodology.
Reference: GeographicLib: WGS84 local Cartesian coordinates.