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).1 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 are based on magnetic north, and that north keeps moving.3 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 to use degree 12, the resolution of the World Magnetic Model.1 Turn it on to use every degree the model carries, which is degree 13 for IGRF-14. With WMM2025 both settings give the same answer.
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 along the horizontal part of Earth's magnetic field, toward magnetic north. Magnetic declination (also called magnetic variation) is the angle between true north and the horizontal direction of the magnetic field at your spot, measured clockwise from true north.1 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).1
Why Declination Matters
Courses on aeronautical charts are measured from true north.2 Your compass does not use true north. If you ignore the difference, you drift off course. A 5° error grows into about 1 mile of drift for every 11 or 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 most aeronautical charts as broken magenta isogonic lines that connect points of equal variation.2 Runway numbers are based on magnetic headings, not true headings, so as the local variation drifts, a runway's magnetic heading slowly changes too.
How to Use the Number
- Magnetic to true: add east declination, subtract west declination.
- True to magnetic: subtract east declination, add west declination.2
- An old pilot memory trick: "East is least, West is best". Subtract east and add west when going from true to magnetic.2
Secular Variation: The Yearly Drift
Most of Earth's magnetic field is made by the liquid-iron outer core, and it changes from year to year.1 This slow change is called secular variation. The World Magnetic Model treats it as a straight-line change in each coefficient, which is why the model must be updated every five years.1 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 model for navigation used by the U.S. Department of Defense, the U.K. Ministry of Defence, NATO, and the International Hydrographic Organization, and it is also used widely in civilian navigation.1 It is updated every five years.1
- IGRF (International Geomagnetic Reference Field), a standard description of Earth's main field developed by the International Association of Geomagnetism and Aeronomy and used widely in research on Earth's interior, crust, ionosphere, and magnetosphere.6
Both models describe the field as a sum of spherical harmonic terms, wave-like patterns over the globe, with coefficients that change in a straight line over time.1 Adding them up rebuilds 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. At the magnetic poles the field lines are vertical, so a compass needle tries to point down and does not work well.1
- 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.1
- Total intensity (F) is the full strength of the field, which ranges from about 23,000 to 67,000 nanotesla at Earth's surface.1
Things That Can Throw a Compass Off
Declination is only the Earth-wide part of the error. Magnetic influences in your own vehicle, such as electrical circuits, radios, the engine, and magnetized metal parts, deflect the needle too. That extra error is called deviation.2 Near the magnetic poles, the World Magnetic Model marks Blackout Zones where its declination values are inaccurate and compasses cannot be trusted.1 The agonic line is the line where there is no variation.2 Along it, magnetic north and true north line up.