Every latitude and longitude only makes sense relative to a model of the Earth. WGS84 (World Geodetic System 1984) is the model used by GPS, by phones, by web maps and by almost every coordinate you will find online, including all the tools on this site. When you see 40.712776, -74.005974 for New York City Hall, that pair is a WGS84 position.
This guide explains what WGS84 defines, the difference between a datum, an ellipsoid and the geoid, and why a coordinate from an older map can land in the wrong place.
The WGS84 ellipsoid
The Earth is not a perfect sphere. Its rotation makes it bulge at the equator and flatten at the poles. Geodesists approximate it with an ellipsoid (an oblate spheroid): an ellipse spun around the polar axis.
The WGS84 ellipsoid is defined by two numbers:
| Parameter | Value |
|---|---|
| Semi-major axis a (equatorial radius) | 6,378,137 m |
| Inverse flattening 1/f | 298.257223563 |
| Semi-minor axis b (polar radius, derived) | about 6,356,752 m |
The polar radius is therefore about 21 km shorter than the equatorial radius. Our distance calculator uses this ellipsoid for its most accurate (Vincenty) results, and the same parameters underlie the UTM converter.
Datum, ellipsoid and geoid: what is the difference?
These three words are often mixed up. They describe different things:
- Ellipsoid: a smooth mathematical shape with a given size and flattening. It has no position on its own.
- Datum: an ellipsoid plus a definition of where it sits and how it is oriented relative to the real Earth (its centre, axes and reference points). Latitude and longitude are measured on a datum. WGS84 is both the name of the datum and the name of its ellipsoid.
- Geoid: the irregular surface that mean sea level would follow if the oceans extended under the continents, shaped by local variations in gravity. It rises and falls relative to the ellipsoid by up to roughly 100 m in either direction around the world.
In short: the ellipsoid is the simple shape used for horizontal positions, and the geoid is the lumpy surface used for "height above sea level".
Why GPS uses WGS84
WGS84 is an Earth-centred datum: its origin is placed at the Earth's centre of mass. That makes it suitable for satellites, which orbit around that centre, and for the whole planet rather than one region. The GPS system broadcasts satellite orbits in WGS84, so every GPS receiver computes WGS84 positions first. WGS84 has been refined several times since 1984 to keep it aligned with the latest international reference frame; for everyday use these updates are invisible.
Why coordinates on other datums differ
Before satellites, most countries built their own regional datums, each with an ellipsoid chosen to fit their territory and anchored to a survey point on the ground. Examples include:
- NAD27 (North American Datum 1927), used on older US and Canadian maps;
- ED50 (European Datum 1950), used on older maps in much of Europe;
- OSGB36, the datum of the traditional Ordnance Survey National Grid in Great Britain.
Because these datums use different ellipsoids and different centres, the same latitude and longitude numbers point to slightly different places on the ground. Depending on the datum and the region, the difference can be from a few metres to tens or even a few hundred metres. Modern regional datums such as NAD83 in North America and ETRS89 in Europe were designed to stay close to WGS84; for most non-survey uses they agree to within a metre or so, though the gap grows slowly over time with plate motion.
If you copy coordinates from an old map, a land record or a legacy GPS setting, check the datum note first. Converting between datums requires a proper transformation; simply relabelling the numbers is not enough.
Ellipsoidal height vs height above sea level
A GPS receiver natively measures ellipsoidal height: the height above the WGS84 ellipsoid. People normally want orthometric height, the height above mean sea level (the geoid). The two are related by:
height above sea level ≈ ellipsoidal height − geoid height
where the geoid height (also called geoid undulation) is the distance from the ellipsoid up to the geoid at that place. Because the geoid can be tens of metres above or below the ellipsoid, an unconverted GPS height can be off by the same amount. Most phones and GPS units apply a built-in geoid model, but not all apps show which height they display.
Our elevation tool reports height above sea level from a terrain model, not GPS height. For a practical walk-through, see how to find the elevation of your house.
WGS84 (EPSG:4326) vs Web Mercator (EPSG:3857)
GIS software identifies coordinate systems with EPSG codes. Two you will meet often:
| EPSG:4326 | EPSG:3857 | |
|---|---|---|
| Name | WGS84 geographic | WGS84 / Pseudo-Mercator ("Web Mercator") |
| Units | Degrees of latitude and longitude | Metres on a flat map (x, y) |
| Typical use | GPS, data exchange, coordinates you type or share | Tiles of online maps such as Google Maps and OpenStreetMap |
| Coverage | Whole globe | About 85° S to 85° N; the poles are cut off |
Web Mercator takes WGS84 latitude and longitude and projects them as if the Earth were a sphere, which is fast for drawing map tiles but distorts areas strongly toward the poles. That is why Greenland looks so large on web maps. The coordinates shown to you, and those you type into a search box, remain WGS84 degrees. Do not paste EPSG:3857 metre values into a latitude/longitude field, or the other way round.
Distances and areas should never be measured directly on Web Mercator. The distance tools on this site compute on the WGS84 ellipsoid instead, and the area calculator uses a sphere with the same surface area as that ellipsoid.
Common mistakes
- Assuming all coordinates are WGS84. Old maps, deeds and survey files may use a local datum.
- Treating GPS altitude as sea-level height without checking whether a geoid correction was applied.
- Confusing EPSG:4326 with EPSG:3857. Degrees and metres are not interchangeable.
- Swapping axis order. Most people and tools write latitude first, but some formats, such as GeoJSON, list longitude first. See latitude vs longitude.