Aviation, Aerospace & Marine Wind, Heading & Flight Navigation Wind triangle (law of sines solution)

Wind Correction Angle and Heading Calculator

This calculator solves the wind triangle. Give it the true course you want to track, your true airspeed, and the wind direction and speed, and it returns the wind correction angle, the true heading to fly, the ground speed you will make good, and the headwind and crosswind components. Add magnetic variation and it converts the heading to magnetic; add a leg distance and it gives the time en route. The reference table shows how all of these change as the wind swings around your course.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
True courseThe direction you want to track over the ground, measured from true north on the chart.90 deg
True airspeedAirspeed through the air mass, not indicated airspeed; convert it first if you are working from the airspeed indicator.120 kt
Wind direction (from)The direction the wind blows from, in degrees true - forecast winds aloft are already true, tower-reported surface winds are magnetic.180 deg
Wind speedWind speed at your cruising level, taken from the forecast winds aloft for the nearest level and time.25 kt
Magnetic variation (east positive)Enter easterly variation as a positive number and westerly as negative; the isogonic lines on the sectional give the value.0 deg
Leg distanceTrack distance for this leg, used only to turn the ground speed into a time en route.120 NM

It returns

  • Wind correction angle — Positive means the heading lies right of the course; negative means left.
  • True heading to fly
  • Ground speed
  • Magnetic heading
  • Headwind component — Positive is a headwind along the course; negative is a tailwind.
  • Crosswind component — Positive means the wind comes from the right of the course.
  • Time en route for the leg

The formula

WCA=arcsin(VwsinAV)
TH=TC+WCA
GS=VcosWCAVwcosA

In plain text: WCA = arcsin(Vw · sin(A) / V)

  • WCAWind correction angle, positive to the right of the course (degrees)
  • VwWind speed (kt)
  • AAngle from the course to the direction the wind blows from, measured clockwise and reduced to the range −180° to +180° (degrees)
  • VTrue airspeed (kt)

This is the law of sines applied to the wind triangle. It has no solution when the crosswind component exceeds true airspeed, because no heading can then hold the course.

Updated Category Wind, Heading & Flight Navigation Verified against published test cases Reading time 13 min

Why heading and course are different things

An aeroplane flies through the air, and the air moves over the ground. Those two motions add as vectors, so the direction the nose points — the heading — is almost never the direction the aircraft actually travels over the ground, which is the course or track. The wind correction angle is the difference between them, and flying it is what stops a 90-minute leg finishing thirty miles downwind of where you intended.

Pilots call the manoeuvre crabbing, because from the ground the aircraft appears to move sideways like a crab. It is not a manoeuvre at all in the air-mass frame: the aircraft is flying perfectly straight through a body of air that happens to be sliding across the earth. That distinction is the whole content of the wind triangle, and it explains why the correction depends on the ratio of wind speed to airspeed rather than on wind speed alone. A 20 kt crosswind is an 11.5 degree problem at 100 kt and a 2.7 degree problem at 430 kt.

The same vector sum also produces the ground speed, and the two answers are not independent. Whenever you crab into a crosswind, part of your airspeed is spent fighting sideways instead of pushing you along the course, so the cosine term in the ground speed equation always removes something. That loss is small — at 11.5 degrees of crab you keep 98% of your airspeed along the track — but it is never a gain.

The wind triangle, term by term

Draw the triangle with three sides. The wind vector runs from the origin in the direction the wind is blowing towards, with length equal to wind speed. The true airspeed vector runs along the heading with length equal to true airspeed. The sum of those two is the ground vector, which must lie along the course you want.

Start by reducing the wind direction to an angle relative to the course. Call it A = wind direction − true course, taken between −180° and +180°. Then two components fall out immediately:

  • Crosswind component = Vw · sin A. Positive here means the wind comes from the right of the course.
  • Headwind component = Vw · cos A. Positive is a headwind; negative is a tailwind.

