Heading Calculator

Solve the wind triangle. Enter the true course, true airspeed and the wind to get the wind correction angle, the true, magnetic and compass headings to fly and your groundspeed, or work back from heading and track to find the wind.

Calculator Aviation Updated Oct 15, 2026
Learn how this works
How to Use
  1. Measure the true course on the chart and enter it with your true airspeed (knots, mph or km/h).
  2. Enter the forecast wind for your cruising altitude: the direction it blows from and its speed. Winds aloft forecasts are already true, so use them as they are.
  3. Add the magnetic variation from the nearest isogonic line (pick E or W) and, if you have one, the correction from the aircraft’s compass deviation card.
  4. Read the heading to fly, the wind correction angle and the groundspeed, and check the triangle and the TC → TH → MH → CH chain under it.
  5. In flight, switch to Find the wind: enter the heading you are holding, your TAS, and the track and groundspeed from the GPS to see the wind you are actually flying in.
  6. Take the groundspeed to the Flight Time & Fuel Calculator for the time and fuel for the leg.
Wind Triangle
°
°
TAS
° true
blank = calm
7, 7E, 10W
from the card, + or −
° true
from GPS
Presets
The Wind Triangle
Heading to fly
—
Groundspeed
—
Wind correction
—
True heading
—

Worked Example

The handbook’s wind triangle. The FAA’s Pilot’s Handbook of Aeronautical Knowledge draws a flight on a true course of 090° at 120 kt true airspeed, with the wind from 045° at 40 kt. The wind is 45° off the course from the left, so its crosswind part is 40 × sin 45° = 28.3 kt. The wind correction angle is the angle whose sine is 28.3 ÷ 120: 13.6° left, so the true heading is 090° − 13.6° = 076°. The groundspeed is 120 × cos 13.6° − 40 × cos 45° = 116.6 − 28.3 = 88.3 kt. The handbook’s protractor and ruler give the same 076° and 88 kt; at that speed its 220 NM leg takes 2 hours 30 minutes.

From true course to compass heading. In the handbook’s Chickasha to Guthrie flight the true course is 031°, the true airspeed 115 kt and the wind 360° at 10 kt. The wind correction is 2.6° left, so the true heading is 028°. The variation is 7° east, which is subtracted: 021° magnetic. The deviation card says add 2°, so the compass heading is 023°, and the groundspeed is 106 kt, matching the handbook’s planning sheet.

The common mistake: applying variation the wrong way. Adding the 7° east variation instead of subtracting it gives 028° + 7° = 035° instead of 021°: a 14° error. Flown for the whole 53 NM leg, that ends about 13 NM to the right of Guthrie. East is least (subtract), west is best (add).

Show Work

Enter a course, airspeed and wind to see each step worked out.

Formulas

Wind angle
WA = wind direction − TC
Taken between −180° and +180°; positive means the wind is from the right
Wind correction angle
sin WCA = WS × sin WA ÷ TAS
Turn into the wind: right for a wind from the right
Groundspeed
GS = TAS × cos WCA − WS × cos WA
The airspeed left along the course, less the headwind part
Heading chain
TC ± WCA = TH ± V = MH ± D = CH
As written in the PHAK: true, magnetic, compass
Variation
MH = TH − east, + west
“East is least, west is best”
Find the wind
wind = ground vector − air vector
Ground = GS along the track, air = TAS along the heading

Course, Heading and Track: True, Magnetic and Compass

Dead reckoning, in the handbook’s words, is navigation solely by computations based on time, airspeed, distance and direction, and the wind triangle is its basis. The course is the line drawn on the chart, measured clockwise from true north at a meridian near the middle of the route, because meridians converge toward the poles. The heading is where the nose points, the track is the path actually made over the ground, and the angle between heading and track is the drift angle. When the wind correction is right, track and course are the same line.

A magnetic compass does not point at true north. The angle between the two is the variation, printed on sectional charts as broken magenta isogonic lines; the line of zero variation is the agonic line. In the United States the compass needle points east of true north on the west coast and west of it on the east coast, and the values change slightly over time, which is why charts are reissued. The aircraft adds its own error, the deviation, from its engine, radios, lights and other magnetised parts. A technician measures it by “swinging the compass”: the aircraft is lined up on a compass rose with the engine and radios running and the reading noted every 30°, which becomes the deviation card next to the compass.

