Navigation
Compass error by the sun
Check the compass against the sun: its true bearing at sunrise or sunset (amplitude) or at any time (azimuth), worked out for your position, against what the compass or gyro shows.
Fill in the fields to see the result.
How it works
The sun's declination and Greenwich hour angle come from standard almanac formulas (to about 0.01°). With the ship's position they give the sun's azimuth: tan Z = −cos δ sin LHA / (sin δ cos φ − cos δ sin φ cos LHA). Best taken when the sun is low (below about 30°).
The amplitude is the bearing when the sun's centre is on the celestial horizon: cos Z = sin δ / cos φ. At sea that is when the lower limb is about half a diameter above the visible horizon. No exact time is needed, only the date and position.
Compass error = true bearing − compass (or gyro) bearing; deviation = compass error − variation. Record it in the compass observation book.
For training and cross-checking. Not a substitute for approved navigation equipment, nautical publications and the ship’s own procedures. Calculations run in your browser and nothing you type is stored; a PDF you download is made on our server and not kept.
More tools
All tools- Port to port distances
- Compass error
- Great circle and rhumb line
- Speed, distance, time and ETA
- Current triangle
- Sunrise, sunset and twilight
- Dead reckoning position
- Distance off
- Sextant altitude and noon latitude
- Required speed for an ETA
- CPA and TCPA
- True wind
- Horizon and light range
- MLC hours of rest
- Ship’s clocks and time zones
- IMO and MMSI number check
- Dock water allowance and loading
- Height of tide
- Mean draught and trim
- GM from rolling period
- Squat and under-keel clearance
- Anchoring
- Search patterns (IAMSAR)
- Fuel consumption and endurance
- Speed and consumption
- Propeller slip
- Indicated power
- Bunker quantity
- Fuel heating temperature
- Cylinder oil feed rate
- Electrical power
- Pay and contract dates
- Unit and position converter
- Signal flags and phonetic alphabet
- COLREGs lights and shapes
- Beaufort and sea state scales
- Marine VHF channels