GNSS Simulator
Talk to an engineer
GNSS Simulator

GNSS ENGINEERING TOOLS

ECEF & LLA to ENU Coordinate Converter

Convert WGS 84 latitude, longitude and ellipsoidal height or ECEF coordinates into local east, north and up. Reverse ENU to ECEF and LLA using the same reference origin.

Define the local frame

Reference origin · WGS 84 LLA

Decimal geodetic latitude: −90° to 90°. Longitude: −180° to 180°. North/east positive. All heights and Cartesian coordinates are in metres. Supported ellipsoidal heights: −100,000 to 1,000,000,000 m.

Local ENU result

East · E — m
North · N — m
Up · U — m
Horizontal separation · √(E² + N²) — m
Straight-line 3D separation — m

Target in global coordinates

WGS 84 geodetic coordinates

Latitude: —°

Longitude: —°

Ellipsoidal height: — m

ECEF Cartesian coordinates

X: — m

Y: — m

Z: — m

All coordinates describe the same target. The reference origin remains fixed during each conversion. No datum, epoch or geoid transformation is applied.

From ECEF differences to ENU

ΔX = X − X₀; ΔY = Y − Y₀; ΔZ = Z − Z₀
E = −sin(λ₀)ΔX + cos(λ₀)ΔY
N = −sin(φ₀)cos(λ₀)ΔX − sin(φ₀)sin(λ₀)ΔY + cos(φ₀)ΔZ
U = cos(φ₀)cos(λ₀)ΔX + cos(φ₀)sin(λ₀)ΔY + sin(φ₀)ΔZ

φ₀ is geodetic latitude and λ₀ is longitude of the reference origin. The reverse conversion uses the transpose of this rotation and adds the ECEF origin.

Ellipsoid: WGS 84; a = 6,378,137 m, inverse flattening = 298.257223563. East, north and up form a local Cartesian frame.

A simple axis check

At reference latitude 0°, longitude 0°, and ellipsoidal height 0 m, the ECEF origin is X₀ = 6,378,137 m, Y₀ = 0 m, Z₀ = 0 m.

Target ECEF: X = 6,378,147 m
Y = 20 m; Z = 30 m
ΔX = 10 m; ΔY = 20 m; ΔZ = 30 m
E = 20 m; N = 30 m; U = 10 m

At this reference, east follows +Y, north follows +Z, and up follows +X. Use the example button to reproduce these values.

Use ENU to inspect position differences

A fixed reference frame makes east, north and up offsets easier to interpret in static receiver tests and local trajectory checks. For a dynamic accuracy test, the receiver and reference trajectory must also be matched in time before computing error statistics.

Up is a projection onto the reference ellipsoid normal. Over long separations, it includes Earth-curvature effects and should not be read as a simple altitude difference. The distance outputs are local-plane and straight-line separations.

Technical reference: PROJ: geocentric to topocentric conversion . For related interpretation, see the GNSS receiver validation guide .

Frequently asked questions

Why do I need a reference position?

ENU is a local frame attached to a chosen origin. Its east and north axes lie in the tangent plane of the reference ellipsoid, and its up axis follows the ellipsoid normal. Changing the origin changes the ENU coordinates.

Can I convert ENU back to ECEF or latitude and longitude?

Yes. Select ENU input, retain the same reference latitude, longitude and ellipsoidal height, and enter east, north and up in metres. The calculator returns the target ECEF and WGS 84 geodetic coordinates.

Is the Up value the difference between the two heights?

Not in general. Up is the position difference projected onto the reference up axis. Earth curvature makes it different from simply subtracting ellipsoidal heights, especially over long separations.

Which height reference should I enter?

Use WGS 84 ellipsoidal heights for the reference and any LLA target. A mean-sea-level or orthometric height requires a suitable geoid conversion before use. This calculator does not transform vertical datums or coordinate epochs.

What happens at the poles?

At a reference pole, the entered longitude defines the orientation of the local east and north axes. For an ECEF or ENU target exactly on the polar axis, inverse conversion returns longitude 0 degrees by convention because longitude is indeterminate there.

Are the reported distances surface distances?

No. Horizontal separation is the norm of east and north in the reference tangent plane. Three-dimensional separation is the straight-line norm of east, north and up. Neither is an ellipsoidal surface geodesic, and output digits do not establish measurement accuracy.

Planning a position-accuracy or HIL test?

Share the receiver, signal configuration, trajectory requirements, reference method and target performance to discuss a suitable GNSS test setup.

Discuss your test setup
Scroll to Top