Angle of Depression Calculator uses θ = tan⁻¹(|observer − target| ÷ horizontal distance) to find the downward sight-line angle, vertical drop, line of sight distance, and slope gradient results cards.
The Angle of Depression Calculator finds the angle formed between a horizontal line of sight and the downward line from an observer to a target at a lower elevation. Enter the observer altitude, target elevation, and horizontal distance — the calculator returns the angle, line of sight distance, slope gradient, and several supporting values in one step.
The tool also handles the reverse: if the target sits higher than the observer the result is labelled an angle of elevation, and if both share the same elevation the result is a level sight line at 0°. All three cases use the same right-triangle formula.
What the angle of depression means
An angle of depression is measured downward from the observer's horizontal line of sight to the object being viewed. Imagine standing at an elevated position and looking toward something below you — the angle between a perfectly horizontal line forward and the actual line of sight down to the target is the angle of depression.
The same numerical angle applies in reverse: if you are standing at the lower point and looking up toward the observer, that same angle becomes the angle of elevation. Both cases use the same formula. This calculator distinguishes them automatically based on which elevation value is larger.
In this tool, the angle is driven entirely by the vertical difference between the two elevation inputs and the horizontal distance between them — not by any diagonal or direct-line measure.
Angle of depression formula
The core formula is the inverse tangent of the vertical difference divided by the horizontal distance:
θ— Calculated angle of depression (or elevation) in degreesho— Observer altitude (the height of the viewing point)ht— Target elevation (the height of the observed point)d— Horizontal distance between observer and target
The line of sight distance is the hypotenuse of the right triangle formed by the vertical difference and horizontal distance:
Slope gradient expresses the same vertical-to-horizontal relationship as a percentage:
Understanding the inputs
Each of the four inputs directly determines the calculated angle. Entering an incorrect value in any field shifts the result proportionally.
Observer Altitude
The elevation of the point from which you are looking — typically the height of an eye-level position, the top of a structure, or any reference point above ground. Entered in feet or metres depending on your chosen measurement system.
This value defines the top vertex of the right triangle. If it is lower than the target elevation, the result switches to an angle of elevation.
Target Elevation
The elevation of the object or point being observed. It can be at ground level (zero) or any height above ground. The calculator subtracts this from the observer altitude to find the effective vertical difference.
If target elevation equals observer altitude, the vertical difference is zero and the result is a level sight line with 0°.
Horizontal Distance
The flat, ground-level distance between the observer and the target measured in the same unit as the altitude fields. This is the base of the right triangle — it must always be greater than zero.
As horizontal distance increases with the same vertical drop, the angle decreases. As it decreases, the angle steepens toward 90°.
Measurement System
Choose US Customary to enter values in feet and receive cross-unit outputs in yards and metres. Choose Metric to work in metres with kilometre and imperial-feet conversions shown in the results.
The calculated angle in degrees is unit-independent — it is the same regardless of whether you use feet or metres, as long as all three distance inputs share the same unit.
Understanding the results
The calculator returns seven distinct outputs. Each is derived from the same right triangle — only the representation changes.
Calculated Angle
The primary output — the angle between the horizontal and the line of sight, in decimal degrees. Labelled as an angle of depression when the observer is higher, angle of elevation when the target is higher, or a level sight line when both elevations match.
Effective Vertical Drop / Rise / Difference
The absolute height difference between the observer altitude and the target elevation, expressed in the primary unit and automatically converted to the other unit system. The label changes to "vertical rise" for elevation cases and "vertical difference" for the level case.
Line of Sight Distance
The straight-line diagonal distance from the observer to the target — the hypotenuse of the right triangle. Always longer than the horizontal distance whenever a vertical difference exists. Shown in the primary unit with one cross-unit conversion.
Slope Gradient
The vertical drop (or rise) expressed as a percentage of the horizontal distance. A 75% gradient means the line of sight drops 75 units vertically for every 100 units traveled horizontally. Useful in height-and-distance problems and terrain-style calculations.
Sightline Pitch x/12
Expresses the slope as a pitch ratio — the number of units of vertical change per 12 units of horizontal run. At a 75% gradient the pitch is 9/12. This format is common in geometry problems that involve roof-pitch-style ratios and comparative slope questions.
Vertical:Horizontal Ratio
Shows the relationship between the vertical difference and the horizontal distance as a simplified 1:N ratio. For a 150 ft drop over 200 ft, this is 1:1.33, meaning the horizontal run is 1.33 times the vertical drop. A ratio of 1:1 corresponds to a 45° angle.
Alternate Angles
Three additional representations of the same angle: radians (the angle as a fraction of π, used in most mathematical formulas), the complementary angle in degrees (90° minus the calculated angle, which is the angle at the top of the right triangle), and gradians (where a full circle equals 400 gon rather than 360°).
Worked example — default tool values
These are the default inputs loaded when you first open the calculator:
The effective vertical drop is 200 − 50 = 150 ft. Applying the angle of depression formula:
The line of sight distance and slope gradient follow from the same triangle:
Line of sight check: √(150² + 200²) = √(22 500 + 40 000) = √62 500 = 250 ft ✓
Edge cases and result interpretation
The Angle of Depression Calculator handles three distinct sight-line conditions automatically. The same formula applies in every case — only the label and interpretation change.
Observer altitude is greater than target elevation. The line of sight runs downward. The result is a positive angle of depression between 0° and 90°.
Target elevation is greater than observer altitude. The line of sight runs upward. The same formula produces the angle, but it is labelled an angle of elevation.
Both elevations are equal. The vertical difference is zero, so the angle is 0° and the line of sight distance equals the horizontal distance exactly.
Note: horizontal distance must always be greater than zero. A zero horizontal distance makes the denominator undefined and the angle calculation invalid.
Practical uses of this calculator
This calculator is suited for right-triangle geometry contexts where a horizontal base, a known vertical difference, and a sight-line angle are the primary values in play.
- Solving angle of depression and angle of elevation problems in basic trigonometry coursework
- Working through height-and-distance problems involving observer and target positions
- Checking sight-line geometry for visual-clearance or line-of-sight questions in geometry exercises
- Calculating slope gradient and pitch ratios in map reading or terrain-based geometry problems
- Classroom demonstrations of how the inverse tangent function connects vertical difference and horizontal distance
- Converting a known angle and horizontal distance into a vertical drop, or vice versa
References
- OpenStax. Algebra and Trigonometry, Chapter 7: "Right Triangle Trigonometry." OpenStax CNX, Rice University. Available at: openstax.org — Right Triangle Trigonometry
- CK-12 Foundation. Angles of Elevation and Depression. CK-12 FlexBook, Geometry Concepts. Available at: ck12.org — Angles of Elevation and Depression
- National Institute of Standards and Technology (NIST). The International System of Units (SI) — Unit Conversion Factors. NIST Special Publication 330 and NIST Handbook 44. Available at: nist.gov — SI Units