Before electronic calculators, pilots solved the triangle with a plotter and a mechanical flight computer, the E6B, whose wind side does the vector drawing on a sliding grid. This calculator does the same geometry with trigonometry, so the angles come out to a tenth of a degree rather than to the width of a pencil line.

About This Calculator

It solves the wind triangle for a true course, a true airspeed and a forecast wind, then applies variation and the deviation card’s correction to give the magnetic and compass headings, with each step shown. The second mode works the triangle backwards to find the wind from the heading you hold and the track and groundspeed your GPS shows. The method and the worked examples come from the FAA’s Pilot’s Handbook of Aeronautical Knowledge (FAA-H-8083-25C, chapter 16, Navigation); the true and magnetic wind references come from the Aeronautical Information Manual, paragraphs 4-3-6, 7-1-5 and 7-1-10.

It works on a flat-earth triangle for one leg with one wind, as a flight log does. It does not know the variation at your location: take it from the current sectional chart. Everything runs in your browser. For planning and training only — always use your aircraft’s POH/AFM and official weather and charts.

Related tools: Crosswind Component Calculator, Flight Time & Fuel Calculator, and Airspeed Calculator.

Frequently Asked Questions

How do I work out the wind correction angle?

Find the angle between the wind and your course, take the part of the wind that blows across the course (wind speed × sine of that angle) and divide it by the true airspeed: the wind correction angle is the angle whose sine is that number. For a 090° course at 120 kt with the wind from 045° at 40 kt, the crosswind part is 28.3 kt and the angle is 13.6°. The wind is from the left, so you turn left: heading 076°, as in the FAA’s Pilot’s Handbook.

Do I add or subtract magnetic variation?

Subtract east, add west: “east is least, west is best.” With 7° east variation a true heading of 028° becomes 021° magnetic; with 10° west it would be 038°. The variation comes from the magenta isogonic line nearest your route, and if it changes along the way you apply each value to its own part of the route.

What is the difference between magnetic heading and compass heading?

Magnetic heading is corrected for variation only. Compass heading also allows for deviation: the error the aircraft’s own engine, radios and wiring put into its compass, which differs from one heading to another. The deviation card next to the compass gives the correction, usually every 30°. In the handbook’s example a magnetic heading of 078° with a −4° correction is flown as 074° on the compass.

Are winds aloft forecasts true or magnetic?

True. The AIM says forecast winds aloft are given in knots and degrees referenced to true north, which is why they go straight into the wind triangle with the true course. Winds from the tower, ATIS and ASOS or AWOS voice broadcasts are magnetic, because they are used with runway numbers. Mixing the two puts the whole triangle out by the local variation.

Why is my groundspeed lower than the airspeed minus the headwind?

Because some of your airspeed goes into holding the crab. With 120 kt TAS and the wind from 045° at 40 kt on a 090° course, the headwind part is 28.3 kt, so you might expect 91.7 kt. But flying 13.6° off the course leaves only 116.6 kt of the airspeed along it, and the groundspeed is 88.3 kt. The stronger the crosswind, the bigger this loss.

How do I use the Heading Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Filling in a navigation log

The FAA handbook’s Chickasha to Guthrie leg: true course 031°, TAS 115 kt, wind 360° at 10 kt, 7° east variation and +2° deviation give a compass heading of 023° and 106 kt.

A trainer into a quartering headwind

At 95 kt on a 270° course with the wind from 300° at 20 kt, crab 6.0° right to a 276° true heading; the groundspeed drops to 77 kt.

A fast aircraft with a tailwind

At 170 kt on a 045° course with the wind from 270° at 35 kt, the heading is 037° true and the groundspeed 193 kt.

Finding the real wind in flight

Holding 076° at 120 kt while the GPS shows a track of 090° at 88 kt means the wind is from 044° at 41 kt.

Catching a sign error

Adding 7° east variation instead of subtracting it gives a heading 14° wrong; after 53 NM that is about 13 NM off course.

Last updated: