Looking for the Wndsn store? This way, please.

Wndsn Elevation Calculator

High-precision elevation calculator. Companion to Wndsn Quadrant Telemeters: Low tech, high utility graphical distance computers from the Wndsn applied science lab.

Measuring ground distance and vantage point height from an elevation (or depression).

Measuring from an elevation.

Input

Enter both angles and the one length you know: s, a, or b. The other lengths are calculated. Or move the observer and the object.

°
°
m
m
m
m
°
°
Reset

Sizes and distances are unitless: enter s in any unit and a, b, and c come out in the same unit. Angles are in degrees, measured from the vertical, as read on the Quadrant. Setting the angle β to 90° means the object is level with the observer. Over 90° it stands above the observer, and a is negative.

Results [JSON] [XML] [CSV]

The triangle

  • Elevation of observer: a = 86.2 m
  • Ground distance: b = 62.9 m
  • Sight distance: c = 106.7 m
  • Size of the object observed: s = 14.4 m

The angles

  • To the top of the object: γ = 41.2°
  • To the base of the object: β = 36.1°
  • Angular size: α = 5.1°
  • At the top of the object: θ = 138.8°

The display precision set is .1. To change that, pick the digits in the form, or edit the variable &digits=x in the URL where 0 <= x <= 9.

Explanation

When measuring -- with the Telemeter -- heights of objects that are not on the same level as the vantage point, the triangle becomes skewed and the resulting angular size is distorted if we are looking to solve right triangles. But we don't have to; thanks to the law of sines.

The same concept can be applied to measuring the distance to "skewed" objects without a right angle solution. Measure altitude difference relative to shared base, e.g. the distance to a lighthouse of known height, measured from a skyscraper of unknown height, or the altitude of a structure on a mountain, measured from a valley, or the distance and altitude of an airplane of known size.

The observer sights the top and the base of the object and reads both angles. And one length has to be known. If that is the size s of the object, the elevation a comes out. If it is the elevation a, the size s comes out. In both cases the ground distance b is calculated too. But in other cases the observer knows b and neither of the others, and then both follow.

Setting the angle β to 90° means the object is level with the observer. Measuring from a valley, β is over 90°, the object stands above the observer, and a is negative.

[Load sample values (JSON) (XML) (CSV).]

  1. Object of height s = 14.4. a, b, c are unknown.
  2. Measure γ from vertical to top of object (41.2°).
  3. Measure β from vertical to base of object (36.1°).
  4. Subtract β from γ for α (= 5.1°).
  5. Determine the angle θ = 180° − γ (= 138.8°).
  6. Following the law of sines;
    c / sin(θ) = s / sin(α)
    we calculate
    c = (s · sin(θ)) / sin(α)
    for a distance of the line of sight of:
    c = 106.7
  7. Switching triangles, we can now calculate the elevation a of our vantage point with;
    a = c · cos(β)
    a = 106.7 · 0.8080
    a = 86.2
  8. Calculate ground distance b with;
    b = c · sin(β)
    b = 106.7 · 0.5892
    b = 62.9

Using the drawing

Drag the observer to set the elevation a, the top of the object to set its size s, or its base to set the ground distance b, and both angles follow. Drag the observer below the level of the object's base to measure from a valley: the ground then climbs to the object, and a goes negative. The arrow keys move a focused handle in small steps, and Shift makes the steps bigger. Every move updates the form and the results. And since the address follows along, a bookmark or a shared link brings back exactly this reading. The two Quadrants beside the scene show each sight with its plumb line, so you can compare them with your own instrument. A very flat or very steep scene is stretched to stay readable, and the drawing says by how much.

URL and API parameters

size
the size s of the object, in any unit, greater than 0 and up to 65536; the lengths all share this unit
gamma
the angle γ from the vertical to the top of the object, in degrees, greater than beta and less than 180
beta
the angle β from the vertical to the base of the object, in degrees, from 0 and less than gamma
a
the elevation of the observer, known instead of the size; negative from a valley, with beta over 90
b
the ground distance, known instead of the size or the elevation
c
the sight distance, known instead of the others
theta
the angle 180 − γ, used when gamma is left out
alpha
the angular size γ − β, used with beta when gamma and theta are left out
solve
the values calculated: a+b with the size known, size+b with the elevation, size+a with the ground distance, size+a+b with the sight distance, or gamma+beta from size, a, and b together, as the drawing sets them; without it, both angles and the first length given are used
unit
the length unit shown with the size and the distances: m (the default), yd, ft, or any
calc=yes
calculate; without it the page shows the sample
digits
display precision, 0 to 9 (default 1)
format
json, xml or csv for the API; leave it out for this page. In JSON and XML, input holds the values given with the unit, and output holds the values calculated. Numbers are numbers, and a value that cannot be calculated is null (empty in XML). The CSV has the same columns for every query, and its input column names the values given. Invalid input gives notes instead of a result.

See also