Compass, magnetic and true course calculator

Calculates true, magnetic and compass direction (course, bearing) by a given direction, magnetic declination and deviation.

The arrow of a magnetic compass always points north. This feature of a compass needle was noticed in the XII century, after which people began to use a compass for orientation, especially at sea. This device is quite simple. However, if you draw a direct line from the point of origin to the point of destination and without deviating a single degree follow the plotted course, you will hardly reach your desired destination, especially if the distance is big.
There are two factors that influence your course (compass course) from the course you drew on a map (true course):

  • Compass readings deviations – magnetic deviation
  • Discrepancy of magnetic and true poles – magnetic declination

To calculate the compass course by the true course, or vice versa, you should set the values of the magnetic declination for a given location and your compass deviation in the corresponding fields of the calculator. The default values calculate the compass course for the transition from the city of Cadiz (Spain) to Cape St. Vincent (Portugal). For the calculation, I've determined the true course by using this calculator Course angle and the distance between the two points on loxodrome (rhumb line)., where I input the coordinates from Google Maps. The magnetic declination was obtained with a nautical chart of the Western Mediterranean Sea.
Detailed explanations can be found below.

PLANETCALC, Magnetic compass navigation.

Magnetic compass navigation.

Magnetic declination changes over time, here you should specify the year for which the magnetic declination was determined
Value of the yearly magnetic declination change
Date of calculation
Values of magnetic compass deviation with equal intervals for every course from 0 to 360 degrees.
Digits after the decimal point: 2
Compass direction
Magnetic direction
True direction
The file is very large. Browser slowdown may occur during loading and creation.

Magnetic deviation

Those who read Jules Verne will remember that the cook Negoro had sinister plans for the ship Pilgrim and its 15-year-old captain and deliberately set them off course by place an axe under the compass binnacle. There are a lot of things on a ship that can affect a magnetic compass. To eliminate this effect, there are deviation charts for each compass that show the deviation for various courses. Over time, the deviation may be changed due to the installation of new equipment or the magnetization of the old iron parts, so tables are regularly updated. Using the value of the deviation table, it is possible to bring the compass course to the magnetic course. To do so, the deviation value for this compass course is added to the compass course if it's deviating east, or subtracted if it's deviating west.

Magnetic declination

Magnetic variation on a nautical chart
Magnetic variation on a nautical chart

Magnetic declination does not depend on the equipment of the vessel, but on its location, and also varies with time as does the deviation, but more predictably. The magnetic declination is indicated on the map, with the obligatory indication of the measurement year and the average annual change. To switch to the real course, we first obtain the magnetic course and then add the magnetic declination to the east or subtract the one to the west. Then the average annual change of the magnetic declination is taken into account (it's multiplied by the number of years and then added or subtracted).

How to remember how to correct or convert compass points

The process of switching between a compass and the true course is called rhumb correction, and the back process is called rhumb conversion.
There is a simple rule that you can find in English navigation literature that allows you to remember a single word: CadET
It stands for C(ompass), ad(d), E(asterly error), T(rue). The back conversion is similar but instead of adding eastern corrections we subtract them.


  • V.S. Mikhailov, V.G. Kudriavtsev, V.S. Davidov Navigation and sailing directions
  • Tim Bartlett An Introduction to Navigation. RYA.
URL copiado para a área de transferência
PLANETCALC, Compass, magnetic and true course calculator