Course to Steer Calculator

Hold a track when the water is moving: work out the heading that cancels the current and the speed you will actually make good.

degrees true, 0 to 360
knots, 0.1 to 60
degrees true the water runs towards, 0 to 360
knots the water moves, 0 to 10
Enter the track, boat speed and the current to see the heading to steer.

The current is added as a vector to the boat's own motion, so ground velocity = water velocity + current. In a frame lined up with the track, the cross-track part of the current is cancelled by pointing the bow up-current at atan2(−cross, speed made good − along) from the track, and the along-track part adds to or subtracts from the speed over the ground. Two cases cannot be solved and are refused: a current whose cross-track part is wider than the boat's speed through the water, where no heading holds the track, and a current running dead against the track faster than the boat, where no ground can be made. Leeway, gusts, a stream that varies with time or position, and any tidal prediction are not modelled, so use a set and drift measured from recent fixes, steer the heading and correct on the next fix. Everything runs in your browser with no storage, uploads or network access.