Earth Magnetic Field Declination Estimator

Estimate magnetic declination at any site using a simplified dipole-approximation bearing to the geomagnetic north pole.

🧭 Earth Magnetic Field Declination Estimator
Site latitude (φ)40.7128°
°
-9090
Site longitude (λ, +East)-74.0060°
°
-180180
Geomagnetic pole latitude (φp, advanced)
°
Geomagnetic pole longitude (λp, advanced)
°
Estimated declination (D)
—
Caveat
—
Step-by-step working

🧭 What is Magnetic Declination?

Magnetic declination is the angle between true (geographic) north and the direction a compass needle points (magnetic north) at a given location on Earth's surface. It is positive when magnetic north lies east of true north and negative when it lies west, and its value changes both from place to place and slowly over time as Earth's magnetic field evolves.

Navigators, surveyors, and orienteers use declination to convert between compass (magnetic) bearings and true bearings on a map. Pilots and mariners rely on official declination values to correctly interpret compass headings against charted courses. Geophysics students use simplified dipole models like the one on this page as a first introduction to how Earth's magnetic field is approximated before studying the full, much more complex spherical-harmonic models used in operational navigation. Solar panel installers and satellite dish technicians sometimes need approximate declination to align equipment relative to true south or true north rather than magnetic readings.

A common point of confusion is treating the geomagnetic pole and the north magnetic pole as the same thing. The geomagnetic pole is the point where the axis of Earth's best-fit dipole approximation intersects the surface, and it drifts slowly and fairly predictably. The north magnetic pole is where the real, non-dipole magnetic field actually points straight down, and in recent decades it has moved considerably faster and less predictably, currently tracking toward Siberia. This calculator uses the more stable geomagnetic pole location.

This calculator computes the leading-order dipole approximation to magnetic declination, the initial great-circle bearing from a site to the geomagnetic north pole, the model traditionally taught before higher-order harmonics are introduced. It is useful for building intuition about how declination varies with location, but it is not a substitute for an authoritative real-world magnetic model, a caveat repeated throughout this page because the dipole estimate can diverge substantially from reality in some regions.

📐 Formula

D = atan2( sin(Δλ)cos(φp),   cos(φ)sin(φp) − sin(φ)cos(φp)cos(Δλ) )
φ, λ = site latitude and longitude (degrees, λ positive East)
φp, λp = geomagnetic north pole latitude and longitude (degrees), default 80.7°N, 72.7°W
Δλ = λp − λ
D = declination (degrees), positive = East, negative = West
Example: a site near Sydney, Australia (φ = -33.87°, λ = 151.21°) with the default pole gives D ≈ 8.45° East, this dipole estimate lands reasonably close to Sydney's real-world declination of roughly 12.5° East.

Why this matters, read before trusting a real-world reading: this dipole approximation is a simplified, first-order model. Earth's real magnetic field has substantial non-dipole components, so the actual declination at a given site can differ from this estimate by 10 to 20 degrees or more, particularly across North America. For any real-world navigation, surveying, or engineering decision, use NOAA's official World Magnetic Model (WMM) calculator instead of this educational estimator.

📖 How to Use This Calculator

Steps

1
Enter the site's latitude and longitude. Type the geographic latitude and longitude of the site in decimal degrees, longitude positive East.
2
Optionally adjust the geomagnetic pole coordinates. The geomagnetic pole latitude and longitude default to their current approximate position, override them to experiment with the model.
3
Read the estimated declination. The calculator reports the dipole-model declination in degrees, labeled East or West, along with a reminder that this is a simplified estimate.

💡 Example Calculations

Example 1 — New York, USA (Large Dipole-Model Divergence)

φ = 40.7128°, λ = -74.0060°, default pole (80.7°N, 72.7°W)

1
Δλ = -72.7 − (-74.0060) = 1.31°
2
D = atan2( sin(1.31°)cos(80.7°), cos(40.71°)sin(80.7°) − sin(40.71°)cos(80.7°)cos(1.31°) )
D = 0.33° East (dipole estimate). This is a strong illustration of the caveat above: New York's real-world WMM declination is roughly 13° West, a divergence of over 13 degrees from this simplified dipole model, exactly the kind of gap this page warns about.
Try this example →

Example 2 — Sydney, Australia (Reasonably Close Estimate)

φ = -33.8688°, λ = 151.2093°, default pole (80.7°N, 72.7°W)

1
Δλ = -72.7 − 151.2093 = -223.91° (equivalent to 136.09°)
2
D = atan2( sin(Δλ)cos(80.7°), cos(-33.87°)sin(80.7°) − sin(-33.87°)cos(80.7°)cos(Δλ) )
D = 8.45° East (dipole estimate), reasonably close to Sydney's real-world WMM declination of roughly 12.5° East, a case where this simplified model performs relatively well.
Try this example →

Example 3 — Reykjavik, Iceland (High Latitude, Large Magnitude)

φ = 64.1466°, λ = -21.9426°, default pole (80.7°N, 72.7°W)

1
Δλ = -72.7 − (-21.9426) = -50.76°
2
D = atan2( sin(-50.76°)cos(80.7°), cos(64.15°)sin(80.7°) − sin(64.15°)cos(80.7°)cos(-50.76°) )
D = -20.30°, i.e. 20.30° West (dipole estimate). Declination changes quickly with position near the geomagnetic pole, so both this dipole model and the real field show large magnitude values here, though not necessarily the same magnitude as each other.
Try this example →

❓ Frequently Asked Questions

