Copied to clipboard
Free Online Developer & SEO Tools
Menu
Home Converter Tools 100+ AI Tools Contact
WGS84 Geodetic Engine · Runs Fully In Your Browser

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.

<0.0001″Typical Accuracy
0msServer Round-Trip
5Ellipsoid Models
100%Client-Side Privacy

Enter ECEF Coordinates

Meters
m
Enter a valid number.
m
Enter a valid number.
m
Enter a valid number.

Result

WGS84

Enter 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.

λ (longitude) = atan2(Y, X)
p = √( + )
θ = 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, 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.

Capabilities

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.

Process

How it works

Four steps from raw ECEF coordinates to a verified location on the map.

01

Enter X, Y, Z

Paste or type your ECEF coordinates in meters, or load a quick example to see the tool in action.

02

Choose your ellipsoid

WGS84 is selected by default. Switch to GRS80, Clarke 1866, or a custom datum if your project needs one.

03

Convert instantly

The iterative Bowring algorithm runs locally in your browser and resolves latitude, longitude, and altitude in milliseconds.

04

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.

FAQ

Frequently asked questions

ECEF stands for Earth-Centered, Earth-Fixed. It is a 3D Cartesian coordinate system with its origin at Earth's center of mass. The X axis points toward the prime meridian at the equator, the Y axis points 90° east of X at the equator, and the Z axis points toward the North Pole, all measured in meters.
Longitude comes directly from the arctangent of Y over X. Latitude and altitude require an iterative or closed-form geodetic algorithm, such as the Bowring method, because Earth is modeled as an ellipsoid rather than a sphere. This tool performs that calculation automatically using the WGS84 reference ellipsoid by default.
ECEF expresses a position as X, Y, Z distances in meters from Earth's center, which is useful for satellite tracking and 3D math. LLA (Latitude, Longitude, Altitude) expresses the same position in angular terms relative to the equator and prime meridian, plus height above the ellipsoid, which is easier for humans to read on a map.
By default this converter uses the WGS84 ellipsoid, the same model GPS relies on. You can also switch to GRS80, International 1924, Clarke 1866, or enter custom semi-major axis and flattening values for other geodetic datums.
No. The altitude calculated here is height above the reference ellipsoid, not height above mean sea level (orthometric height). The two differ by the geoid undulation at that location, which can range from roughly -107 to +85 meters depending on where you are on Earth.

Need more coordinate or developer tools?

Explore over 100 free conversion, SEO, and developer utilities — all running instantly in your browser, no signup required.