Calculate the missing distance, height, or angle of elevation from two known values, with results in meters, feet, degrees, or radians.
- All Math and Numbers Calculators
- Lead Angle Calculator
- DMS Calculator (Degrees, Minutes, Seconds)
- Reference Angle Calculator
- Ladder Angle Calculator
- Vertical Exaggeration Calculator
- Incline Plane Force Calculator
Angle of Elevation Formula
The angle of elevation is found from a right triangle where the distance is the horizontal distance along the ground and the height is the vertical height above the surface. The calculator uses the tangent relationship:
tan(theta) = H/D
To calculate the angle of elevation:
theta = arctan(H/D)
To calculate height from surface:
H = tan(theta) * D
To calculate horizontal distance:
D = H / tan(theta)
- theta = angle of elevation
- H = height from the surface
- D = horizontal distance from the observer to the point below the object
- tan = tangent function
- arctan = inverse tangent function
The calculator lets you enter any two values and solves for the missing one. If you enter distance and height, it finds the angle. If you enter distance and angle, it finds the height. If you enter height and angle, it finds the distance. Length units are converted internally so that distance and height can be entered in different units. Angles can be entered or returned in degrees or radians.
Common Angle and Tangent Values
These values can help you check whether an angle of elevation result is reasonable.
| Angle | Radians | tan(angle) | Meaning |
|---|---|---|---|
| 5° | 0.0873 | 0.0875 | Small rise over a long distance |
| 15° | 0.2618 | 0.2679 | Moderate elevation |
| 30° | 0.5236 | 0.5774 | Height is about 58% of distance |
| 45° | 0.7854 | 1.0000 | Height equals horizontal distance |
| 60° | 1.0472 | 1.7321 | Height is much greater than distance |
Length Unit Conversion Factors
The calculator converts distance and height to meters before applying the trigonometric formula.
| Unit | Abbreviation | Meters per unit |
|---|---|---|
| Centimeter | cm | 0.01 |
| Meter | m | 1 |
| Kilometer | km | 1000 |
| Inch | in | 0.0254 |
| Foot | ft | 0.3048 |
| Yard | yd | 0.9144 |
| Mile | mi | 1609.34 |
Example Calculations
Example 1: Find the angle of elevation
You are 50 meters from the base of a building, and the building is 20 meters tall.
theta = arctan(H/D)
theta = arctan(20/50)
theta = arctan(0.4) = 21.8014°
The angle of elevation is about 21.8014 degrees.
Example 2: Find the height from surface
The horizontal distance is 100 feet and the angle of elevation is 30 degrees.
H = tan(theta) * D
H = tan(30°) * 100
H = 0.5774 * 100 = 57.7350 ft
The height from the surface is about 57.7350 feet.
FAQ
What is the angle of elevation?
The angle of elevation is the angle measured upward from a horizontal line of sight to an object above you. For example, if you stand on level ground and look up at the top of a tree, the angle between the ground-level horizontal line and your line of sight is the angle of elevation.
Do distance and height need to use the same unit?
No. You can enter distance and height in different units, such as feet for distance and meters for height. The calculator converts both values to meters before calculating, then converts the missing length result back to the unit selected for that field.
Why does the distance have to be horizontal distance?
The tangent formula uses the opposite side divided by the adjacent side of a right triangle. The height is the opposite side, and the ground distance is the adjacent side. If you use a sloped line-of-sight distance instead of horizontal distance, the tangent formula will not match the triangle used by this calculator.
