geo-distance Verified Precision Tool
Lat Long Height to ECEF Converter
Convert WGS-84 latitude, longitude, and ellipsoidal height into 3D Earth-Centered, Earth-Fixed (ECEF) X, Y, Z Cartesian coordinates.
📍 Select World Location Presets or Custom Coordinates
WGS-84 EllipsoidPoint 1 Coordinates (Origin)
Point 2 Coordinates (Destination)
Calculated Geodetic Solution
X: 1334000.54m, Y: -4654052.13m, Z: 4138306.76m
X (Meters)1334000.54 m
Y (Meters)-4654052.13 m
Z (Meters)4138306.76 m
🗺️ Interactive Geographic Map & Geodesic Trajectory
Click anywhere on the map or drag pins to update coordinates live.
Map Data: © OpenStreetMap ContributorsWGS-84 Precision Geodesic Curve
Step-by-Step Mathematical Derivation
1. Given Input Coordinates:
- Lat: 40.7128°
- Lng: -74.006°
- Alt: 10m
2. Model & Ellipsoid Reference:WGS-84 / Earth Sphere R = 6,371 km
3. Governing Geodesic Formula:
X = (N+h)cos(φ)cos(λ), Y = (N+h)cos(φ)sin(λ), Z = (N(1-e²)+h)sin(φ)4. Variable Substitution:
N = WGS84_A / sqrt(1 - e²sin²φ)5. Interpretation & Practical Application:
Converted geographic position to 3D Cartesian Earth-Centered Earth-Fixed coordinates.
Mathematical Formula
X = (N+h)cos(φ)cos(λ), Y = (N+h)cos(φ)sin(λ), Z = (N(1-e²)+h)sin(φ)
Overview & Explanation
Transforms geographic spherical coordinates and altitude into 3D Cartesian space.
How It Works
- Evaluates prime vertical radius of curvature N and projects to X, Y, Z.
Practical Applications
- Satellite positioning.
- 3D spatial mechanics.
Worked Example: New York (40.7128°, -74.0060°)
Convert to ECEF.
1
Compute N and XYZ
N = 6,388,435m
= X = 1,333,999m, Y = -4,654,000m, Z = 4,138,000m
Frequently Asked Questions
Is altitude MSL or Ellipsoidal?
Standard ECEF calculations expect ellipsoidal height above the WGS-84 reference ellipsoid.
Related Calculators
geo-distance
ECEF to Lat Long Height Converter
Convert 3D Earth-Centered, Earth-Fixed (ECEF) Cartesian coordinates (X, Y, Z) to WGS-84 latitude, longitude, and ellipsoidal height.
Use Calculator
geo-distance
GPS Coordinate Converter
Convert GPS coordinates between Decimal Degrees (DD), Degrees Minutes Seconds (DMS), and Degrees Decimal Minutes (DDM).
Use Calculator
geo-distance
Decimal Degrees to DMS Converter
Convert decimal degree coordinates to Degrees, Minutes, and Seconds (DMS) format.
Use Calculator