Magnetic compass deviation

Deviation made visible.

Turn eight observed compass deviations into a clean coefficient model, a readable curve, and the foundation for printable deviation records.

Deviation calculator interface with compass rose and deviation curve

The problem

Deviation is local. It changes with the vessel and with the heading.

A magnetic compass is affected by the boat itself: ferrous metal, electrical equipment, wiring, engines, speakers, batteries, and other onboard magnetic influences. The error is not a single fixed number. It changes as the vessel turns.

01

Compass reading

The helmsman sees the compass course, but the needle is affected by the vessel.

02

Observed deviation

Measured error is recorded on standard headings during a compass swing.

03

Deviation card

The final table lets the navigator apply the right correction for each heading.

The model

Five coefficients describe the curve.

δ = A + B sin H + C cos H + D sin 2H + E cos 2H

The standard deviation equation separates the compass error into constant, semicircular, and quadrantal parts. Deviation uses that same shape: a smooth wave around the compass, not random isolated errors.

A Constant deviation
B / C Semicircular deviation
D / E Quadrantal deviation

Why eight headings

Eight observations give the curve enough structure.

The classic method uses the main compass directions: N, NE, E, SE, S, SW, W, and NW. These evenly spaced headings let the app estimate the A-E components and draw the residual deviation curve.

NNEESESSWWNW
8
01

Enter observed deviation.

Use the values taken during the compass swing on the eight primary headings.

02

Calculate coefficients.

Deviation derives A, B, C, D, and E, then visualizes the curve for quick review.

03

Prepare the record.

The next stage is a printable PDF table with vessel records and QR verification.

Built for the next step

Start with the calculator. Grow into a deviation record system.

Deviation begins as a fast offline-ready calculator. The product path leads to printable deviation tables, vessel history, expiry tracking, and verification.

Open Deviation