Angle of elevation
θ = atan(3 / 4) ≈ 36.869898°
θ is upward from the observer's horizontal
Decimal results are approximate: up to 6 decimal places, or 6 significant digits for extreme values. Values near angular endpoints retain extra digits. Internal values stay unrounded.
- Angle of elevation
- 36.869898°
- Height difference
- 3
- Horizontal distance
- 4
- Radians
- 0.643501
Angle of Elevation Calculator
The angle of elevation calculator describes an upward line of sight measured from a horizontal reference at the observer. Enter vertical height difference and horizontal distance to find the angle, or solve for either length from a known angle. The triangle separates those two components from the diagonal sight line. Height difference means target height minus observer or reference height; it is not automatically the target object's full height above the ground.
Interpret a rising sight line with the angle of elevation calculator
Imagine looking across a level line and then raising your gaze toward a target above it. The amount of that upward rotation is the angle of elevation. In a flat right-triangle model, the height difference is opposite the angle and the horizontal distance is adjacent to it. Their quotient is the tangent. A steeper sight line has a larger angle, while the same height difference viewed from farther away has a smaller one.
Establish the observer's reference level
- Choose Height difference + distance when both components are known. Measure horizontal separation rather than the slanted distance to the target. Use the same unit for both lengths, and enter nonnegative magnitudes for this upward-looking workflow.
- Subtract the observer's reference height from the target height before entering the difference. If the observer's eyes are 1.6 meters above the same level ground, and the target is 9.6 meters high, the relevant difference is 8 meters. This page does not add eye height automatically.
- Choose Angle + distance to find the vertical difference, or Angle + height difference to find horizontal separation. Angle fields use degrees. A target directly overhead is the vertical boundary at 90° and has zero horizontal separation.
- Check the primary result, component labels, and formula substitution. To obtain full object height from a calculated difference, add the observer's reference height separately when both levels share a valid datum. Reset restores the initial height-three, distance-four example.
Tangent formulas and horizontal/vertical boundaries
- For positive horizontal distance d and vertical difference h, θ = atan(h/d). The browser evaluates the equivalent atan2(h,d) to retain the exact vertical case and avoid overflowing an intermediate quotient. Convert radians to degrees using 180/π.
- For a known nonvertical angle, h = d × tan(θ), where θ is converted from degrees to radians first. A zero angle and positive distance produce zero height difference. A 90° angle with positive distance cannot produce a finite height.
- To find distance, d = h/tan(θ) for 0° < θ < 90°. At 90°, a positive height difference gives exactly zero horizontal distance. At 0° with zero height difference, any positive distance fits, so the distance is undefined rather than uniquely zero.
- Both lengths zero leave the sight direction undefined. Negative lengths are outside this magnitude-based model. For a target below the reference level, switch to the depression page, which shows the downward measurement convention instead of interpreting a negative elevation here.
Worked height and distance examples
- A target 3 meters above the observer's horizontal and 4 meters away horizontally gives θ = atan(3/4), approximately 36.869898°. The diagonal is 5 meters, but entering that diagonal as the horizontal distance would create a different triangle and a wrong angle.
- A 30° elevation angle and horizontal distance of 20 meters give h = 20 × tan(30°), approximately 11.547005 meters. If the observer's eye level is 1.5 meters above a shared level-ground datum, the target's full height would be approximately 13.047005 meters.
- A height difference of 8 meters viewed at 45° gives distance 8/tan(45°), approximately 8 meters. Using the 9.6-meter object height from the earlier eye-level example would overstate the separation because the triangle starts at the observer's eyes.
- At a fixed difference of 10 meters, distances of 10 and 20 meters give angles of 45° and approximately 26.565051°. Doubling the viewing distance does not halve the angle; tangent is nonlinear. This comparison is useful when exploring a sketch or an introductory trigonometry exercise.
Uses of the flat right-triangle model
Learners can practice choosing opposite and adjacent sides, check inverse tangent calculations, and distinguish the observer's level from an object's base. A photographer planning a simple line of sight can compare geometric viewing angles when the height and horizontal separation are known. Diagrams of poles, towers, raised targets, or classroom sighting exercises are common examples. The model assumes a straight sight line and a perpendicular vertical/horizontal frame. Sloped ground may change the relationship between ground distance and horizontal distance, even when the tangent equation itself remains applicable to the correctly measured components.
Length units and measurement uncertainty
The angle of elevation calculator performs idealized geometry locally; it is not a calibrated surveying or safety instrument. Uncertainty in height, horizontal distance, and the reference level affects the answer. Ordinary displays use up to six decimal places, extreme magnitudes use six significant digits, and values close to angular endpoints can retain extra digits. Internal values remain unrounded. Unrepresentable results and nearly vertical differences that the browser cannot resolve receive an error. Do not mix feet with inches, confuse ground slope distance with horizontal run, or measure the angle from vertical. Atmospheric effects and Earth curvature are outside this flat local model.
Frequently Asked Questions
Is the calculated height difference the building's total height?
Only when the reference level is the building's base. From eye level, add the observer's height above the same datum to the calculated difference; different ground levels require a consistent elevation reference.
Can I use a distance measured along the sight line?
This interface requires horizontal distance. A diagonal sight distance is the hypotenuse and needs a sine or cosine relationship to recover the components first.
Related tools