The crosswind component must be exactly cancelled by the sideways part of the airspeed vector, and the sideways part of the airspeed vector is V · sin(WCA). Setting them equal and solving gives WCA = arcsin(Vw · sin A / V). That is the law of sines, and it is the entire derivation. The heading is then simply the course plus the correction angle, with a positive correction meaning a turn to the right — into a wind from the right.

Ground speed is what is left of the airspeed once the sideways part has been used up, minus the along-course wind: GS = V · cos(WCA) − Vw · cos A. Notice that the headwind term enters with a minus sign, so a tailwind — negative cos A — contributes positively. Both terms matter, and neither dominates by right: a wind just abaft the beam gives a small tailwind and a large crab, and the cosine loss can exceed the tailwind entirely. A 50 kt wind 95° off the course at 100 kt TAS is a 4.4 kt tailwind, a 29.9° crab and a ground speed of 91.1 kt — below true airspeed despite the tailwind. Pilots who subtract the headwind component and stop there over-estimate ground speed on any strongly crosswind leg.

When the crosswind component exceeds true airspeed, the arcsine has no real value and the equation is telling you something physical: no heading holds that course, and the aircraft is displaced downwind no matter what you do. Balloonists and slow-flying aircraft in strong winds meet this regularly.

Worked example: true course 040°, TAS 120 kt, wind 300° at 20 kt

You are planning a leg with a true course of 040°, cruising at 120 kt true airspeed. The forecast wind aloft is 300° at 20 kt.

  1. Wind angle relative to the course. 300 − 40 = 260°, which is more than 180, so subtract a full circle: A = −100°. The negative sign means the wind is from the left.
  2. Crosswind component. sin(−100°) = −0.98481, so the crosswind is 20 × −0.98481 = −19.70 kt, that is 19.7 kt from the left.
  3. Headwind component. cos(−100°) = −0.17365, so the along-course component is 20 × −0.17365 = −3.47 kt — a small tailwind.
  4. Correction angle. WCA = arcsin(−19.70 ÷ 120) = arcsin(−0.16413) = −9.45°. Negative, so the heading lies left of the course, into the wind.
  5. True heading. 040 − 9.45 = 030.6°, which you would fly as 031.
  6. Ground speed. GS = 120 × cos(9.45°) − (−3.47) = 120 × 0.98644 + 3.47 = 118.37 + 3.47 = 121.85 kt.
  7. Time for a 150 NM leg. 150 ÷ 121.85 × 60 = 73.9 minutes.

Sanity check the shape of the answer before you accept it. The wind is from the left, so the heading must be to the left of the course — it is. The along-course component is a small tailwind, so ground speed should be slightly above true airspeed — 121.85 against 120, and the cosine loss of 1.63 kt has eaten most of the 3.47 kt tailwind. That last detail is exactly what pilots miss when they estimate ground speed by subtracting the headwind component alone.

Reading the numbers, and the shortcuts worth knowing

The correction angle is the number you fly; the ground speed is the number you plan with. Round the heading to the nearest degree, because no directional gyro or heading bug resolves better than that, and a tenth of a degree over a 100 NM leg is 0.17 NM, about 320 metres of displacement.

Two mental approximations get you close enough to check the calculator. First, for small angles arcsin(x) in degrees is roughly 60x, so WCA ≈ 60 × crosswind ÷ TAS. With a 19.7 kt crosswind at 120 kt that gives 9.85° against the exact 9.45° — good to half a degree. Second, the crosswind component itself follows the clock rule: a wind 15° off the course gives about a quarter of its speed as crosswind, 30° gives a half, 45° gives 70%, 60° gives 87%, and 90° gives all of it. The reference table below lists those factors exactly.

When the correction angle passes about 25 degrees the leg deserves a second look. That only happens when the crosswind is more than 40% of your true airspeed, and it means both a big heading offset and a substantial cosine loss on ground speed. In light aircraft this regime usually appears in mountain wave or jet-stream conditions, and the correct response is often a different altitude rather than a bigger crab.

