Offline cache warming

MetaCAD Pocket — marine tools, offline

Voyage tools, calculations and sea service — on iPhone and Android.

Features and platform differences
Back to Knowledge Base
Navigation11 min read

Compass Error: Variation, Deviation & Formula

Compass error explained: true, magnetic and compass north, variation vs deviation, the correction formula, the deviation card and gyrocompass errors.

Try it now
Compass Deviation
Free · in-browser · offline-ready
Open calculator
Check yourselfWork a compass-error and course-conversion problem

Three Norths: True, Magnetic, and Compass

In navigation, there are three directions called "north," and the difference between them is the foundation of all compass corrections. True (geographic) north is the direction toward the North Geographic Pole, defined by the Earth's rotational axis. All navigational charts are oriented to true north, and bearings plotted on charts are true bearings. Magnetic north is the direction toward the North Magnetic Pole, where a free magnetic needle points. The magnetic pole does not coincide with the geographic pole and slowly migrates. The difference between true and magnetic north is called magnetic variation (or declination). Variation depends on the observer's geographic position and changes slowly over time (secular variations). The variation value is shown on navigational charts in the central compass rose with the year and annual change. For example: "Var 4°30'W (2020), decreasing 8' annually" means variation of 4°30' westerly, decreasing by 8 minutes per year. Compass north is the direction indicated by the magnetic compass needle on a specific vessel. It differs from magnetic north due to deviation — the deflection caused by the vessel's own magnetic field. Thus, total compass error = variation + deviation. The mnemonic rule: True Virgins Make Dull Companions — True, Variation, Magnetic, Deviation, Compass. The navigator must be able to convert bearings between all three systems accurately.

Magnetic Variation and Its Changes

Magnetic variation ranges from 0° (on the agonic line) to ±25° in most populated regions, and can reach 180° near the magnetic poles. In western Russia, variation is easterly (8–15°), in Europe 0° to 5°W, on the US East Coast 10–20°W, and in Alaska up to 25°E. Lines of equal variation are called isogonic lines and are plotted on special magnetic charts for reference. Variation changes over time for several reasons. Secular variation is the slow change associated with the movement of magnetic poles and changes in the Earth's magnetic field. The rate of change is from a few minutes to tens of minutes of arc per year. Diurnal variation consists of small oscillations (up to 0.1°) caused by solar activity. Magnetic storms produce sudden changes (up to 1–2°) caused by solar flares. For navigational purposes, only secular variation is normally accounted for in routine calculations. To determine current variation: take the value from the chart, account for the annual change and the number of years since the chart edition date. For example: variation 5°20'W (2020), decreasing 7' annually. In 2026: 5°20' − 6×7' = 5°20' − 42' = 4°38'W. For precise calculations, use the IGRF (International Geomagnetic Reference Field) or WMM (World Magnetic Model), available online and in navigation software packages.

Deviation: Causes and Character

Deviation is the deflection of the compass needle from the magnetic meridian caused by the vessel's own magnetic field. Sources of ship magnetism include: permanent magnetism of the steel hull (hard iron), induced magnetism of steel structures (soft iron), electromagnetic fields from electrical equipment, and ferromagnetic objects near the compass. Each source contributes to deviation, and their combined effect depends on the vessel's heading. Deviation changes with the vessel's heading because the relative orientation of the ship's magnetic field and the horizontal component of the Earth's field changes as the vessel turns. The relationship between deviation and heading is described by: δ = A + B×sin θ + C×cos θ + D×sin 2θ + E×cos 2θ, where θ is magnetic heading and A, B, C, D, E are coefficients depending on the vessel's magnetic properties. Coefficient A is constant deviation, B and C are semicircular (from hard iron), D and E are quadrantal (from soft iron). Deviation also depends on geographic latitude (changes in the horizontal component of the Earth's field) and vessel heel (induced magnetism of vertical structures). With significant changes in sailing latitude or after prolonged heading on one course, the vessel's magnetic properties may change (sub-permanent magnetism). Therefore, deviation determination is a regular procedure, not a one-time exercise.

Determining Deviation

Several methods exist for determining deviation. Transit bearing method (leading marks): the vessel turns to various headings, and on each heading a bearing is taken on a transit whose true direction is known. The difference between the compass bearing and the true bearing (less variation) gives the deviation on that heading. The method is accurate but requires suitable transits and sufficient manoeuvring space in the vicinity. Celestial body bearings: a compass bearing of the Sun or Polaris is taken, and the true bearing is calculated from nautical tables (azimuth). The difference after accounting for variation gives the deviation. This method is used at sea but requires visibility of the celestial body and accurate time. For Polaris, the azimuth is close to 000° (with correction), simplifying the calculation. Solar bearings are typically taken at sunrise and sunset when the azimuth changes slowly. Comparison with gyrocompass: if the gyrocompass error is known, magnetic compass deviation is determined as the difference between magnetic compass and gyrocompass readings, accounting for gyro error and variation. This is the most convenient method and is used daily in routine navigation. Deviation should be determined upon every significant course change. Results are recorded and used for constructing a deviation table or curve.

Deviation Card and Compensation

A deviation card or table contains deviation values for various compass headings, typically at 15° or 30° intervals (from 000° to 345°). It is posted near the compass and used for converting headings and bearings. For intermediate headings, deviation is interpolated. The table is compiled from deviation observations and must be revised at least annually or after any work near the compass (welding, equipment changes, loading magnetic cargo). Deviation compensation (adjustment) is the procedure of minimising deviation using compensating magnets and soft iron correctors. Semicircular deviation (B and C coefficients) is compensated by placing permanent magnets in the binnacle: fore-and-aft magnets compensate coefficient C, athwartship magnets compensate coefficient B. Quadrantal deviation (D and E) is compensated with soft iron: Kelvin spheres (soft iron balls on either side of the binnacle) or Flinders plates. The Flinders bar is a vertical soft iron rod installed in the binnacle to compensate for induced vertical magnetism, which causes heeling error and latitude-dependent deviation. Compensation is performed by a certified compass adjuster. After compensation, residual deviation typically does not exceed ±2°. MetaCAD provides a tool for calculating compass corrections and converting between true, magnetic, and compass headings accurately.

Gyrocompass Errors

A gyrocompass determines the direction of true (geographic) north using gyroscopic properties and is unaffected by magnetic variation and deviation. However, gyrocompasses have their own errors. Speed error arises from the vessel's movement over the rotating Earth's surface: the gyrocompass senses the resultant angular velocity of Earth's rotation and vessel movement. The error depends on speed, course, and latitude, calculated by: ΔG = (V × cos C) / (900 × cos φ) × 57.3 degrees. Latitude error manifests at high latitudes where the horizontal component of Earth's rotation decreases, and the gyrocompass loses sensitivity and accuracy. Most marine gyrocompasses operate reliably up to 70–75° latitude. In polar regions (above 80°), specialised systems are used — inertial navigation systems or satellite compasses. Ballistic deflection error occurs during manoeuvres (speed or course changes) and decays over 20–40 minutes as the gyro settles. Modern gyrocompasses (Sperry, Raytheon Anschütz, Yokogawa) feature built-in speed error correction: upon entering speed and latitude, the system automatically compensates for the error. Modern gyrocompass accuracy is ±0.5° under normal conditions. Gyro error is determined by celestial body bearings or comparison with GPS course over ground. MetaCAD accounts for all types of compass corrections in navigational calculations, ensuring accurate conversion between headings and bearings.

Related Calculators

Try the Calculators

Apply your knowledge in practice — all tools are free and work offline.

Go to Calculators

By continuing to use this site, you accept essential cookies and anonymous analytics. Learn more