ECEF to Latitude Longitude Converter
Convert ECEF (Earth-Centered, Earth-Fixed) X, Y, Z coordinates into precise Latitude, Longitude, and Altitude using the WGS84 ellipsoid, or your own custom geodetic datum. Built for GPS, GNSS, satellite tracking, and surveying workflows.
Enter ECEF Coordinates
MetersResult
WGS84Enter X, Y, Z coordinates and click Convert to see latitude, longitude, and altitude here.
How the ECEF → LLA calculation works
This tool first computes longitude directly, then uses an iterative geodetic method (Bowring's formula, refined with a short Newton-style correction loop) to resolve latitude and ellipsoidal height, since the Earth is modeled as an oblate ellipsoid rather than a perfect sphere.
p = √(X² + Y²)
θ = atan2(Z·a, p·b) // initial parametric latitude guess
φ (latitude) = atan2(Z + e′²·b·sin³θ, p − e²·a·cos³θ)
N = a / √(1 − e²·sin²φ)
h (altitude) = p / cos φ − N
Where a is the ellipsoid's semi-major axis, e² is its first eccentricity squared, and e′² is the second eccentricity squared. The latitude step repeats a few times until it converges to better than 1×10⁻¹⁵ radians, which is far beyond GPS-grade precision.
What Is ECEF and Why Convert It to Latitude, Longitude, and Altitude?
ECEF coordinates describe a point on or above Earth as a single X, Y, Z value measured in meters from the planet's center of mass, with the axes locked to the Earth itself so they rotate along with it. GPS satellites, GNSS receivers, and orbital mechanics software all compute and exchange positions this way because the math behind satellite geometry, velocity vectors, and line-of-sight calculations is far cleaner in a Cartesian frame than in angular terms. The catch is that almost nobody thinks about location in meters from the planet's core. We think in latitude, longitude, and altitude, the same way a pilot, hiker, or mapping engineer reads a coordinate off a chart or a phone screen.
Converting ECEF to LLA is not as simple as basic trigonometry because Earth is not a sphere, it is an oblate ellipsoid that bulges slightly at the equator and flattens at the poles. Longitude is easy since it only depends on the X and Y components, but latitude and altitude both depend on each other, which is why this tool uses an iterative approach rather than a single direct formula. Engineers building flight software, marine navigation systems, drone autopilots, or geospatial pipelines run into this conversion constantly whenever raw satellite or sensor data needs to be displayed on a human-readable map.
A typical example: an ECEF point near (3980609, -97, 4966860) meters resolves to a latitude and longitude sitting just outside London at roughly 45 meters above the WGS84 ellipsoid. Try entering that into the calculator above, switch the ellipsoid to GRS80 or a custom datum, and watch how the resulting latitude and longitude shift by a tiny but measurable amount, which is exactly why specifying the correct reference ellipsoid matters in professional GIS and survey work. Whether you are validating GPS telemetry, debugging a satellite tracking feed, or just curious how the math behind your phone's blue dot actually works, this converter handles the full calculation instantly in your browser with no data ever leaving your device.
Built for accuracy and real workflows
Every feature here exists because real GPS, GIS, and aerospace use cases need it.
Multiple ellipsoid models
Switch between WGS84, GRS80, International 1924, Clarke 1866, or enter your own semi-major axis and flattening for a custom datum.
Map link generation
Instantly open the converted result in Google Maps or OpenStreetMap with one click to visually confirm the location.
Decimal and DMS output
View results as decimal degrees or classic degrees-minutes-seconds, both copyable with a single click.
Real-time input validation
Each coordinate field is checked as you type, with clear inline messages if a value is missing, non-numeric, or out of a physically plausible range.
100% client-side processing
Every calculation runs locally in your browser using JavaScript. Your coordinates are never transmitted to any server.
Adjustable precision
Choose between 4 and 10 decimal places of output precision depending on whether you need a quick estimate or survey-grade detail.
How it works
Four steps from raw ECEF coordinates to a verified location on the map.
Enter X, Y, Z
Paste or type your ECEF coordinates in meters, or load a quick example to see the tool in action.
Choose your ellipsoid
WGS84 is selected by default. Switch to GRS80, Clarke 1866, or a custom datum if your project needs one.
Convert instantly
The iterative Bowring algorithm runs locally in your browser and resolves latitude, longitude, and altitude in milliseconds.
Copy or verify on a map
Copy any value with one click, or open the exact result directly in Google Maps or OpenStreetMap to confirm it visually.
Frequently asked questions
Need more coordinate or developer tools?
Explore over 100 free conversion, SEO, and developer utilities — all running instantly in your browser, no signup required.