What is magnetic declination?+
Magnetic declination is the angle between true (geographic) north and magnetic north as indicated by a compass at a given location. It's positive when magnetic north is east of true north and negative when it's west, and it varies by location and slowly over time.
What formula does this calculator use?+
It computes the dipole-approximation great-circle bearing from a site to the geomagnetic north pole using D = atan2(sin(dLambda)cos(phi_p), cos(phi)sin(phi_p) - sin(phi)cos(phi_p)cos(dLambda)), where phi and lambda are the site's latitude and longitude, phi_p and lambda_p are the geomagnetic pole's coordinates, and dLambda is the pole's longitude minus the site's longitude.
Is this calculator's result the same as my real compass declination?+
No, and this is an important caveat. This is a simplified educational dipole model. Earth's real magnetic field has substantial non-dipole components, so actual declination can differ from this estimate by 10 to 20 degrees or more in some regions, particularly North America. Always use NOAA's World Magnetic Model (WMM) for real-world accuracy.
Where does the default geomagnetic pole location come from?+
The default, 80.7 degrees North, 72.7 degrees West, is an approximate current location of the geomagnetic north pole (the best-fit dipole axis), which drifts slowly and is much more stable than the faster-moving north magnetic pole. You can override both pole coordinate fields to experiment.
What's the difference between the geomagnetic pole and the magnetic north pole?+
The geomagnetic pole is where the axis of Earth's best-fit dipole model intersects the surface, and it drifts slowly and fairly predictably. The north magnetic pole is where the real, non-dipole magnetic field points straight down, and it has moved considerably faster and less predictably in recent decades, currently tracking toward Siberia.
Why does this calculator let me change the pole coordinates?+
Making the geomagnetic pole position an editable, visible input rather than a hidden constant lets you see directly how sensitive the dipole-model declination is to the assumed pole location, and keeps the model's key simplifying assumption transparent rather than buried.
Why is declination positive in some places and negative in others?+
Sign depends on whether the great-circle bearing to the geomagnetic pole points slightly east or west of true north from a given site, which flips depending on the site's longitude relative to the pole's longitude and how far the site is from the pole.
What is the World Magnetic Model (WMM)?+
The WMM is the official, regularly updated spherical-harmonic model of Earth's magnetic field jointly produced by NOAA and the British Geological Survey, and it is the authoritative source for real declination values used in aviation, navigation, and surveying, unlike the simplified dipole approximation used by this calculator.
Does magnetic declination change over time?+
Yes, both the geomagnetic pole and the real magnetic field drift over years and decades due to changes in Earth's core dynamics, so declination at a fixed location slowly changes too. Official models like the WMM are updated every five years to track this secular variation.
How do I use declination to convert a compass bearing to true north?+
Add easterly (positive) declination to a magnetic bearing to get true bearing, or subtract westerly (negative) declination. For example, with +10 degrees declination, a compass reading of 90 degrees magnetic corresponds to 100 degrees true.

What is magnetic declination?

Magnetic declination is the angle between true (geographic) north and magnetic north as indicated by a compass at a given location. It's positive when magnetic north is east of true north and negative when it's west, and it varies by location and slowly over time.

What formula does this calculator use?

It computes the dipole-approximation great-circle bearing from a site to the geomagnetic north pole using D = atan2(sin(dLambda)cos(phi_p), cos(phi)sin(phi_p) - sin(phi)cos(phi_p)cos(dLambda)), where phi and lambda are the site's latitude and longitude, phi_p and lambda_p are the geomagnetic pole's coordinates, and dLambda is the pole's longitude minus the site's longitude.

Is this calculator's result the same as my real compass declination?

No, and this is an important caveat. This is a simplified educational dipole model. Earth's real magnetic field has substantial non-dipole components, so actual declination can differ from this estimate by 10 to 20 degrees or more in some regions, particularly North America. Always use NOAA's World Magnetic Model (WMM) for real-world accuracy.

Where does the default geomagnetic pole location come from?

The default, 80.7 degrees North, 72.7 degrees West, is an approximate current location of the geomagnetic north pole (the best-fit dipole axis), which drifts slowly and is much more stable than the faster-moving north magnetic pole. You can override both pole coordinate fields to experiment.

What's the difference between the geomagnetic pole and the magnetic north pole?

The geomagnetic pole is where the axis of Earth's best-fit dipole model intersects the surface, and it drifts slowly and fairly predictably. The north magnetic pole is where the real, non-dipole magnetic field points straight down, and it has moved considerably faster and less predictably in recent decades, currently tracking toward Siberia.

Why does this calculator let me change the pole coordinates?

Making the geomagnetic pole position an editable, visible input rather than a hidden constant lets you see directly how sensitive the dipole-model declination is to the assumed pole location, and keeps the model's key simplifying assumption transparent rather than buried.

Why is declination positive in some places and negative in others?

Sign depends on whether the great-circle bearing to the geomagnetic pole points slightly east or west of true north from a given site, which flips depending on the site's longitude relative to the pole's longitude and how far the site is from the pole.

What is the World Magnetic Model (WMM)?

The WMM is the official, regularly updated spherical-harmonic model of Earth's magnetic field jointly produced by NOAA and the British Geological Survey, and it is the authoritative source for real declination values used in aviation, navigation, and surveying, unlike the simplified dipole approximation used by this calculator.

Does magnetic declination change over time?

Yes, both the geomagnetic pole and the real magnetic field drift over years and decades due to changes in Earth's core dynamics, so declination at a fixed location slowly changes too. Official models like the WMM are updated every five years to track this secular variation.

How do I use declination to convert a compass bearing to true north?

Add easterly (positive) declination to a magnetic bearing to get true bearing, or subtract westerly (negative) declination. For example, with +10 degrees declination, a compass reading of 90 degrees magnetic corresponds to 100 degrees true.