geoprimsField-grade geospatial math

Magnetic bearing to true bearing

Converts a compass or magnetic bearing to a true bearing by adding the magnetic variation, from a chart value or from the model for a place and date.

224°

The converted bearing is 224°, using 9° E of variation.

Variation used
Variation
Variation source
Provenance
Computed by
geodesy.magnetic.magnetic-to-true 1.0.0, core 0.1.0
Model
True = magnetic + variation, with easterly variation positive and westerly negative; the variation is the chart value entered, or the model declination for the place and date
Accuracy
Exact for the variation used. Charts, runways, and navaids use an assigned epoch variation that can differ from today's model value by a degree or more.
Notes
None
Cites
Federal Aviation Administration, Pilot's Handbook of Aeronautical Knowledge, FAA-H-8083-25C; NOAA National Centers for Environmental Information and British Geological Survey, The US/UK World Magnetic Model for 2025-2030: Technical Report; NOAA National Centers for Environmental Information and British Geological Survey, WMMHR2025 high-resolution geomagnetic model; 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: True = magnetic + variation, with easterly variation positive and westerly negative; the variation is the chart value entered, or the model declination for the place and date

Accuracy: Exact for the variation used. Charts, runways, and navaids use an assigned epoch variation that can differ from today's model value by a degree or more.

When to use this: Use this to plot a compass bearing on a map or chart drawn to true north: a bearing taken with a hand compass, a runway or radial given in magnetic, or a heading from a magnetic compass. Enter the magnetic bearing and the variation as printed on the chart, like 12°W. Or give the place and date, and the tool looks up the variation from the magnetic model.

Limitations: This applies variation only. A compass in a vehicle also has deviation from the vehicle's own magnetism, which comes from its deviation card and is not included. A chart's variation is dated and drifts by minutes of arc a year, so an old chart can be off. Near the magnetic poles the horizontal field is weak and a compass is unreliable whatever the arithmetic says.

Worked example: A compass bearing of 215° with 9°E variation. Source: Add easterly variation: 215° magnetic is 224° true. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Bearing
215 deg
Chart variation
9°E

You get

Converted bearing
224°
Variation used
9°
Variation
9° E
Variation source
chart

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.

Checked against: 22 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

Terms

WGS: World Geodetic System
The US Department of Defense global reference frame and ellipsoid that GPS uses; the current version is WGS 84. Source: Department of Defense World Geodetic System 1984