Lat/Long/Height to ECEF Converter
Converts geodetic latitude, longitude and height to ECEF geocentric XYZ coordinates on WGS84.
Enter Values
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.
How to use this calculator
- Enter latitude, longitude and ellipsoidal height.
- Press Convert.
- Read the ECEF X, Y and Z coordinates.
How it works
Converts geodetic WGS84 coordinates to Earth-Centred, Earth-Fixed (ECEF) Cartesian X/Y/Z — used in GNSS and 3D geodetic calculations.
Worked example
Point at 50 m height. Returns its X, Y, Z in metres from the Earth's centre.
Frequently asked questions
What is ECEF used for?
Satellite positioning (GNSS), coordinate transformations and 3D vector maths use ECEF Cartesian coordinates.
Related tools
- ECEF X/Y/Z to Lat/Long/Height Converter
- ENU (East/North/Up) to ECEF Converter
- Lat/Long to UTM Converter (WGS84)
- UTM to Lat/Long Converter
- Vincenty Ellipsoidal Distance Calculator
- Geocentric vs Geodetic Latitude Converter
Explore more in Surveying, Coordinates, GIS & CAD.
Cite this tool
Zerdly. (2026). Lat/Long/Height to ECEF Converter. Retrieved from https://www.zerdly.com/tools/lat-long-height-to-ecef-converter/
Length conversion table
How much one of each unit equals in the others — read each row as “1 [row unit] = …”. All values are exact conversions.
| 1 unit = | mm | cm | m | km | in | ft | yd | mi |
|---|---|---|---|---|---|---|---|---|
| 1 mm | 1 | 0.1 | 0.001 | 0.000001 | 0.03937 | 0.003281 | 0.001094 | 0.000001 |
| 1 cm | 10 | 1 | 0.01 | 0.00001 | 0.393701 | 0.032808 | 0.010936 | 0.000006 |
| 1 m | 1,000 | 100 | 1 | 0.001 | 39.370079 | 3.28084 | 1.093613 | 0.000621 |
| 1 km | 1,000,000 | 100,000 | 1,000 | 1 | 39,370.07874 | 3,280.839895 | 1,093.613298 | 0.621371 |
| 1 in | 25.4 | 2.54 | 0.0254 | 0.000025 | 1 | 0.083333 | 0.027778 | 0.000016 |
| 1 ft | 304.8 | 30.48 | 0.3048 | 0.000305 | 12 | 1 | 0.333333 | 0.000189 |
| 1 yd | 914.4 | 91.44 | 0.9144 | 0.000914 | 36 | 3 | 1 | 0.000568 |
| 1 mi | 1,609,344 | 160,934.4 | 1,609.344 | 1.609344 | 63,360 | 5,280 | 1,760 | 1 |
Tip: Enter any known values to calculate the remaining results.
All calculations run in your browser. Your inputs are never saved or transmitted.



