Wind Direction Degrees to Compass Calculator

Wind Direction Degrees to Compass Calculator

Leading AI Skill PRO

Enter Calculation

Formula

Index=(round(Degreesmod36022.5))mod16\text{Index} = \left( \text{round}\!\left( \frac{\text{Degrees} \bmod 360}{22.5} \right) \right) \bmod 16
Usage stats

Advertisement

Results

Compass Direction
E
from 90°
Normalized Degrees 90°
Compass Index (0-15) 4

Report an error on this page

What this calculator does

This tool converts a wind direction (or any bearing) given in degrees into a standard 16-point compass heading such as N, NNE, NE, ENE, E and so on. Meteorological reports, weather stations and GPS devices often express direction in degrees from 0 to 360, while people communicate using named compass points. This converter bridges the two.

16-point compass rose with degree positions and cardinal labels
A 16-point compass rose mapping degrees (0–360°) around the circle to headings like N, NE, S and W.

How to use it

Enter the wind direction in degrees (0° is North, 90° is East, 180° is South, 270° is West). Values outside 0–360 are automatically wrapped, so 360°, 720° and -10° all resolve correctly. The result shows the compass name, the normalized angle, and the 0–15 index used internally.

The formula explained

The full circle (360°) is split into 16 equal sectors of 22.5° each. We divide the degrees by 22.5 and round to the nearest whole number, which selects the closest compass point. Taking that result modulo 16 wraps values near 360° back to North (index 0). The 16 labels in order are: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW.

$$\text{Index} = \left( \text{round}\!\left( \frac{\text{Degrees} \bmod 360}{22.5} \right) \right) \bmod 16$$
Advertisement
Diagram showing angle divided by 22.5 then mapped to a compass sector
The formula divides the angle by 22.5°, rounds to the nearest index, and selects the matching 16-point heading.

Worked example

For 200°: \(200 \div 22.5 = 8.888\ldots\), which rounds to 9. Index 9 in the list is SSW (South-Southwest). For 90°: \(90 \div 22.5 = 4\), index 4 is E (East). For 360°: it normalizes to 0, then \(0 \div 22.5 = 0\), giving N (North).

16-Point Compass Rose Reference Table

The 16-point compass rose divides the full 360° circle into 16 sectors of 22.5° each. Each point is centered on its bearing and covers ±11.25° around it. Bearings are measured clockwise from north. The index is the value produced by the formula \(\text{round}(\text{degrees} \bmod 360 \div 22.5) \bmod 16\).

Index Abbreviation Full name Center bearing (°) Degree range covered (°)
0 N North 0 348.75 – 11.25
1 NNE North-Northeast 22.5 11.25 – 33.75
2 NE Northeast 45 33.75 – 56.25
3 ENE East-Northeast 67.5 56.25 – 78.75
4 E East 90 78.75 – 101.25
5 ESE East-Southeast 112.5 101.25 – 123.75
6 SE Southeast 135 123.75 – 146.25
7 SSE South-Southeast 157.5 146.25 – 168.75
8 S South 180 168.75 – 191.25
9 SSW South-Southwest 202.5 191.25 – 213.75
10 SW Southwest 225 213.75 – 236.25
11 WSW West-Southwest 247.5 236.25 – 258.75
12 W West 270 258.75 – 281.25
13 WNW West-Northwest 292.5 281.25 – 303.75
14 NW Northwest 315 303.75 – 326.25
15 NNW North-Northwest 337.5 326.25 – 348.75

The north sector wraps around 0°/360°, which is why the formula applies a modulo 16 step: a value such as 355° gives \(355 \div 22.5 = 15.78\), which rounds to 16, and \(16 \bmod 16 = 0\), meaning N. A value exactly on a sector edge (for example 11.25°) depends on the rounding convention used.

Advertisement

Interpreting Wind Direction Results

Wind direction is where the wind comes from. In meteorology, the reported direction is the direction the wind blows from, not the direction it is heading toward. A wind of 270° is therefore a westerly wind: it originates in the west and blows toward the east. A 90° wind is an easterly wind blowing toward the west. To find the direction the air is moving toward, add or subtract 180° (for example, 270° from-direction becomes 90° to-direction). Ocean currents, by contrast, are usually described by the direction they flow toward, so check which convention applies before comparing numbers.

Conventions for north and calm. In aviation weather reports (METAR), wind direction is given in degrees true, in three digits, and north is written as 360 rather than 000. Calm wind is reported as 00000KT, so a direction of 000 is associated with calm conditions rather than a north wind. Variable wind may be reported as VRB. Many other data sources instead use 0° for north, which is why this calculator treats 0° and 360° as the same north sector. If a source gives 0° together with a speed of 0, interpret it as calm, not as a northerly.

Rounding to 22.5° sectors. The result is rounded to the nearest of 16 points, so every answer represents a range of 22.5°, not an exact bearing. Example: 250° gives \(250 \div 22.5 = 11.11\), which rounds to index 11, or WSW (centered on 247.5°). The true direction could be anywhere from 236.25° to 258.75° and still be shown as WSW, or even 250° exactly, a difference of 2.5° from the center. For tasks that need precision, such as runway crosswind calculations or sail trim, keep the original degree value and use the compass point only as a quick label.

FAQ

Does 0° equal 360°? Yes — both point due North. The calculator normalizes 360° to 0° before converting.

What's the difference between 8-point and 16-point compasses? An 8-point compass uses 45° sectors (N, NE, E, SE…). This tool uses the finer 16-point system with 22.5° sectors for greater precision.

Can I use negative degrees? Yes. Negative angles are wrapped into the 0–360 range, so -90° becomes 270° (West).

Last updated:

Most popular in Weather and Climate

View all Weather and Climate calculators