ThisCalculator

Math

Angle of Elevation Calculator: Formula and Examples

Updated · Standard formula, shown below

Angle of elevation 26.57 degrees
Line-of-sight distance
11.18 m
Result
Vertical rise
5 m
You entered
Horizontal distance
10 m
You entered

Angle of Elevation Calculator: Formula and Examples

An angle of elevation calculator finds the upward angle from a horizontal line to an object, using its vertical rise and horizontal distance. Enter those two measurements in the same units to get the angle in degrees, plus the line-of-sight distance if needed.

Formula

The angle of elevation is the inverse tangent of vertical rise divided by horizontal distance:

θ = arctan(h / d)

  • θ is the angle of elevation, measured in degrees.
  • h is the vertical rise from the observer’s horizontal level to the target, in metres or another length unit.
  • d is the horizontal distance from the observer to the point directly below the target, in the same length unit as h.

The calculator also uses the right-triangle relationship s = √(h² + d²) for line-of-sight distance s, the straight sloping distance between observer and target. The angle output is rounded to two decimal places.

Worked Example

With the default inputs, the vertical rise is 5 m and the horizontal distance is 10 m.

  1. Divide rise by horizontal distance: h / d = 5 / 10 = 0.5.
  2. Take the inverse tangent in degrees: θ = arctan(0.5) ≈ 26.565°.
  3. Round to two decimal places: the angle of elevation is 26.57°.
  4. For the optional line-of-sight distance, s = √(5² + 10²) = √125 ≈ 11.18 m.

What an Angle of Elevation Means

An angle of elevation describes how far above the observer’s horizontal line of sight a target appears. It is measured upward from the horizontal, not from the vertical. If you look straight ahead at the same height, the angle is 0°. Looking upward makes it positive; looking downward is described as an angle of depression.

The geometry is a right triangle: the horizontal leg is the ground-level distance, the vertical leg is the height difference, and the hypotenuse is the line-of-sight distance. The angle is at the observer. This distinction matters because “distance to the object” may mean either horizontal distance or sloping viewing distance, and the formula depends on which one is known.

How to Use the Calculator

  • Measure the vertical difference between the observer’s eye level and the target point. If a building is 18 m tall and your eye level is 1.6 m above its base level, the relevant rise is 16.4 m, assuming the ground levels align.
  • Measure the horizontal distance to the point directly beneath the target, not the distance along a slope or the viewing distance.
  • Enter both measurements in the same unit. You can use metres, centimetres, feet, or yards, provided both entries use one consistent unit.
  • Read the first result as degrees above horizontal. Use the line-of-sight result when you need the direct sloping distance.

For a target above a level surface, height and horizontal distance are often estimated from plans, a tape measure, or a range measurement. If the ground slopes, identify the horizontal separation and the true vertical difference separately; a simple ground-distance measurement on a slope is not automatically the horizontal leg.

When It Is Useful

Elevation angles appear in surveying, construction layout, navigation, astronomy, and basic trigonometry. The calculator can estimate the viewing angle to the top of a structure, the slope of a line of sight, or the angle needed to describe a right-triangle problem. It can also help check a hand calculation before using the result in a drawing or model.

For example, if a point is 12 ft above eye level and 30 ft away horizontally, the ratio is 12/30 = 0.4, so the elevation angle is about 21.80°. The units cancel in the ratio. Likewise, 12 m and 30 m produce the same angle: the actual scale changes, but the triangle’s shape does not.

Common Errors and Limits

  • Mixing horizontal and sloping distance: The angle formula requires horizontal distance. If you know the line-of-sight distance instead, use sin(θ) = h/s or cos(θ) = d/s, as appropriate.
  • Using different units: Do not divide a height in feet by a distance in metres. Convert one measurement first, or enter both in the same unit.
  • Using the wrong height: The rise is the target’s height relative to the observer’s horizontal level, not necessarily its full height above the ground.
  • Rounding too early: Keep extra digits during intermediate calculations and round the final angle to the precision appropriate for the measurements.
  • Assuming ideal geometry: The calculation treats the measurements as exact and the triangle as flat, with a horizontal baseline. Measurement error, uneven terrain, and an ill-defined target point affect the real-world result.

If horizontal distance is zero and the target is directly overhead, the angle approaches 90°; the tangent ratio is undefined at exactly 90°. If both rise and distance are zero, there is no defined direction or angle. The calculator requires a usable horizontal distance for an ordinary elevation calculation.

Frequently Asked Questions

How do you calculate an angle of elevation?
Divide the vertical rise by the horizontal distance, then take the inverse tangent: θ = arctan(h/d). Make sure both lengths use the same unit.

Is the angle of elevation measured from the horizontal or vertical?
It is measured upward from the horizontal line at the observer. The angle between the line of sight and the vertical is its complement in a right triangle.

Can I calculate the angle using height and slant distance?
Yes. If h is the vertical rise and s is the line-of-sight distance, use θ = arcsin(h/s). The calculator’s main formula instead expects horizontal distance.

Does the angle change if I use feet instead of metres?
No, provided both measurements use the same unit. The ratio h/d is unchanged by converting both lengths consistently.

What is the difference between elevation and depression?
An angle of elevation points above the observer’s horizontal; an angle of depression points below it. In a level, parallel-horizontal setup, the two angles can be equal when viewed across the same line of sight, but they are measured at different positions.

Related

Formula used
in h | Vertical rise | m | 5 | 0
in d | Horizontal distance | m | 10 | 0
out angle | Angle of elevation | degrees | atand(h / d) | 2
out sight | Line-of-sight distance | m | sqrt(h^2 + d^2) | 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.