Lat/Long/Height to ECEF Converter

Converts geodetic latitude, longitude and height to ECEF geocentric XYZ coordinates on WGS84.

100% FreeRuns in your browserProfessional

Inputs

Geodetic latitude, longitude and ellipsoidal height → Earth-centred X, Y, Z, with the inverse round trip.

Position

Decimal degrees (−31.95), DMS (31 57 0 S) or DDM (31° 57.0′ S).

Decimal degrees (115.86), DMS (115 51 36 E) or DDM (115° 51.6′ E).

Ellipsoidal height h — not AHD or sea level.

Ellipsoid

A shape only — choosing one does not transform between datums or epochs.

More options

Printed with the result so the numbers never travel without their reference. It is a label only: nothing is transformed.

Enter the values and press Calculate.

Or load an example to see a worked result.

The point in its meridian plane
Not to scale — flattening exaggerated
The point in its meridian planeQuarter of the ellipse in the meridian plane with the polar axis, the equatorial axis, a surface point, its normal and its radius.Equator (p)Polar axis (Z)φθφ (geodetic)Surface: tan θ = (1 − e²) tan φ
The ellipsoid normal (geodetic φ) and the radius to the centre (geocentric θ) are different directions except at the equator and the poles.

Batch from CSV

One row per calculation, with a header row. Values use the units currently selected in the form above. Up to 10,000 rows; nothing is uploaded.

How the method works

A fixed worked example to explain the method — it is not your result.

A local displacement is rotated, then added to the origin
Illustrative method
A local displacement is rotated, then added to the originOblique sketch of the east, north and up axes at the origin with the displacement vector and its three components.E (east)N (north)U (up)OriginENUTarget = origin + R·[E, N, U]
East, north and up axes at the origin; the local displacement is rotated into ECEF and added to the origin.

Before you rely on this: First-pass guide only. Verify safety-critical or regulated work against the relevant standards, your project requirements and a qualified professional.

Tip: Enter any known values to calculate the remaining results.

Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.