This calculator estimates the historical magnetic declination for a given location and date, using the IGRF-13 model coefficients. You enter latitude, longitude, and a year between 1900 and 2025, and you get the declination (in degrees and minutes), plus the annual change rate. The result tells you how much a compass needle would have pointed east or west of true north at that time and place.
Formula
The magnetic declination D at a given point and time is computed from the International Geomagnetic Reference Field (IGRF) spherical harmonic model:
D = atan2(Y, X)
where X and Y are the north and east components of the magnetic field vector at the Earth’s surface. These components are derived from a sum of associated Legendre functions Pnm(cos θ) and the Gaussian coefficients gnm(t) and hnm(t) that vary slowly with time:
X = Σn=1N Σm=0n (a/r)n+2 [gnm cos(mφ) + hnm sin(mφ)] dPnm/dθ
Y = Σn=1N Σm=0n (a/r)n+2 [gnm sin(mφ) − hnm cos(mφ)] m Pnm(cos θ) / sin θ
Here θ is the colatitude (90° − latitude), φ is the longitude, a is the mean Earth radius (6371.2 km), r is the radial distance (assumed at sea level, r = a), and N = 13 for IGRF-13. The coefficients are updated every 5 years (epochs) and are linearly interpolated for years between epochs. The calculator uses the IGRF-13 coefficients provided by the International Association of Geomagnetism and Aeronomy (IAGA).
Worked Example
Using the default values: latitude = 51.5° N, longitude = −0.1° (London), year = 2000.
From IGRF-13, at that location and epoch 2000, the model gives X ≈ 18,900 nT and Y ≈ −400 nT. Then:
D = atan2(−400, 18900) ≈ −1.21° (negative means west).
The calculator rounds to 2 decimals, so the headline answer is −1.20°. The deg:min output converts −1.20° to −1°12′ (1 degree and 12 minutes west). The annual change rate from the model is about 0.15°/yr eastward. In practice, a compass in London in 2000 pointed about 1.2° west of true north.
Assumptions
- The location is at mean sea level (r = a). Elevation effects are negligible for declination.
- The model is IGRF-13, which is valid for the years 1900–2025. Outside this range, extrapolation is unreliable.
- The Earth’s magnetic field is assumed to be of internal origin; external (solar wind) contributions are ignored for declination.
- The secular variation (annual change) is assumed linear between epochs.
Why Historical Declination Matters
Magnetic declination changes over time because the Earth’s magnetic field is generated by moving molten iron in the outer core. The north magnetic pole drifts—sometimes by tens of kilometers per year—and the entire field pattern shifts. For anyone working with old maps, land surveys, nautical charts, or historical compass readings, knowing the declination at the time of the survey is essential. If you correct a 19th-century survey using today’s declination, you could misplace features by several degrees, which over a long distance (say 10 km) means an error of hundreds of meters.
For example, a surveyor in New York in 1900 would have recorded a declination of about 8° west. Today it is about 12° west. Using the modern value to interpret an old bearing would rotate all subsequent angles by 4°, which is enough to cause significant property line disputes.
How to Use the Calculator
- Enter the latitude in decimal degrees (positive for north, negative for south).
- Enter the longitude in decimal degrees (positive for east, negative for west).
- Enter the year (1900–2025). The calculator interpolates between the 5-year IGRF epochs.
- Read the declination in degrees (positive = east, negative = west) and the annual change rate.
The declination is the angle between true north and magnetic north. If it is positive (east), a compass needle points east of true north; to get a true bearing from a magnetic bearing, subtract the declination. If it is negative (west), add it. The annual change tells you how much the declination shifts each year; you can project forward or backward for a few years, but the model becomes less accurate beyond the 2025 epoch.
Common Mistakes and Limits
- Using the wrong sign convention: Some sources report declination as “west” or “east” with a number. Always check: positive in this calculator means east. If your source says “10°W”, enter −10.
- Confusing magnetic variation with grid convergence: Declination is relative to true (geographic) north, not grid north on a map projection. For UTM maps, you also need grid convergence, which is a separate correction.
- Ignoring the date: The field changes measurably even within a decade. Using a 2020 declination for a 1990 map is a common error.
- Extrapolating beyond the model: IGRF-13 is not reliable before 1900 or after 2025. For earlier dates, you would need historical models like gufm1 (1590–1890), which are not implemented here.
The IGRF model itself has an uncertainty of about 0.1°–0.2° in declination at any epoch, and larger near the poles. The annual change rate is an average; actual changes can be irregular.
Alternatives and Related Calculators
If you need declination for a current date, you could use the same model but with the current year. For historical work before 1900, you would need a different model (e.g., gufm1 for 1590–1890) which is not provided here. Some mapping software includes declination correction tools. For compass navigation, you can also use the World Magnetic Model (WMM), which is similar but optimized for the near term (2020–2025). The IGRF is the standard for scientific and historical use.
Frequently Asked Questions
Why does declination change over time? The Earth’s magnetic field is generated by electric currents in the liquid outer core. As the flow of molten iron changes, the field’s shape and intensity shift, causing the magnetic poles to move and the declination at any location to vary.
Can I use this calculator for a date before 1900? No, the IGRF-13 model is only valid from 1900 to 2025. For earlier periods, you would need a historical model like gufm1, which is not implemented here.
What is the difference between declination and magnetic variation? They are the same thing. In aviation and marine navigation, “variation” is the common term; in land surveying and geophysics, “declination” is used.
How accurate is the IGRF model? The IGRF-13 model has an estimated accuracy of about 0.1°–0.2° in declination for the main field at recent epochs. Near the magnetic poles, the accuracy is lower because the horizontal field is weak and small changes cause large angular shifts.
Do I need to adjust for elevation? For declination, elevation has a negligible effect (less than 0.01° even for high mountains). The model assumes sea level, which is fine for most purposes.
Why does the calculator show a negative declination for London? In London, the declination has been west (negative) for most of the 20th century. For example, in 2000 it was about −1.2°, meaning a compass needle pointed about 1.2° west of true north.
Related
Formula used
in lat | Latitude (degrees, -90 to 90) | ° | 51.5 | -90 | 90 in lon | Longitude (degrees, -180 to 180) | ° | -0.1 | -180 | 180 in yr | Year (1900-2025) | - | 2000 | 1900 | 2025 out dec | Declination (degrees, +east) | ° | -1.2 | 2 out dm | Declination (deg:min) | - | (dec
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 with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- How to Calculate Mole Fractions0.400
- GCN Sequence Number Lookup: How It Works33:48:34
- How to Calculate Mole Fraction of a Solution0.0089
- How to Determine Mole Fraction0.4000
- How to Get Mole Fraction: Formula & Step-by-Step0.2000 mol/L
- How to Solve for Enthalpy of Reaction-635.3 kJ/mol