Do not confuse this crosswind component with the one you use for landing. Both come from the same sine relationship, but the runway calculation uses the surface wind and the runway direction, and it is compared against the aircraft's demonstrated crosswind limit rather than converted into a heading. The crosswind component calculator is the right tool for that.

Wind components and correction angle by wind angle

True airspeed 100 kt, wind 20 kt, worked at each angle between the wind and the course.
Wind angle off courseCrosswind factor (sin)Headwind factor (cos)Crosswind (kt)WCA (deg)Ground speed (kt)
0° (dead ahead)0.0001.0000.00.0080.0
15°0.2590.9665.22.9780.5
30°0.5000.86610.05.7482.2
45°0.7070.70714.18.1384.9
60°0.8660.50017.39.9788.5
75°0.9660.25919.311.1492.9
90°1.0000.00020.011.5498.0
120°0.866−0.50017.39.97108.5
150°0.500−0.86610.05.74116.8
180° (dead astern)0.000−1.0000.00.00120.0

Angles are measured from the course to the direction the wind blows from. The sin and cos factors are universal; the knot and degree columns are those factors evaluated at 20 kt of wind and 100 kt of true airspeed.

Mistakes that make a wind triangle answer wrong

  • Mixing true and magnetic references. Forecast winds aloft are given in degrees true; tower and ATIS surface winds are given in degrees magnetic. Solve the triangle entirely in true, then apply variation once at the end with the magnetic variation calculator.
  • Using indicated airspeed instead of true airspeed. At 8,000 ft on a standard day, indicated airspeed understates true airspeed by roughly 13%, and the wind triangle needs the true figure. Convert with the true airspeed calculator first.
  • Applying the correction the wrong way. The heading always turns towards the wind, never away. A wind from the right gives a heading right of the course. If your answer points downwind, you have inverted a sign.
  • Subtracting the headwind component and stopping there. That ignores the cosine loss from crabbing. With a 30 kt wind 60 degrees off the course at 120 kt, the crosswind is 25.98 kt, the crab is 12.50 degrees, and the cosine loss is 120 × (1 − 0.9763) = 2.8 kt — minutes over a long leg. The loss grows as the square of the crab angle, so it is negligible below 10 degrees and severe beyond 25.
  • Treating the wind as constant along the route. Wind veers and strengthens with height and changes across a frontal zone. Break a long leg at the points where the forecast changes and solve each segment.
  • Forgetting that the correction is a ratio. The same wind produces a much larger angle in a slow aircraft. Doubling true airspeed roughly halves the correction angle for the same crosswind.

The reverse problem: finding the wind from your track

If you already know your heading, true airspeed, actual track and actual ground speed, the same triangle can be solved backwards to recover the wind. Subtract the ground vector from the air vector and the remainder is the wind. In practice most pilots do it approximately: the drift angle you are holding tells you the crosswind component directly, since crosswind ≈ TAS × sin(drift), and the difference between ground speed and true airspeed tells you most of the along-course component. Two legs on different headings give enough information to pin down both the direction and the speed.

Where the wind triangle sits in flight planning

The wind triangle is the oldest computation in air navigation and it is still the one every flight plan rests on. Manual flight computers — the circular E6B and the slide-type CR series — exist mainly to solve it, and they do so graphically rather than trigonometrically, which is why their answers agree with this page to within the width of a pencil line. Modern flight management systems solve the same triangle continuously, updating the wind from the difference between the inertial ground vector and the air data.

In practice you solve it three times for a single flight. Once during planning, from the forecast winds aloft, to get headings and leg times that feed the flight time and ETA calculator and from there the fuel plan. Once in the air, where the observed drift and ground speed tell you what the wind is really doing and let you revise the plan. And once on arrival, where the surface wind becomes the runway crosswind problem instead.

Marine navigation runs the identical mathematics under different names. A vessel setting a course through a current solves the same triangle, calling the correction the set and drift problem, and the current takes the place of the wind. If you navigate a boat as well as fly, the set and drift calculator is the same triangle with the labels changed.

Key terms

