geoprimsField-grade geospatial math

Isogonic lines and compass zones

Lines of equal magnetic declination at a chosen interval over an area and date, the agonic line where declination is zero, and the WMM blackout and caution zone boundaries, from WMM2025 or IGRF-14.

4

4 isogonic lines, every 1°, from a 0.25° grid.

Interval
Grid step
Provenance
Computed by
geodesy.magnetic.isogonic 1.0.0, core 0.1.0
Model
WMM2025 main field on a 0.25° grid at sea level, contoured by marching squares
Accuracy
Each line point is the model's declination to within the grid's interpolation. Against an independent WMM2025 implementation, lines over a region were within 0.12° everywhere; on the whole globe half the points were within 0.02° and 95% within 0.21°, with the worst, beside the magnetic poles, 0.8° off. The model itself is good to about 0.5° at mid latitudes
Reference data
version WMM2025 (2024-11-13) of a reference dataset
Notes
None
Cites
NOAA National Centers for Environmental Information and British Geological Survey, The US/UK World Magnetic Model for 2025-2030: Technical Report; International Association of Geomagnetism and Aeronomy (IAGA), Working Group V-MOD, International Geomagnetic Reference Field: the fourteenth generation

Something look off?

Your values

Showing an example. Change anything.
More options 4
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: WMM2025 or IGRF-14 main field evaluated on a latitude-longitude grid at sea level, contoured by marching squares; declination is left out where the horizontal field is under 6,000 nT or declination is near ±180°

Accuracy: Each line point is the model's declination to within the grid's interpolation. Against an independent WMM2025 implementation, lines over a region were within 0.12° everywhere; on the whole globe half the points were within 0.02° and 95% within 0.21°, with the worst, beside the magnetic poles, 0.8° off. The model itself is good to about 0.5° at mid latitudes

When to use this: Use this to see how magnetic variation changes across a region: the isogonic lines on a sectional chart, the agonic line where a compass reads true, or where the compass blackout and caution zones begin. For the variation at one place, use the declination tool.

Limitations: The lines are contoured from a grid, so they are smooth where the field is and approximate between grid points; for one exact value use the declination tool. Lines stop where the horizontal field is weaker than 6,000 nT, inside the caution zone, because declination there is not a usable compass correction, and where declination nears ±180°, where it wraps. The zone boundaries are the WMM's own definitions. Heights are at sea level; the main field model leaves out local crustal anomalies.

Worked example: Colorado, every 1°, on 2026-09-18. Source: add-geodesy-suite isogonic overlay scenario; points on each line checked against the declination tool. It is golden test vector v007, and every build checks the tool still gives its answer within its tolerance.

You enter

Date
2026-09-18
East edge
-102 deg
Interval
1 deg
North edge
41 deg
South edge
37 deg
West edge
-109 deg

You get

Lines
4
Interval
1°
Grid step
0.25°

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Changes

Checked against: 20 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Constants this tool assumes

Values you do not enter, and where each comes from.

Geomagnetic reference radius
6371.2 km — World Magnetic Model
WGS 84 semi-major axis, for the geocentric latitude
6378.137 km — World Magnetic Model
WGS 84 flattening
1/298.257223563 — World Magnetic Model

Sources