What is the angle of elevation?
The angle of elevation is the angle formed between the horizontal line of sight and the line drawn from an observer up to an object that is higher than the observer. It is a fundamental concept in trigonometry used in surveying, navigation, astronomy, and construction. This calculator finds that angle from two simple measurements: the vertical height of the object above eye level and the horizontal distance to its base.
How to use this calculator
Enter the height (the vertical, or "opposite", side) and the horizontal distance (the "adjacent" side) in the same units. The calculator returns the angle of elevation in degrees and radians, along with the line-of-sight distance (the hypotenuse). Because the angle depends only on the ratio of height to distance, you can use any consistent unit — metres, feet, or kilometres.
The formula explained
For a right triangle, the tangent of the elevation angle equals the opposite side over the adjacent side, so the angle is the inverse tangent (arctangent) of height divided by distance:
$$\theta = \arctan\!\left(\frac{\text{height}}{\text{distance}}\right)$$The line of sight is found with the Pythagorean theorem, \(L = \sqrt{\text{height}^{2} + \text{distance}^{2}}\).
Worked example
Suppose a tree casts its top 30 metres above your eye level and stands 40 metres away horizontally. Then
$$\theta = \arctan\!\left(\frac{30}{40}\right) = \arctan(0.75) \approx 36.87°.$$The line of sight to the treetop is
$$\sqrt{30^{2} + 40^{2}} = \sqrt{2500} = 50 \text{ metres}.$$FAQ
What is the difference between angle of elevation and angle of depression? Elevation looks upward from the horizontal to a higher object; depression looks downward to a lower object. For the same two points, the two angles are equal (alternate interior angles).
Do the units matter? No — as long as height and distance use the same unit, the angle is the same because it depends only on their ratio.
What if the distance is zero? The object is directly overhead, so the angle of elevation is \(90°\).