# Finding the degrees between two headings

• Nov 7th 2008, 02:45 AM
Finding the degrees between two headings
Hi,

I have what I'm sure is a relatively simple problem, but the answer eludes me. (Headbang)

What is the equation to determine the number of degrees between two compass headings? For example:

If Heading 1 is 350 degrees & Heading 2 is 10 degrees then the delta is 20 degrees

or

If Heading 1 is 350 degrees & Heading 2 is 317 degrees then the delta is 33 degrees.

One other thing; the delta can obviously never be greater than 180 degrees.

All help appreciated.

• Nov 7th 2008, 07:15 PM
skeeter
• Nov 7th 2008, 11:15 PM
earboth
Quote:

Hi,

I have what I'm sure is a relatively simple problem, but the answer eludes me. (Headbang)

What is the equation to determine the number of degrees between two compass headings? For example:

If Heading 1 is 350 degrees & Heading 2 is 10 degrees then the delta is 20 degrees

...

That depends on how you define the "measuring direction" with angles.

Normally an angle is measured counterclockwise and then the difference between an heading of 350° and a heading of 10° is 340°.
• Nov 19th 2008, 12:11 PM
Not in this case...
Thanks, but this is a specific case where the measurement can be in either direction (whichever is the lesser), hence the difference in angle never being allowed to be greater than 180 degrees.