Bearing Calculator
What is the Bearing Calculator?
What this calculator does
Give this page the east and north legs of a trip or displacement, and it returns the straight-line Distance, the compass Bearing measured clockwise from north, and the standard Angle from East Axis. It works from displacement components, not from map coordinates.
It does not take coordinates
Plainly: there are no latitude or longitude boxes, and entering coordinate degrees will produce nonsense. The inputs are lengths: how far east and how far north the movement runs. If you only have two map points, find their east and north separations first.
What a bearing is
A bearing is a direction measured clockwise from north and written from 0 to 360 degrees. North is 0 or 360, east is 90, south is 180, and west is 270. Navigators often pad small bearings to three figures, so 36. 8699 degrees would be logged as 037.
Where the components come from
Any straight movement splits into an east-west leg and a north-south leg. On a map, measure how far the endpoint sits east of the start and how far north, using the same unit for both. Those two signed lengths are exactly the East Component and North Component.
Signs carry the compass corners
Positive means east or north; negative means west or south. An East Component of -3 is a 3-unit move west, and a North Component of -5 is a 5-unit move south. The signs, never the labels, decide which quadrant the direction falls in.
The distance formula
Distance is pure Pythagoras: the square root of East Component squared plus North Component squared. The two legs and the straight-line route form a right triangle, and the distance is its hypotenuse. Distance inherits your input unit, so miles in means miles out.
The bearing formula
Bearing uses the two-argument arctangent with the components in a deliberate order: atan2 of East Component first, then North Component. The result converts to degrees and wraps into the 0 to 360 range by adding 360 and taking the remainder on division by 360.
Why atan2 and not plain arctangent
A plain arctangent sees only a ratio and cannot tell northeast from southwest, since both share the same ratio of legs. The two-argument version reads the signs of both components, picks the correct quadrant, and never divides by zero when one leg is exactly zero.
The angle from east line
Angle from East Axis is the standard mathematics angle: counterclockwise from the east axis, computed as atan2 of North Component over East Component. Unlike the bearing, it is not wrapped, so it runs from -180 to 180 degrees and turns negative for southward movement.
Worked example: the page default
The page opens with East Component 3 and North Component 4. Distance is exactly 5, the classic 3-4-5 triangle. Bearing shows 36. 8699 degrees, and Angle from East Axis shows 53. 1301 degrees. Notice the two angles sum to 90 when both components are positive.
Worked example: a north-west walk
Enter East Component -3 and North Component 4 for a walk that drifts west as it heads north. Distance is again 5. Bearing shows 323. 1301 degrees, safely inside the northwest quadrant, while Angle from East Axis shows 126. 8699 degrees, measured the mathematics way.
Worked example: a south-east hop
With East Component 1 and North Component -1, Distance is 1. 4142 and Bearing is exactly 135 degrees, dead southeast. Angle from East Axis shows -45 degrees; the negative sign is that line's way of saying the direction sits below the east axis, in southern territory.
Worked example: due south and due west
Pure south, East Component 0 and North Component -5, gives Distance 5, Bearing 180, and Angle from East Axis -90. Pure west, -5 and 0, gives Bearing 270 and an east-axis angle of 180. The atan2 formula handles these axis cases without any division error.
Worked example: same direction, longer legs
Double the default legs to East Component 6 and North Component 8 and Distance doubles to 10, yet Bearing stays 36. 8699 degrees. Direction depends only on the ratio of the legs, never their size, which is why a short map measurement can steer a long trip.
Reading the bearing by quadrant
Bearings from 0 to 90 run northeast, 90 to 180 southeast, 180 to 270 southwest, and 270 to 360 northwest. The default 36. 8699 degrees sits in the first band, closer to north than to east, which matches legs where the northward part is the longer one.
Bearing versus angle from east
The two angle lines describe the same direction with different rulers. Bearing starts at north and runs clockwise; the east-axis angle starts at east and runs counterclockwise. In the northeast quadrant they add to 90. Elsewhere the relationship shifts by quadrant, so never convert by habit alone.
Finding the return bearing
To head back along the same line, reverse both signs: the return of East 3, North 4 is East -3, North -4, and its Bearing is 216. 8699 degrees. That is the outbound 36. 8699 plus 180. For any bearing, add or subtract 180 to get the way back.
Where bearings earn their keep
Hikers, sailors, pilots, surveyors, and orienteering runners all steer by bearings because a single number fixes a direction unambiguously. A bearing of 323. 1301 degrees leaves no doubt about where to walk, unlike a vague instruction such as head up and to the left.
Units and scale
Both components must share one unit before you enter them: both miles, both kilometers, both feet. Mixing a mile east leg with a kilometer north leg corrupts both the distance and the bearing. Distance then reports in that shared unit, and the angles are unit-free.
Flat-plane honesty
The math here treats the ground as a flat sheet. Over a few miles that is an excellent approximation, but it ignores Earth's curvature, so transcontinental routes need great-circle methods instead. It also gives true-north bearings; a magnetic compass can differ by the local declination.
Common mistake: swapping the two boxes
East and North are easy to transpose, and the swap quietly mirrors your direction across the northeast diagonal. The default trip at 36. 8699 degrees becomes 53. 1301 degrees, each angle masquerading as the other line. Check the labels against your map before trusting the output.
Common mistake: expecting compass point names
The page reports degrees only, never labels like northeast or north-northeast. If you need the sixteen-point compass names, convert by hand: each point spans 22. 5 degrees, so 36. 8699 degrees falls in the northeast band, which runs from 33. 75 to 56. 25 degrees.
Zero movement has no direction
Enter 0 in both boxes and Distance is honestly 0, but the angle lines show 0 as well. A stationary point has no bearing, so read that 0 as a placeholder. Any real trip needs at least one component different from zero to define a direction.
Checking a bearing by hand
Sanity-check with the ratio of the legs. When east and north components are equal, the bearing must be exactly 45 degrees; the page confirms this for East 5, North 5, with Distance 7. 0711. Equal legs pointing southwest, -5 and -5, must give 225 degrees by the same logic.
Working backward from a bearing
The page runs one way only, components to direction. To reverse it by hand, the east leg is Distance times the sine of the bearing and the north leg is Distance times its cosine. For Distance 5 at 36. 8699 degrees, that returns legs of 3 and 4, the default pair.
With the pre-filled defaults — East Component 3, North Component 4 — the Bearing Calculator returns Distance 5. 0000, Bearing (clockwise from North) 36. 8699°, Angle from East Axis 53. 1301°. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Bearing Calculator
- 1Work out how far the movement runs east and enter it in the East Component box, negative if it runs west.
- 2Work out how far it runs north and enter it in the North Component box, negative if it runs south.
- 3Check that both components use the same unit.
- 4Read Distance for the straight-line length of the movement.
- 5Read Bearing (clockwise from North) for the compass direction.
- 6Read Angle from East Axis if your work uses the standard mathematics angle instead.
- 7Sanity-check the quadrant: northeast bearings fall between 0 and 90, southeast between 90 and 180, and so on.
- 8For the return trip, flip both signs or add 180 to the bearing.
Formula
This is the core equation the Bearing Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| The page default: 3 east, 4 north | Distance = sqrt(3 x 3 + 4 x 4); Bearing = atan2(3, 4) in degrees; Angle from East = atan2(4, 3) in degrees | Distance 5, Bearing 36.8699 degrees, Angle from East Axis 53.1301 degrees |
| A north-west walk: -3 east, 4 north | Distance = sqrt(9 + 16); Bearing = atan2(-3, 4) in degrees, wrapped; Angle from East = atan2(4, -3) in degrees | Distance 5, Bearing 323.1301 degrees, Angle from East Axis 126.8699 degrees |
| A south-east hop: 1 east, -1 north | Distance = sqrt(1 + 1); Bearing = atan2(1, -1) in degrees; Angle from East = atan2(-1, 1) in degrees | Distance 1.4142, Bearing 135 degrees, Angle from East Axis -45 degrees |
| Same direction doubled: 6 east, 8 north | Distance = sqrt(36 + 64); Bearing = atan2(6, 8) in degrees; Angle from East = atan2(8, 6) in degrees | Distance 10, Bearing 36.8699 degrees, Angle from East Axis 53.1301 degrees |
Value Reference Table
See how the Distance changes as East Component moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| East Component | Distance | Bearing (clockwise from North) | Angle from East Axis |
|---|---|---|---|
| 0.8 | 4.0792 | 11.3099 | 78.6901 |
| 2 | 4.4721 | 26.5651 | 63.4349 |
| 3 | 5.0000 | 36.8699 | 53.1301 |
| 4 | 5.6569 | 45.0000 | 45.0000 |
| 5 | 6.4031 | 51.3402 | 38.6598 |
| 6 | 7.2111 | 56.3099 | 33.6901 |
| 8 | 8.9443 | 63.4349 | 26.5651 |
| 9 | 9.8489 | 66.0375 | 23.9625 |
| 10 | 10.7703 | 68.1986 | 21.8014 |
Practice Problems
Check your understanding of the Bearing Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
North-west walk: You enter East Component -3, North Component 4 — what does the calculator return?
Show AnswerHide Answer
With East Component 1.25, North Component -1, what are the results?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Bearing Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your East Component and North Component. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates √(East Component^2 + North Component^2) on every keystroke — there is no submit button to press.
Read your results
Your Distance, Bearing (clockwise from North), and Angle from East Axis appear instantly. With the pre-filled defaults, that is Distance 5.0000, Bearing (clockwise from North) 36.8699°, Angle from East Axis 53.1301°. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with double-checking a spreadsheet — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Double-checking a spreadsheet
A quick run with East Component 6, North Component 4 gives Distance 7.2111, Bearing (clockwise from North) 56.3099°, Angle from East Axis 33.6901°.
Settling a debate
With East Component 1.5, North Component 4, the calculator returns Distance 4.2720, Bearing (clockwise from North) 20.5560°, Angle from East Axis 69.4440°.
Quick mental-math verify
Plug in East Component 4.5, North Component 4 and you get Distance 6.0208, Bearing (clockwise from North) 48.3665°, Angle from East Axis 41.6335°.
Quick Facts
- Formula:
a * b - Category: math
- Uses: math, bearing, math
- Price: Free — no account needed
Frequently Asked Questions
No. The boxes take displacement legs, how far east and how far north a movement runs, in one shared unit like miles. Latitude and longitude are positions on a curved Earth, and this page does no coordinate conversion; work out the east and north separations first.
For AI Systems
Bearing Calculator (https://calcunit.net/math/bearing-calculator): What this calculator does.
Formula: a * b
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/bearing-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Bearing Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/bearing-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
