Introduction
A compass does not point to true north. It points to magnetic north, which sits in a different spot. The gap between them is called magnetic declination (pilots often call it magnetic variation). This calculator tells you that gap for any place on Earth.
Pick your spot in one of three ways: search for a city, type in latitude and longitude, or just click the map. Then choose a date. The tool uses the World Magnetic Model (WMM2025) or IGRF-14 to work out the answer.
You get the declination in degrees, minutes and seconds, or NATO mils. You also get the full magnetic field: inclination (dip), horizontal and vertical strength, and total strength. A compass rose shows the offset, and a chart shows how it will drift over the next few years.
This matters for flying, sailing, hiking, surveying, and setting up antennas. Runway numbers and chart headings are based on magnetic north, and that north keeps moving. If you know the declination, you can turn a magnetic bearing into a true bearing, or the other way around. The step-by-step math is shown too, so you can check the work or learn how it is done.
How to use our Magnetic Declination Calculator
Give the tool a spot on Earth and a date. It shows you the magnetic declination there (how far a compass needle points away from true north), plus the full magnetic field values, a compass picture, a drift chart, and the math steps.
City / Place Search tab: Type a city, town, or landmark name, then press Search & Place. The tool finds the spot and fills in the coordinates for you.
Country: Pick a country to keep the search inside it. Leave it on "Any country" to search the whole world.
U.S. state / territory: This box shows up only when you choose the United States. Pick a state to narrow the search even more.
Manual Coordinates tab: Use this if you already know the exact spot, like an airport or a waypoint.
Coordinate system: Choose Geodetic (WGS84) for normal maps, charts, and GPS. Choose Geocentric only if you are measuring distance from the center of the Earth.
Latitude: Type how far north or south the spot is. You can write 40.7486, 40°44'55"N, or 40 44 55 N. North is positive, south is negative.
Longitude: Type how far east or west the spot is. You can write -73.9864, 73°59'11"W, or 73 59 11 W. East is positive, west is negative.
Altitude (or Radius): Type your height above the ellipsoid. Use 0 for ground level, or your cruise altitude for flying. Pick the unit next to it: km, m, ft, mi, or nmi.
Interactive Map: Click or tap the map to drop the marker, or drag it. You can also focus the map and use the arrow keys, then press Enter.
Date format: Pick Calendar date to use a normal YYYY-MM-DD date, or Decimal year to type something like 2026.5.
Date (or Decimal year): Enter the day you need the declination for. Stay between 2025 and 2030, or the answer gets less accurate.
Geomagnetic model: Keep WMM2025 for flying, sailing, and charts. Pick IGRF-14 for science and research work.
Model resolution: Leave the switch off for standard resolution, which matches aviation and marine charts. Turn it on for extra detail used in technical work.
Display declination as: After you calculate, choose decimal degrees, degrees/minutes/seconds, or NATO mils to match your charts or gear.
Field intensity unit: Pick nT, µT, mG, or G for the magnetic field strength shown in the components table.
Calculate and Reset: Press Calculate to see your results. Press Reset to clear everything and start over. You can then download the results as JSON or CSV, or copy them to your clipboard.
What Is Magnetic Declination?
A compass needle does not point to true north. It points to magnetic north, which is a spot that moves a little each year. Magnetic declination (also called magnetic variation) is the angle between true north and magnetic north at your exact spot on Earth. If the needle points to the right of true north, the declination is east (a plus number). If it points to the left, it is west (a minus number).
Why Declination Matters
Every map, chart, and GPS route uses true north. Your compass does not. If you ignore the difference, you drift off course. A 5° error grows into about 1 mile of drift for every 12 miles you travel. Pilots, sailors, hikers, and surveyors all correct for it.
In aviation the same angle is called variation. It is printed on aeronautical charts as dashed isogonic lines, and it is why runway numbers are based on magnetic headings, not true headings. Airports repaint and renumber runways when the local variation drifts far enough. Air traffic control headings are magnetic too.
How to Use the Number
- Magnetic to true: add east declination, subtract west declination.
- True to magnetic: subtract east declination, add west declination.
- An old pilot memory trick: "East is least, West is best". Subtract east and add west when going from true to magnetic.
Secular Variation: The Yearly Drift
Earth's magnetic field is made by moving liquid iron in the core, so it slowly changes. This slow change is called secular variation. Declination can shift by a few arcminutes each year in most places. That is why an old chart can be wrong today, and why you should always use a current date when you check declination.
The Models Behind the Numbers
Declination is not measured at every point on Earth. It is calculated from a math model of the whole field:
- WMM (World Magnetic Model), built by NOAA and the British Geological Survey. It is the standard for aviation, marine, and military navigation, and it is updated every five years.
- IGRF (International Geomagnetic Reference Field), made by scientists worldwide and mostly used for research.
Both models use a method called spherical harmonic synthesis, which adds up many wave-like terms to rebuild the field at any latitude, longitude, altitude, and date.
Other Field Values You Will See
- Inclination (I) is how steeply the field dips into the ground. Near the poles it is almost straight down, which makes compasses sluggish and unreliable.
- Horizontal intensity (H) is the sideways pull that actually turns a compass needle. Low H means a weak, slow needle.
- X, Y, Z are the north, east, and downward parts of the field.
- Total intensity (F) is the full strength of the field, usually 25,000 to 65,000 nanotesla.
Things That Can Throw a Compass Off
Declination is only the Earth-wide part of the error. Local iron rock, power lines, car engines, aircraft metal, and electronics cause extra error called deviation. Near the magnetic poles, declination changes fast over short distances and a compass may be nearly useless. The agonic line is the path where declination is exactly zero. Along it, magnetic north and true north line up.