True course (TC)
The direction of the intended track over the ground, measured clockwise from true north.
True heading (TH)
The direction the aircraft's nose points, measured from true north. Equal to the true course plus the wind correction angle.
Wind correction angle (WCA)
The angle between heading and course, applied into the wind. Also called the crab angle.
Drift angle
The angle between heading and the track actually made good. When you are correcting perfectly, the drift angle equals the wind correction angle with the opposite sign.
Crosswind component
The part of the wind acting perpendicular to the course, equal to wind speed multiplied by the sine of the angle between them.
Variation
The local angle between true north and magnetic north. Subtract easterly variation from a true heading to get the magnetic heading.

Frequently asked questions

What is the formula for wind correction angle?

WCA = arcsin(crosswind component ÷ true airspeed), where the crosswind component is wind speed multiplied by the sine of the angle between the wind and your course. The correction is always applied into the wind, so the heading lies on the same side of the course as the wind is coming from. For small angles the arcsine is close to 60 × crosswind ÷ TAS in degrees, which is the version worth memorising.

Do I add or subtract the wind correction angle?

Turn towards the wind. If the wind comes from the right of your course, add the correction to get a heading right of the course; if it comes from the left, subtract. This calculator handles the sign for you and reports a positive angle for a wind from the right. The check that catches every sign error is to ask whether the nose is pointed upwind of the track — it always should be.

Why is my ground speed lower than airspeed minus headwind?

Because crabbing costs you a little of your airspeed along the course. Only the component V × cos(WCA) pushes you along the track; the rest is spent cancelling drift. At a 10 degree crab that cosine factor is 0.985, so a 120 kt aircraft contributes 118.2 kt rather than 120 kt along the course before the wind is even applied. The loss grows quickly beyond 20 degrees.

What wind do I use, the surface wind or the winds aloft?

Use the forecast wind for your cruising level, interpolated between the levels the forecast gives. Surface wind is irrelevant to a cruise leg because friction slows and backs it near the ground; typical values are that the wind aloft is stronger and veered relative to the surface. Surface wind matters for the take-off and landing crosswind calculation instead.

Is the wind correction angle the same as drift?

They are the same magnitude with opposite signs when you are tracking correctly. Drift is what the wind does to you if you fly the course as a heading; the correction angle is what you apply to cancel it. Pilots see drift first — the aircraft slides off track — and then apply the correction, which is why the two words often get used interchangeably in the cockpit.

What happens when the wind is stronger than my airspeed?

You can still fly, but not on every course. When the crosswind component exceeds true airspeed the equation has no solution, and no heading holds that track. The set of achievable courses shrinks to a cone around the downwind direction. This calculator reports no answer in that case rather than inventing one, and the crosswind and headwind components remain valid because they depend only on the wind and the course.

How accurate is the 60-to-1 approximation?

It stays within about 0.55 degrees of the exact arcsine anywhere below a 30 degree correction, and it always over-estimates in that range. The rule states that one degree subtends one unit at sixty units of distance, so arcsin(x) in degrees is roughly 60x. At a crosswind-to-airspeed ratio of 0.2 the exact answer is 11.54 degrees against 12.0 from the rule; at 0.4 it is 23.58 against 24.0. The two agree exactly at a ratio of 0.5, where both give 30 degrees, and beyond that the rule under-estimates — so treat 30 degrees as the point where it stops being a safe over-estimate.

Does this calculator give magnetic or true heading?

Both, provided you enter the local magnetic variation. The triangle itself is solved entirely in true directions, which is the only way to combine a chart course with a forecast wind, and the magnetic heading is then produced by subtracting easterly variation from the true heading. Leave variation at zero and the magnetic output simply repeats the true heading.

How much does a crosswind cost me in time?

Less than pilots fear on a single leg, and more than they expect on an out-and-back. A pure 20 kt crosswind at 100 kt TAS costs 2 kt of ground speed, about 2%. But a 20 kt wind that is a headwind out and a tailwind back never breaks even: the slow leg lasts longer than the fast one, so the round trip always takes more time than it would in still air.

References