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.
Normalized bearing = bearing modulo 360; sector index = floor((bearing + 11.25)/22.5) modulo 16A 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 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.