Drag the observer, or use the sliders for distance and angle
Controls
Situation
Target
Readings
- Horizontal distance, d
- 20m
- Angle, θ
- 30°
- tan θ
- 0.5774
- Observer's eye height
- 1.5m
- Computed height, H
- 13.05m
- Length of the line of sight
- 23.09m
How to use this simulation
- You start in "Angle of elevation" mode at the defaults: 20 m away, a 30° angle, 1.5 m eye height — read the computed height H below the stage.
- Drag the observer left and right to change the distance, or use the sliders. Press Play and watch the angle sweep on its own between 10° and 80°, and see how H responds.
- Switch the target between a tower, a tree and a building — the picture changes, the arithmetic never does.
- Move to "Angle of depression": now the observer is on top, the boat is below. Drag the boat and tick "alternate angle" to see the angle of elevation measured from the boat stay exactly equal to θ.
- In "Two observations", change α, β and x and watch the computed tower height H respond — the tower's real height is never a slider here, only the two angles and the distance walked are.
- Check the readings panel with your own calculator — that arithmetic is exactly what you write on the exam paper.
The tree nobody has ever measured
There's a tall tree by the school gate that nobody has ever measured — nobody owns a ladder that long, and a tape measure is useless against a trunk that thick. And yet you can state its height with total confidence, armed with nothing but an angle-measuring app on a phone and a tape measure laid flat on the ground. That trick is exactly what this chapter teaches.
Around 600 BCE, the Greek mathematician Thales is said to have measured the height of the Great Pyramid in Egypt without climbing it or touching it at all — he simply waited until his own shadow was exactly as long as his height, then measured the pyramid's shadow at that same moment. In today's language, that was a similar-triangles trick; we now do the same job more directly with the tangent ratio.
A ship's captain judges distance from a lighthouse of known height, a pilot lining up on a runway checks altitude against a glide-path angle, and a surveyor measures a hillside before a road is cut through it — all three are reading the same right triangle. Try dragging the figures in the simulation above and watch the numbers move together.
From zero: line of sight, elevation and depression
The line of sight is the straight line from the observer's eye to whatever they are looking at. When that line tilts upward from a horizontal line at eye level — because the object is higher than the observer — the angle between the horizontal and the line of sight is the angle of elevation.
When the object is lower than the observer instead (a boat seen from the top of a lighthouse, say), the line of sight tilts downward from the same horizontal, and that angle is the angle of depression. In both cases the angle is measured from the horizontal line, never from some other reference — mixing that up is the single most common exam mistake in this topic.
One elegant fact ties the two together: the angle of elevation of B as seen from A is always equal to the angle of depression of A as seen from B. The two horizontal lines (one at A, one at B) are parallel, and the line of sight is a transversal crossing both, so the two angles are alternate angles — always equal.
Because the ground is always horizontal and a tower or cliff is always vertical, the two meet at a right angle. That turns every "find the height" question into a right-triangle question, which means sine, cosine and tangent are always in play.
The vocabulary, before the formulas
A quick glossary — exam "define the term" questions are drawn straight from this list.
| Term | Symbol | Plain-English meaning | Unit |
|---|---|---|---|
| Line of sight | — | The straight line from the observer's eye to the object being viewed | m |
| Horizontal line | — | An imaginary line level with the eye, parallel to the ground — where the angle is measured from | — |
| Angle of elevation | θ | The upward tilt of the line of sight from the horizontal, when the object is above the observer | ° |
| Angle of depression | θ | The downward tilt of the line of sight from the horizontal, when the object is below the observer | ° |
| Opposite side | H | The side across from the angle — here, the height H | m |
| Adjacent side | d | The side next to the angle — here, the horizontal distance d | m |
| Hypotenuse | — | The side opposite the right angle — the line of sight itself | m |
| Eye height | e | The observer's own height to eye level, when standing on the ground; taken as zero if the problem doesn't give it | m |
The formulas, and the two-observation derivation
In a right triangle, tan θ = opposite ÷ adjacent. For an angle of elevation, the opposite side is (H − eye height) and the adjacent side is d, which rearranges to the height formula below.
tan θ = (H − e) / dAngle of elevation: H the height sighted, e the eye height, d the distance
H = e + d·tan θHeight directly — this is exactly what the readings panel computes
d = H / tan θAngle of depression: with a known structure height H, the distance to the boat
Two observations: the height without ever knowing it
Suppose a tower's height H is unknown. From a far point A the angle of elevation is α; walking x metres closer to a near point B, the angle opens up to β (β is always bigger than α, since a closer view means tilting the head up more).
The horizontal distance from A is d₁ = H·cot α, and from B it is d₂ = H·cot β. Since the distance between A and B is exactly x, d₁ − d₂ = x, so H(cot α − cot β) = x.
Rearranging gives H = x ÷ (cot α − cot β) — or, written with tangents instead, H = x·tan α·tan β ÷ (tan β − tan α). The two are the same formula in different clothes.
H = x / (cot α − cot β) = x·tan α·tan β / (tan β − tan α)
Try this in the simulation
Work through each of these on the stage before touching the solved problems below — the numbers stop feeling foreign once you have moved them yourself.
1. Drag the observer to change the distance
In elevation mode, drag the observer left and right. With the angle slider held fixed, a bigger distance means a bigger computed height H. Nothing about a real object grows taller here — what changes is the relationship between "how far away, at what angle, gives what height". In a real problem, d and θ are both measured facts; H is the unknown.
2. Swap the target
Switch between a tower, a tree and a building. The picture changes but the triangle and the formula do not — the arithmetic never cares what shape the object is, only its height and distance.
3. Confirm the alternate angle in depression mode
With "alternate angle" ticked, the angle of depression from the lighthouse top to the boat and the angle of elevation from the boat back up to the lighthouse are always drawn as exactly equal arcs, whatever distance you drag the boat to.
4. Change α, β and x in two-observation mode
β can never be set below α — the sliders enforce that, because walking closer can only increase the angle, never decrease it. A bigger x with the same α and β proves a taller tower.
5. Check the arithmetic by hand
Take the tan θ value from the readings panel, put it into your own calculator in degree mode, and compute H = e + d·tan θ. If it matches, that is exactly the working an exam answer expects.
Solved problems
Nine problems: three each for elevation, depression and two observations, plus a bonus kite problem. Every number here is computed by the page's own code, never typed in by hand.
Problem 1 (elevation, the simulation's default): d = 20 m, θ = 30°, eye height 1.5 m
tan 30° = 0.5774. The part of the tower above eye level is d·tan θ = 20 × 0.5774 = 11.55 m.
Total height H = eye height + that part = 1.5 + 11.55 = 13.05 m — the exact number the readings panel shows when the page loads.
Problem 2 (elevation, a standard 45° sight): d = 15 m, θ = 45°
tan 45° is exactly 1, so treating the observer as a point gives H = d × tan 45° = 15 × 1 = 15 m. This is the angle that shows up most often on exams, precisely because it needs no calculator.
Problem 3 (elevation, a standard 60° sight): d = 12 m, θ = 60°, eye height 1.6 m
tan 60° = √3 ≈ 1.732. H = 1.6 + 12 × 1.732 = 22.38 m. Compare this against Problem 2: the same kind of distance gives a noticeably taller reading at 60° than at 45°.
Problem 4 (working backwards — a shadow): a pole is 6 m tall and the sun's angle of elevation is 30°; find the shadow's length
Now H is known and d is not. d = H ÷ tan θ = 6 ÷ 0.5774 = 10.39 m. This is where most marks are lost — write down which quantity is H and which is d before touching the formula, or the division becomes a multiplication by mistake.
Problem 5 (depression, a lighthouse): height 50 m, angle of depression to a boat 30°; find the boat's distance
d = H ÷ tan θ = 50 ÷ 0.5774 = 86.60 m. Same formula as Problem 4 — only the picture is upside down, with the observer on top this time.
Problem 6 (depression, measured twice): from the same 75 m lighthouse, a boat's angle of depression is first 45°, then later 30°; how far did it sail?
First distance d₁ = 75 ÷ tan 45° = 75 ÷ 1 = 75 m. Second distance d₂ = 75 ÷ tan 30° = 75 ÷ 0.577 ≈ 129.90 m.
The boat sailed d₂ − d₁ = 129.90 − 75 ≈ 54.90 m. This is really a two-observation problem wearing a different costume: H is known this time, x is what's being found.
Problem 7 (two observations, the simulation's default): α = 30°, β = 60°, x = 20 m
cot 30° ≈ 1.732, cot 60° ≈ 0.577. H = 20 ÷ (1.732 − 0.577) = 20 ÷ 1.155 ≈ 17.32 m.
d₁ = H·cot 30° ≈ 30 m (from A), d₂ = H·cot 60° ≈ 10 m (from B) — and their difference is exactly 20 m, matching x.
Problem 8 (two observations, a second pair of angles): α = 30°, β = 45°, x = 40 m
cot 30° ≈ 1.732, cot 45° = 1. H = 40 ÷ (1.732 − 1) = 40 ÷ 0.732 ≈ 54.64 m.
Check: d₁ ≈ 94.64 m, d₂ ≈ 54.64 m, and their difference is exactly 40 m — a match confirms the arithmetic.
Bonus problem 9 (a kite): the string is 100 m long at 60° to the ground; find the kite's height and horizontal distance
Here the string itself is the hypotenuse, so this one needs sine and cosine, not tangent.
Height = string × sin θ = 100 × sin 60° ≈ 86.60 m. Horizontal distance = string × cos θ = 100 × cos 60° = 50 m.
Common mistakes
Most marks lost in this topic are lost to small slips, not to a misunderstanding of the idea. Read through this list once before an exam.
- Measuring the angle from the wrong line — it is always from the horizontal, never from the direction facing the object. Skipping the diagram and plugging straight into a formula is how this slips through.
- Mixing up elevation and depression: the object above gives elevation, below gives depression — and the two look deceptively similar once drawn small.
- Forgetting to add the observer's eye height (or adding it when the problem never gave one, where a point observer is the default assumption).
- Leaving the calculator in radian mode while typing in a degree value — the answer comes out completely wrong but still looks like a plausible number.
- Dividing instead of multiplying (or the reverse) in a "working backwards" problem where H is known and d is not.
- In a two-observation problem, subtracting the two hypotenuses (the lines of sight) instead of the two horizontal distances d₁ and d₂ — the walked distance x is always along the ground.
- Forgetting the alternate-angle equality in depression problems and trying to solve for two separate unknown angles that are, in fact, the same angle.
Real-life uses
Heights-and-distances arithmetic is not confined to an exam paper — several professions use it every working day.
- Surveying and civil engineering: a theodolite is, at heart, an angle-measuring instrument used to map elevation before a road or building goes up.
- Navigation: sailors judge their distance from a lighthouse of known height purely from the angle at which its light is seen.
- Aviation: a pilot on final approach checks altitude against a glide-path angle to confirm the descent is on target.
- Forestry: a clinometer measures a tree's height from the ground without ever climbing it — precisely the tree in this simulation.
- Architecture: the sun's angle of elevation predicts how far a building's shadow will fall at a given time of year, before it is built.
- Defence and search-and-rescue: a spotter or radar station estimates the distance to a target from a measured angle alone.
Exam corner
On NCERT/CBSE boards (class 10, "Some Applications of Trigonometry"), expect a mix of direct problems (given angle and distance, find height), reverse problems (given height, find distance or angle) and the two-observation type as a longer, higher-weightage question.
General standardised tests and quantitative-reasoning sections also lean on this exact word-problem shape, so the same working — draw the triangle, label what is known, pick the formula, solve — transfers directly.
Full marks need three things on paper: a labelled diagram (angle, distance and height all marked), the correct formula written out, and the final substitution shown — a bare final answer with no working loses the method marks even when it is numerically right.
One-screen revision
A last look before the exam.
| Situation | Known | Unknown | Formula |
|---|---|---|---|
| Angle of elevation | d, θ, eye height e | Height H | H = e + d·tan θ |
| Angle of depression (height known) | H, θ | Distance d | d = H / tan θ |
| Shadow / reverse problem | H, θ | Distance d | d = H / tan θ |
| Two observations | α, β, x | Height H | H = x / (cot α − cot β) |
Frequently asked questions
What is the difference between angle of elevation and angle of depression?
Both are measured from a horizontal line at eye level. If the object is above the observer, the upward tilt of the line of sight is the angle of elevation; if it is below, the downward tilt is the angle of depression.
What is the line of sight?
The straight line from the observer's eye to the object being viewed. It is the hypotenuse of the right triangle formed with the horizontal and the vertical.
Why do we add the observer's eye height?
A person standing on the ground has their eyes some distance above it (typically 1.5-1.6 m), and the angle is measured from that eye level, not from the ground. So the full height of the object is the eye height plus d·tan θ. If a problem gives no eye height, the observer is treated as a point on the ground.
Why is tan the ratio used, not sine or cosine?
Because most of these problems relate the two legs of the right triangle — height and horizontal distance — and tan θ = opposite ÷ adjacent connects exactly those two. When the hypotenuse is given instead (like a kite string), sine and cosine take over.
Why is β always bigger than α in a two-observation problem?
Walking closer to a tall object means tilting your head up more to keep looking at the top, so the angle only ever increases. α, measured from the farther point, is always less than or equal to β, measured from the nearer one.
Is the angle of elevation from A to B always equal to the angle of depression from B to A?
Yes. The two horizontal lines, one at A and one at B, are parallel, and the line of sight crosses both as a transversal — making the two angles alternate angles, which are always equal.
What calculator mode should I use for these problems?
Degree mode. Leaving a calculator in radian mode while entering a value in degrees produces a completely wrong answer that still looks like a normal number, so it is easy to miss.
What are tan 30°, tan 45° and tan 60°?
tan 30° = 1/√3 ≈ 0.577, tan 45° = 1, and tan 60° = √3 ≈ 1.732. Knowing these three by heart lets most exam questions be solved without reaching for a calculator at all.
Why can't I set the tower's height directly in the simulation?
Because in a real problem the tower's height is exactly what is unknown (in elevation and two-observation mode) or a given constant you are told (in depression mode) — the simulation mirrors that by computing height from distance and angle, the same direction a real problem asks you to work in.
Does the walked distance x in a two-observation problem have to be in a straight line?
Yes — x is the straight-line distance walked along the ground directly towards the foot of the tower. Walking along a curved path, or one that doesn't point at the tower's base, breaks the formula.
Keep studying this topic
The animation made the idea click; now turn it into marks. Syllabus, suggestions, textbooks and admission-test guides are below.
SSC
SSC Mathematics: syllabus and preparation
Textbook
Class 9-10 Mathematics textbook
SSC
SSC Higher Mathematics: syllabus and preparation
HSC
HSC Higher Mathematics: syllabus and preparation
Textbook
Class 9-10 Higher Mathematics textbook
Admission
Engineering admission test preparation
Admission
Jahangirnagar University mathematical and physical sciences unit
English
Paragraph: Artificial Intelligence
Bangla
রচনা: কৃত্রিম বুদ্ধিমত্তা (in Bangla)
SSC
SSC suggestions
HSC
HSC suggestions
Admission
University admission guide
SSC
SSC syllabus
HSC
HSC syllabus
More math animations
Grade 8–10
Pythagorean Theorem
The Pythagorean theorem explained: formula a² + b² = c², two proofs you can watch, the converse, Pythagorean triples and 10 worked examples. Drag the triangle yourself.
Grade 10–11
Trigonometric Ratios and the Unit Circle
Drag a point round the unit circle and watch sin, cos and tan change. Standard angle table, ASTC signs, identities, radians and graphs, with solved examples.
Grade 9–11
Quadratic functions and their graphs
Drag the vertex and change a, b, c to see how a quadratic function graph moves. Learn factoring, completing the square, the quadratic formula and discriminant.
Grade 9–10
Circle theorems
All the circle theorems with drag-and-check diagrams: angle at the centre, same segment, semicircle, cyclic quadrilateral, chords, tangents and alternate segment.
Grade 9–11
Probability: experimental vs theoretical probability
What probability means, how the sample-space formula P(E) = n(E)/n(S) works, and why experimental frequency edges closer to theoretical probability the more you flip, roll or draw — with a coin, dice and coloured-ball simulator.
Grade 10–11
Arithmetic and Geometric Sequences
Learn the arithmetic and geometric sequence formulas for the nth term and sum, Gauss's pairing trick, and the sum-to-infinity formula a/(1−r), with a drag-and-slide bar-chart simulation and worked examples.
Grade 9–10
Mean, Median and Mode
Learn the mean, median and mode formulas, why the median resists an outlier while the mean does not, and the grouped-data median/mode formulas, by dragging points on a number line, with worked examples.
Animations in other subjects
Physics
Refraction of light
Physics
Ohm's law
Physics
Projectile motion
Physics
Simple pendulum
Physics
Electric field
Physics
Wave interference
Physics
Free Fall
Physics
Lens ray diagrams
Physics
Newton's Laws of Motion
Physics
Spherical mirror ray diagrams
Physics
Electromagnetic Induction
Physics
Conservation of Momentum and Collisions
Physics
Work, Energy and Power
Physics
Inclined Plane
Chemistry
Structure of the atom
Chemistry
Acids, Bases and the pH Scale
Chemistry
Electron configuration
Chemistry
Gas laws: Boyle, Charles, Gay-Lussac, Avogadro and PV = nRT
Chemistry
How an Ionic Bond Forms
Chemistry
Electrolysis and Faraday’s Laws
Chemistry
Covalent Bond
Chemistry
Periodic Trends
Biology
Mitosis cell division
Biology
Diffusion and Osmosis
Biology
Photosynthesis
Biology
The human heart: structure and function
Biology
Mendelian Genetics
Biology
DNA Replication
Biology
Cellular Respiration
Biology
Enzyme Action
Biology
The Nerve Impulse and the Action Potential
Biology
The Nephron and Urine Formation
Biology
Meiosis Cell Division
Biology






















