An angle of elevation calculator can find the horizontal distance to an object when you know its height above your observation point and the angle up to its top. Enter the vertical height and elevation angle; the calculator returns the horizontal distance, with the line-of-sight distance available as a useful related measurement.
Formula
The horizontal distance follows from the tangent ratio in a right triangle:
d = h / tan(θ)
- d is horizontal distance from the observer to the point directly below the target, in metres.
- h is the target’s vertical height above the observer’s eye or instrument level, in metres.
- θ is the angle of elevation, measured in degrees above a horizontal line.
The calculator also gives the slant, or line-of-sight, distance using s = h / sin(θ). It assumes a right triangle and level horizontal ground between the observer and the point under the target. The angle functions use degrees, so the result does not depend on whether you describe the angle in degrees elsewhere.
Worked Example
Using the calculator’s defaults, the vertical height difference is 10 m and the angle is 30°.
- Horizontal distance: d = h / tan(θ) = 10 / tan(30°).
- tan(30°) is approximately 0.57735, so d is approximately 17.3205 m.
- Rounded to two decimal places, the horizontal distance is 17.32 m.
- Line-of-sight distance: s = h / sin(θ) = 10 / sin(30°) = 10 / 0.5 = 20.00 m.
The headline result is the horizontal distance. The 20 m result is the diagonal sightline, not the distance along the ground.
What the Angle of Elevation Means
An angle of elevation is measured upward from a horizontal reference line at the observer. If you look straight ahead, the angle is 0°. Looking up gives a positive angle; the steeper the look, the larger the angle. It is not measured from the vertical direction.
The angle, height difference, and horizontal distance form a right triangle. The vertical side is opposite the angle, and the horizontal side is adjacent to it. Since tangent is opposite divided by adjacent, rearranging tan(θ) = h/d gives d = h/tan(θ). This is why both a vertical measurement and an angle are required to calculate an unknown horizontal distance.
When to Use This Calculation
This method is useful for estimating how far away a point is when its elevation relative to your viewing position is known. For example, it can relate the measured height of a pole’s top above eye level to the ground distance from its base, provided the ground is level and the angle is taken from the observer’s horizontal. It can also help solve classroom trigonometry problems or check a surveying estimate.
Be precise about what “height” means. If the object is 10 m tall but your eye is 1.6 m above the ground, the vertical difference from eye level to its top is 8.4 m, assuming the base and observer stand at the same elevation. Using the full 10 m would overstate the calculated horizontal distance at the same angle. If the observer and object base are at different elevations, account for that difference before applying the formula.
How to Read and Convert the Result
The calculator reports metres. For a result in feet, multiply metres by approximately 3.28084; for a result in yards, multiply metres by approximately 1.09361. Conversely, convert a height in feet to metres by multiplying by 0.3048 before entering it. Keep the vertical height and calculated distance in the same unit.
Horizontal distance is the plan-view or ground-level separation, not the length of the ray from your eye to the target. The calculator’s second output is that ray length. In the worked example, the target is 17.32 m horizontally away while the sightline is 20 m long. When the angle is small, these two distances can be quite different.
Common Errors and Limits
- Entering the wrong angle: Use the angle above horizontal, not the angle measured from vertical. If a source gives an angle from vertical, subtract it from 90° to get the elevation angle.
- Mixing units: Do not enter a height in feet while interpreting the output as though it were based on metres. Convert first.
- Using total object height: The formula needs vertical difference between the target point and the observer’s sightline, not necessarily the object’s height from its base.
- Rounding too early: Keep the measured angle and intermediate values at full precision, then round the final distance to a level supported by the measurements.
- Assuming sloping ground is level: The formula gives horizontal separation. A ground path over a hill or slope is not necessarily the same distance.
At 0°, the tangent is zero, so a finite vertical height does not produce a finite horizontal distance; the target would be on the horizontal sightline. As the angle approaches 0°, the calculated distance becomes extremely large and sensitive to small angle errors. At 90°, the target is directly overhead and horizontal distance is zero, but the calculator excludes exactly 90° because the slant-distance expression divides by sin(θ) safely while the tangent-based expression is not a useful field measurement at that boundary. Its upper input limit is just below 90°.
Real measurements also have uncertainty. A small error in angle can cause a substantial change in distance, especially at shallow angles. The calculation treats the supplied height and angle as exact and does not adjust for terrain, atmospheric effects, or instrument alignment.
Frequently Asked Questions
How do I find distance with an angle of elevation?
Measure the vertical height difference and the angle above horizontal, then calculate horizontal distance as height divided by the tangent of the angle: d = h/tan(θ).
Can I find distance with only the angle of elevation?
No. An angle alone describes a direction but not a scale. You also need a known vertical height, a known distance, or another independent measurement.
Is angle-of-elevation distance the same as line-of-sight distance?
No. The tangent formula gives horizontal distance. The diagonal line-of-sight distance is h/sin(θ), assuming the same right-triangle setup.
What if I know the horizontal distance and want the angle?
Use θ = arctan(h/d), where h is the vertical difference and d is the horizontal distance. Ensure the calculator or formula reports the angle in degrees if that is the unit you need.
Does this work when the ground is sloped?
It can still calculate horizontal separation if the vertical difference and angle are measured correctly, but it does not give distance along sloping ground. That ground-path distance requires additional terrain information.
Related
Formula used
in h | Vertical height difference | m | 10 | 0 in a | Angle of elevation | degrees | 30 | 0 | 89.999 out d | Horizontal distance | m | h / tand(a) | 2 out s | Line-of-sight distance | m | h / sind(a) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Greater Than Less Than Fractions Calculator1
- E Calculator Formula: Euler’s Number Explained2.718282
- Cone Diameter Calculator: Formula and Examples10.00 cm
- Angle of Depression Calculator and Formula26.57 degrees
- Angle Calculator: Elevation, Distance and Height
- Binary Floating Point to Decimal Calculator in Java