How to build the deviation table of a compass

Source: Plastimo.

The magnetic compass is the default instrument on sailboats. Unlike commercial vessels, which generally have a gyrocompass, it is usually the only instrument on board that points to the (magnetic) north. Regardless of the vessel type, Canadian regulation requires a magnetic compass onboard (on vessels of more than 8 meters).

The aim of this text is to show how to construct your compass’s deviation table based on readings of the cardinal points (North, South, East, West) and intercardinal points (NE, SE, NW, SW) on your compass. You need to understand trigonometric functions, as well as the ability to plot graphs. This guide also assumes you are familiar with the difference between magnetic north and true north, as well as with declination (or variation) and deviation. If you are unfamiliar with these concepts, taking a coastal navigation course is a prerequisite.

The formula

Let d be the deviation and Cc be the compass bearing of your sailboat. Any deviation table can be expressed by the relationship:

d=A+Bsin(Cc)+Ccos(Cc)+Dsin(2Cc)+Ecos(2Cc),d = A + B\sin(C_c) + C\cos(C_c) +D\sin(2C_c) + E\cos(2C_c),

where A, B, C, D and E are unknown coefficients relating your sailboat’s magnetism with respect to Earth’s magnetic field. To determine these coefficients, follow the procedure below.

The procedure

  1. Using your sailboat, take a reading from its compass at the true cardinal points and true intercardinal points (North, North-East, East, South-East, South, South-West, West, North-West). This requires you to be able to identify these points without using your compass. This can be done, for example, by:
    • In the absence of winds and currents, using a GPS that displays the course over the ground.
    • Using a handheld compass, finding the readings positioned in a location where there is no ferromagnetic interference (accounting for variation, of course).
    • By identifying landmarks that points the proper direction at a given location (or using a pelorus with one single landmark).
  2. Calculate the magnetic declination at your current location and deduce the compass deviation using the chosen method:
    • Using a GPS: calculate the magnetic cardinal points by adding the deviation (+ if West, – if East), and calculate the difference between the values obtained from your compass and the calculated values. This gives you the deviation (+ if West, – if East).
    • Calculate the difference between the readings from your compass and those from your handheld compass; this will give you your compass deviation (+ if West, – if East).
    • Using landmarks: calculate the magnetic cardinal points by adding the deviation (+ if West, – if East). Then calculate the difference between the readings from your compass and the calculated values. This gives you the deviation (+ if west, – if east).
  3. You will then have a table containing 8 deviations.
  4. Using the 8 deviations obtained, calculate the coefficients A, B, C, D and E with the formulas below.
  5. Your compass deviation is then represented by the mathematical expression at the start of this text.

The five formulas

A=dN+dNE+dE+dSE+dS+dSW+dW+dNW8,B=12(dEdW),C=12(dNdS),D=14(dNE+dSW(dSE+dNW)),E=14((dN+dS)(dE+dW)).\begin{align} A &= \frac{d_N + d_{NE} + d_{E} + d_{SE} + d_{S} + d_{SW} + d_{W} + d_{NW}}{8},\\ B&= \frac{1}{2}(d_E-d_W),\\ C&=\frac{1}{2}(d_N-d_S),\\ D&=\frac{1}{4}(d_{NE} + d_{SW}-(d_{SE}+ d_{NW})),\\ E&=\frac{1}{4}((d_N + d_S)-(d_E+ d_W)). \end{align}

An example

By applying the recipe above, you have obtained the following deviations for the compass of your sailboat:

True bearingDeviation (di)
N-9.0
NE2.7
E4.0
SE5.4
S9.0
SW1.3
W-16.0
NW-21.4

What is your compass’s deviation table?

Solution

We need to identify the coefficients A, B, C, D and E:

A=18(9+2.7++4.0+5.4+9.0+1.316.021.4)=3.0,B=12(4.0(16.0))=10,C=12(99)=9,D=14((2.7+1.3)(5,421,4))=5,E=14((9+9)(412))=3.\begin{align} A&= \frac{1}{8}(-9 + 2.7 + + 4.0 + 5.4 + 9.0 + 1.3 – 16.0 – 21.4) = -3.0,\\ B&= \frac{1}{2}(4.0 – (-16.0)) = 10,\\ C&=\frac{1}{2}(-9 – 9) = -9,\\ D&=\frac{1}{4}((2.7 + 1.3) – (5,4-21,4)) = 5,\\ E&=\frac{1}{4}((-9 + 9) – (4 – 12))= -3. \end{align}

(Here, the values in the table are such that the formulas yield neat whole numbers, so as to aid understanding the calculations. In practice, the calculated numbers will have decimal places.)

The equation giving the deviation table is therefore:

d=3+10sin(Cc)9cos(Cc)+5sin(2Cc)3cos(2Cc),d = -3 + 10\sin(C_c)-9\cos(C_c)+ 5\sin(2C_c)-3\cos(2C_c),

The graph is therefore plotted as follows:

The y-axis represents the deviation (+ West if , East if -) and the x-axis represents the compass bearing. We can then read the graph (or solve the equation!) to find the compass deviation for any bearing.

Once the coefficients calculated, it is possible to use an online plotter to draw the curve.

Conclusion

Following the recipe allows to find a compass’ deviation table. In practice, deviations should not be as big as in the example (a deviation near -18° in the worst case!), but closer to the -5° to 5° range. Moreover, the term A should be very close to zero. Otherwise, this might be an indication that your compass needs to be re-calibrated.