ratio.

Find a tool

Browse all tools and categories ↗
WGS84 GEODETIC TO ECEF CONVERTER

WGS84 Geodetic to ECEF Converter

Convert geodetic latitude, longitude and ellipsoidal height to Earth-centered Earth-fixed Cartesian coordinates.

Enter your values

01 / INPUT
Calculated on your device

YOUR CALCULATION

Result

—

Calculation steps

Work through one step at a time or reveal the complete calculation. The steps use your current inputs.

    How to calculate

    Use the WGS84 reference ellipsoid a6378137 m and inverse flattening298.257223563.

    N=a/sqrt(1−e²sin²φ); X=(N+h)cosφcosλ; Y=(N+h)cosφsinλ; Z=(N(1−e²)+h)sinφ

    Worked example

    At latitude0,longitude0,height0 the ECEF coordinates are6378137,0,0 meters.

    Assumptions and input details

    Geodetic latitude differs from geocentric latitude. Height is relative to the ellipsoid, not mean sea level; no geoid, datum epoch, crustal motion, sensor corrections or surveying accuracy guarantee. Output frame is Earth-fixed, not inertial.

    References: NGA: WGS84 parameters

    Unit definitions

    Unit selection is independent of language. Each selector contains only units for its physical quantity. Calculations use defined base units internally.

    Choose from 23 length definitions, including explicitly labelled regional measures. Area conversions square the length factor; geometric volumes cube it.

    Regional measures are not interchangeable merely because their names look similar. This is a documented selection, not a claim to include every historical unit.

    NIST measurement tables · Japanese traditional units · Mainland China and Hong Kong unit distinctions

    Using this calculator

    Can I enter my own problem?

    Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.

    Are the results exact?

    Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.

    Is my input uploaded?

    The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.

    RELATED TOOL · COORDINATE NOTATIONGeographic Coordinate Format Converter

    Convert unsigned latitude/longitude magnitudes and hemispheres into signed decimal degrees, decimal minutes and DMS.

    RELATED TOOL · GEOMETRYCoordinate System Converter

    Convert Cartesian, polar, cylindrical and spherical coordinates. Choose degree/radian angles, length units and an explicit inclination or elevation convention.

    RELATED TOOL · GEOMETRYGreat-Circle Distance and Bearing Calculator

    Calculate the shortest surface distance and initial bearing between two latitude/longitude points on an entered spherical Earth model.

    ADVERTISEMENT

    Reserved advertising space.