keepcalculator

06 Numbers and Powers

Angle Calculator: Elevation, Distance and Height

Card No. 06·0180 · Updated · Standard formula, shown below

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

An angle calculator for elevation and distance uses a measured angle and a known side of a right triangle to find an unknown distance or height. Enter the elevation angle and either the horizontal distance or the line-of-sight distance; the calculator gives the missing distance and the other useful triangle measurements.

Formula

This calculator uses right-triangle trigonometry. The elevation angle is measured from a level horizontal line up to the line of sight. If the known distance is horizontal, the vertical rise is h = d × tan(a). If the known distance is the sloping line of sight, the vertical rise is h = s × sin(a).

  • a is the angle of elevation, in degrees.
  • d is the horizontal distance, in metres.
  • s is the line-of-sight distance, in metres.
  • h is the vertical rise from the observer’s level to the target, in metres.

The remaining side follows from the same triangle: with horizontal distance known, s = d ÷ cos(a); with line-of-sight distance known, d = s × cos(a). The calculator’s “Known distance” selector tells it which entered distance to use. The other distance input is not used in that mode. The input constraints also require the unused value to be at least the entered value, so make sure both distance fields meet the stated limits.

Worked Example

Using the defaults, the elevation angle is 30°, the horizontal distance is 100 m, and the selected known distance is horizontal. The line-of-sight field is 115.47 m, but it is not used for this selection.

  1. Vertical rise: h = 100 × tan(30°) = 100 × 0.577350… = 57.74 m.
  2. Horizontal distance: x = 100 m.
  3. Line-of-sight distance: r = 100 ÷ cos(30°) = 100 ÷ 0.866025… = 115.47 m.

The main result is a vertical rise of 57.74 m. This is the height above the observer’s horizontal level, not necessarily the target’s height above the ground. If the observer’s eye is 1.6 m above a flat surface, for instance, the target’s height above that surface would be approximately 57.74 + 1.6 = 59.34 m, assuming the target and observer are on that same level surface.

How the Elevation Triangle Works

The angle, horizontal distance, vertical rise, and line-of-sight distance form a right triangle. The horizontal and vertical sides meet at 90°. The angle of elevation is at the observer; the horizontal side is adjacent to that angle, the vertical rise is opposite it, and the sloping line of sight is the hypotenuse.

That gives the standard relationships: tangent equals opposite divided by adjacent, sine equals opposite divided by hypotenuse, and cosine equals adjacent divided by hypotenuse. Use tangent when you know horizontal distance, and sine when you know the sloped distance. Confusing those two distances is a frequent source of large errors, especially at steep angles.

The angle must be above horizontal for an elevation calculation. An angle below horizontal is an angle of depression; the same triangle methods can apply, but the direction and sign of the vertical change must be interpreted appropriately. This calculator accepts angles from 0° up to 89.9°, so it is intended for upward sight lines rather than downward measurements or a vertical 90° sight line.

When to Use It and How to Read the Result

Use the calculation when you have a measured angle and one distance for a straightforward line-of-sight geometry problem. For example, a person 100 m horizontally from a point measures a 30° elevation angle. The estimated rise to that point is about 57.74 m. If instead the measured line of sight is 100 m at 30°, the rise is 50 m, because 100 × sin(30°) = 50. Those answers differ because the two examples use different known sides.

Read “vertical rise” as a difference in height from the observer’s level. To estimate absolute elevation above ground, add the observer’s height above the ground and account for any difference in ground level. To find a target’s height above its own ground surface, you also need the target’s ground elevation relative to the observer’s.

The result is in metres because the distance inputs are in metres. The trigonometric ratios themselves do not depend on the chosen length unit: enter feet for both distance values and the calculated distances will be in feet. For a conversion, 1 m is approximately 3.28084 ft, and 1 ft is exactly 0.3048 m. Do not mix feet and metres in the same calculation.

Measurement Accuracy and Common Mistakes

  • Measuring the angle from the wrong reference: elevation is measured from horizontal, not from vertical. An angle measured from vertical must be converted: for a right-angle reference, the elevation angle is 90° minus that angle.
  • Using the wrong distance: a ground or map distance is generally horizontal; a rangefinder aimed at the target may report line-of-sight distance. Choose the matching mode.
  • Using a degree value as radians: this calculator expects degrees. In software or a calculator that expects radians, convert degrees to radians by multiplying by π/180.
  • Rounding too early: keep the measured values at full available precision during calculation and round the final result to match the accuracy of the measurements.
  • Ignoring the observer’s position: the computed rise begins at the angle instrument or observer, not at ground level unless those are the same point.

Angle precision matters more as the angle approaches 90°. A small change in angle can then produce a large change in the horizontal-distance-based height, because tan(a) grows sharply near 90°. The calculator’s 89.9° upper limit avoids the undefined tangent at exactly 90°, but results at very steep angles can still be highly sensitive to measurement error.

Limits and Practical Checks

The formula assumes a flat, right-triangle model: the horizontal distance is level, the line of sight is straight, and the angle and distance refer to the same observer and target. It does not correct for terrain slope, obstacles, instrument calibration, atmospheric effects, or Earth curvature. For ordinary short-range geometry these effects may be immaterial; for long ranges or precise surveying, use appropriate surveying methods and corrections rather than treating this result as a complete measurement.

Check that the target is actually visible and that the angle instrument is level before taking a reading. If the distance comes from a map or a measured path over uneven ground, it may not equal the horizontal separation required by the formula. The calculator supplies geometric estimates from the entered values; the quality of the answer cannot exceed the quality and relevance of those measurements.

Frequently Asked Questions

How do I calculate height from an angle of elevation and distance?
For horizontal distance, multiply the distance by the tangent of the angle: height rise = distance × tan(angle). For a line-of-sight distance, multiply by the sine: height rise = line-of-sight distance × sin(angle).

Is angle of elevation measured from the ground or from vertical?
It is measured upward from a horizontal line at the observer. If your instrument reports an angle from vertical, convert it to an angle from horizontal before using this method.

What is the difference between horizontal distance and line-of-sight distance?
Horizontal distance is the level separation between observer and target. Line-of-sight distance follows the sloping path between them and is the triangle’s hypotenuse, so it is longer than the horizontal distance when the angle is above 0°.

Can I use this calculator with feet?
Yes. Enter both distance values in feet and the distance outputs will also be in feet. Use one consistent unit for all distance inputs.

Why does a small angle error change the answer so much?
At steep elevation angles, tangent changes rapidly, so a small measurement error can cause a substantial difference in estimated height. Improve the angle measurement and report the result with sensible precision.

Related

Formula used
in a | Elevation angle | deg | 30 | 0 | 89.9
in d | Horizontal distance | m | 100 | 0
in s | Line-of-sight distance | m | 115.47 | 0
sel mode | Known distance | Horizontal=1, Line of sight=2
out h | Vertical rise | m | mode - 1 + 0 * sqrt(d - s) + mode - 2 + 0 * sqrt(s - d) + mode - 1 * d * tand(a) + mode - 2 * s * sind(a) | 2
out x | Horizontal distance | m | mode - 1 + 0 * sqrt(d - s) + mode - 2 + 0 * sqrt(s - d) + mode - 1 * d + mode - 2 * s * cosd(a) | 2
out r | Line-of-sight distance | m | mode - 1 + 0 * sqrt(d - s) + mode - 2 + 0 * sqrt(s - d) + mode - 1 * d / cosd(a) + mode - 2 * s | 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

The whole Numbers and Powers drawer →