Advanced maths

Compass direction and bearing calculator

Normalize a bearing and see its nearest 16-point compass direction.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Compare wrapped and negative bearings, then inspect the directional SVG. Bearings here are measured clockwise from your chosen north reference.

Worked example comparison
ExampleOutputWhat to notice
One complete turnNormalized bearing0 degrees360° normalizes to 0°, north. Extra turns do not create a new compass direction.
A negative quarter turnNormalized bearing270 degrees−90° normalizes to 270°, west. It is not the same direction as positive 90°.
Past a full turnNormalized bearing90 degrees450° normalizes to 90°, east. Compare the arrow with the previous example.

Check your understanding

Before checking: do 45° and 405° point in different directions?

No. They differ by one complete turn and normalize to the same bearing.

Does this identify true north from a magnetic compass?

No. Magnetic declination and the chosen north reference require additional information. This calculator converts the angle you enter.

Behind the numbers

How this calculation works

North is 0°, east 90°, south 180° and west 270°. Each 16-point compass sector spans 22.5°. Negative angles and extra revolutions are normalized before the nearest sector is selected.

THE FORMULANormalized bearing = bearing modulo 360; sector index = floor((bearing + 11.25)/22.5) modulo 16

A worked example

A bearing of 225° points southwest (SW). A bearing of −90° normalizes to 270°, west.

Good to know

Direction conversion only, not a navigation fix. It does not determine magnetic declination, a geographic route or the heading needed to compensate for wind or currents.

A little curiosity

A full turn changes the number but not the direction

90°, 450° and −270° all point east when bearings increase clockwise from north. Adding or subtracting full turns leaves the direction unchanged, so the tool normalizes the input into a single 0° to less-than-360° revolution.

The 16-point labels divide that circle into equal 22.5° sectors. Their names are a convenient summary, while the numeric bearing retains finer directional detail.

The clock angle model also wraps directions around a full turn, but measures separation between hands rather than a bearing from north.

Choose the north reference before comparing bearings

A true bearing and a magnetic bearing are not automatically interchangeable. This tool interprets the angle relative to the north reference you supply and does not calculate magnetic declination or a location-specific correction.

Exactly halfway between two 16-point labels, the clockwise sector is selected by convention. A displayed cardinal label is an approximation to the entered angle, not evidence that a real route follows that exact cardinal direction.

A few questions, answered

Which way does the angle increase?

Clockwise: north 0°, east 90°, south 180° and west 270°.

Does the SVG use my device compass?

No. It illustrates your entered bearing without requesting sensors or location.

Find your calculator

Start typing to explore the library.