NOAA Magnetic Variation Calculator: How It Works
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
The NOAA magnetic variation calculator (often called the magnetic declination calculator) is a free online tool that tells you the angle between true north and magnetic north at any location on Earth for a given date. You enter your latitude, longitude, and the date, and it returns the magnetic declination in degrees and minutes, along with the annual rate of change. This value is essential for converting between compass bearings and true bearings on maps, charts, and in navigation.
Formula
The calculator uses the World Magnetic Model (WMM), a mathematical model of Earth’s magnetic field maintained by NOAA and the British Geological Survey. The model is a set of spherical harmonic coefficients that describe the field’s strength and direction. The declination D is computed as:
D = atan2(Y, X)
where X and Y are the northward and eastward components of the magnetic field at the location and date, derived from the model coefficients. The result is positive east of true north and negative west of true north. The annual rate of change is the derivative of D with respect to time, also computed from the model.
Worked Example
Using the default inputs (New York City coordinates, January 1, 2025):
- Enter latitude 40.7128° N and longitude -74.0060° E (negative for west).
- Enter date 2025-01-01.
- The calculator queries the WMM coefficients for that location and date.
- It computes X and Y, then D = atan2(Y, X).
- The result is approximately -13.1° (13.1° west), with an annual change of about 0.1° eastward.
This means a compass bearing of 0° (north) corresponds to a true bearing of 13.1° east of north, or 346.9° true.
Why Magnetic Declination Matters
Magnetic declination is not constant—it varies by location and changes over time. In 2025, the declination in Seattle is about 15° east, while in New York it is about 13° west. Ignoring this can lead to navigation errors of many kilometers over long distances. For example, a 1° error over 100 km results in a lateral offset of about 1.75 km. The NOAA calculator helps pilots, hikers, surveyors, and mariners correct their compass readings to true bearings.
How to Use the NOAA Calculator
To get accurate results, you need:
- Latitude and longitude in decimal degrees (or degrees/minutes/seconds).
- Date—because the magnetic field changes over time.
- Altitude (optional) for high-altitude applications, though the effect is small.
The NOAA tool also provides a map interface where you can click to select a location. It outputs declination in degrees and minutes, and the annual change. For most uses, rounding to the nearest degree is sufficient, but for precision work, use the full value.
Common Mistakes and Misconceptions
A frequent error is confusing east and west declination. A positive declination means magnetic north is east of true north, so you subtract the declination from a magnetic bearing to get true. A negative declination means you add. Another misconception is that declination is the same as magnetic variation—they are the same thing. Also, the WMM is updated every five years; using an outdated model can introduce errors, especially near the poles.
Limitations and Alternatives
The NOAA calculator is based on the WMM, which is accurate to about 1° globally, but less accurate near the magnetic poles and in regions with strong local anomalies. For higher precision, you might use the International Geomagnetic Reference Field (IGRF), which is similar but slightly different. Other online calculators, such as those from the British Geological Survey, offer similar functionality. For offline use, you can download the WMM coefficients and compute declination with software.
Frequently Asked Questions
What is the difference between magnetic declination and magnetic variation?
They are the same thing. Magnetic variation is the term used in aviation and marine navigation, while magnetic declination is used in surveying and mapping. Both refer to the angle between true north and magnetic north.
Why does the NOAA calculator ask for a date?
Earth’s magnetic field changes over time due to movements in the molten outer core. The WMM is updated every five years to reflect these changes, so the date input ensures you get the correct declination for your specific time.
Can I use the calculator for any location on Earth?
Yes, the WMM covers the entire globe. However, accuracy decreases near the magnetic poles (within about 10° of the poles) and in regions with strong local magnetic anomalies, such as iron ore deposits.
How do I convert a magnetic bearing to a true bearing?
If the declination is east (positive), subtract it from the magnetic bearing. If it is west (negative), add it. For example, if your compass reads 90° and the declination is -13°, the true bearing is 90° + 13° = 103°.
Is the NOAA calculator the same as the one on this site?
This site provides a simplified version that uses the same WMM principles but may not include the full model. For official, up-to-date values, always use the NOAA National Centers for Environmental Information (NCEI) calculator directly.
What is the annual change and why is it important?
The annual change is the rate at which the declination is changing per year. It is important for updating maps and charts. For example, if the declination is -13° and the annual change is +0.1°, then in 10 years the declination will be about -12°.
Related
Formula used
in lat | Latitude (decimal degrees) | ° | 40.7128 | -90 in lon | Longitude (decimal degrees) | ° | -74.0060 | -180 in date | Date (YYYY-MM-DD) | - | 2025-01-01 | 0 out decl | Magnetic declination (degrees, east positive) | ° | 0.0 | 2 out rate | Annual change (degrees/year) | °/yr | 0.0 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.