Measurement and Units

How to Measure the Height of a Tree or Building With Simple Geometry and a Phone

Use shadows, a mirror or a phone tilt reading to find a height, with worked examples and an honest error estimate.

Key takeaways

  • Similar triangles, which have equal angles and proportional sides, turn a small measurable height into a large unknown one.
  • The tilt method uses height = distance × tan(angle) + eye height on level ground.
  • Angles near 45 degrees keep the effect of a small angle error low.
  • A two-position method works when you cannot reach the base.
  • Reporting a range, and checking with a second method, makes the result far more trustworthy.

You can find the height of a tree or building without climbing it. Measure distances you can reach on the ground, measure or compare an angle, and let the geometry of triangles do the rest. With a tape measure and a phone, a careful person can often get within a few percent.

Three methods cover most situations: comparing shadows, sighting the top in a flat mirror and reading the tilt angle to the top. Trying two of them on the same object is the best check you have.

Before you start

Choose a safe spot. Stay off roads, watch your footing while looking up and do not walk backward without checking behind you. Never look at the sun, including through a phone's sighting line. Respect private property and do not photograph into people's windows. Do not climb or drop objects from a height to measure it.

You will want a tape measure of ten meters or more, a notebook and, for the second and third methods, a helper if possible. Decide what "height" means. For a leaning tree or a spreading crown, you probably want the vertical distance from the ground at the base to the highest point, which may not be above the trunk.

Method 1: shadows

On a sunny day, sunlight arrives as nearly parallel rays. A vertical stick and a vertical tree therefore form triangles of the same shape with their shadows.

tree height / tree shadow = stick height / stick shadow

stick = 1.0 m,  stick shadow = 1.5 m,  tree shadow = 18 m
height = 18 × (1.0 / 1.5) = 12 m

Measure both shadows within a few minutes of each other, since they change as the sun moves. The ground should be flat and level along both. Measure the tree's shadow from the point directly under the top, which for a pole is its center, not its near face. The tip of a long shadow is fuzzy because the sun is a disk, so mark the middle of the blurred edge.

The same idea is said to have been used by Thales to estimate the height of an Egyptian pyramid, a story handed down by later ancient writers.

Method 2: a mirror on the ground

Lay a small flat mirror level on the ground between you and the object. Mark a point on it. Move until you see the very top of the object lined up with your mark. The law of reflection, equal angles in and out, makes two similar triangles.

height = eye height × (mirror to object) / (mirror to you)

eye height = 1.6 m
mirror to your feet = 2.0 m
mirror to tree base = 15 m

height = 1.6 × 15 / 2.0 = 12 m

This works under cloud and needs no angle reading. A puddle can serve as a perfectly level mirror. The weak point is your own distance, which is short: an error of a few centimeters there changes the answer by a few percent. Standing farther from the mirror helps if the space allows.

Method 3: a phone as a clinometer

A clinometer measures angle above the horizontal. Many phones include a level or measurement tool, and free apps display tilt using the built-in accelerometer. Sight along one long edge of the phone at the top of the object, hold still and have a helper read the screen, or use a screen-freeze button.

Walk out a known horizontal distance d from the point below the top. Then:

height = d × tan θ + eye height

d = 20 m,  θ = 30°,  eye height = 1.6 m
tan 30° ≈ 0.5774
height = 20 × 0.5774 + 1.6 ≈ 13.1 m

Check the app first. Set the phone on a table, note the tilt along one direction, turn the phone end for end on the same spot and read again. With signed readings, a true table slope should appear once as positive and once as negative. Half the sum of the two readings is the app's offset, which you subtract from later angles. Check too whether the app reports the angle from horizontal or from vertical.

The tilt method in order
1 Check the app Test its zero on one flat spot 2 Pace out Tape the distance to below the top 3 Sight Read the angle to the highest point 4 Compute Distance times tangent, plus eye height 5 Repeat Try another spot and compare Check the app Test its zero on one flat spot 1 Pace out Tape the distance to below the top 2 Sight Read the angle to the highest point 3 Compute Distance times tangent, plus eye height 4 Repeat Try another spot and compare 5

A stick at arm's length

If you have no phone and no sun, a straight stick will do. Measure the distance from your eye to your fist with your arm stretched out. Hold the stick upright so that the part standing above your fist has exactly that length.

Face the object and move forward or back until your fist lines up with the base and the tip of the stick lines up with the top, without moving your head. The stick and the object now form matching triangles with your eye. Because the stick's height equals its distance from your eye, the object's height equals your horizontal distance to it.

Pace or tape that distance. No eye height needs to be added, since your sight line to the base already covers the whole object. The main errors come from tilting the stick, nodding your head between the two sightings and ground that rises or falls between you and the object. Expect a rougher answer than a careful tape and angle method gives.

Sloping ground

On a slope, eye height no longer gives the part of the object below your line of sight. Instead, measure two angles: one up to the top and one down to the base. With d taken as the horizontal distance:

height = d × (tan θ_top + tan θ_base)
where θ_base is the size of the downward angle

If the base is above your eye level, subtract:
height = d × (tan θ_top − tan θ_base)

A tape laid along a slope measures the slant distance s. The horizontal distance is s × cos α, where α is the angle of the slope.

When you cannot reach the base

Suppose water or a fence blocks the way. Take the angle from a near point, then step straight back along the same line by a measured separation s and take it again. Call the near angle α and the far angle β, and H the height above eye level.

near distance = H / tan α
far distance  = H / tan β
s = H × (1/tan β − 1/tan α)
H = s / (1/tan β − 1/tan α)

α = 45°, β = 30°, s = 10 m
H = 10 / (1.7321 − 1.0000) = 10 / 0.7321 ≈ 13.7 m

Then add eye height. This method is sensitive to errors when the two angles are close, so make the separation generous.

How good is the answer?

Put numbers on your doubts. In the 30 degree example, suppose the angle could be off by 1 degree either way.

Angle used Height with eye level added
29° about 12.7 m
30° about 13.1 m
31° about 13.6 m

So you might report 13.1 ± 0.5 m. Distance matters too: 1 percent error in d gives 1 percent error in the part computed from the triangle.

For a fixed error in angle, the percentage error in d × tan θ is smallest at 45 degrees. A 1 degree error there causes about 3.5 percent. At 30 degrees it is about 4 percent, and at 80 degrees, standing close to the object, about 10 percent. So walk until the angle is moderate. Reporting uncertainty and rounding only at the end complete the job.

Repeating the measurement

One reading tells you nothing about scatter. Take several, ideally lowering the phone and finding the top afresh each time. Here is a hypothetical set of five results for one tree: 12.8, 13.4, 13.1, 12.9 and 13.3 m.

mean = (12.8 + 13.4 + 13.1 + 12.9 + 13.3) / 5 = 13.1 m

deviations: −0.3, +0.3, 0.0, −0.2, +0.2
sum of squares = 0.26
standard deviation = √(0.26 / 4) ≈ 0.25 m
standard error of the mean = 0.25 / √5 ≈ 0.11 m

A single try typically misses the average by about a quarter of a meter. The average itself is steadier. Averaging cannot cure a shared mistake, such as a wrong app offset, a stretched tape or a sloping baseline treated as level. Changing the distance, the observer and the method is the way to expose those.

Common mistakes

  • Setting the calculator to radians when the angle is in degrees.
  • Forgetting to add eye height, or adding your full body height.
  • Measuring distance to the near edge of a wide crown or sloped roof, when the highest point lies farther back.
  • Sighting a nearer branch or parapet that hides the true top.
  • Writing 13.147 m when the angle was only good to a degree.

Turning it into a project

Measure one object with all three methods, several times each, and compare the spreads. Which method scatters most? Do the averages agree within their uncertainties? Having a friend repeat your work tests whether the procedure or the person explains the differences. For an official figure for a building, public records or a licensed surveyor are the proper sources.

Common questions

Can a phone's air pressure sensor measure a building?

If you can legitimately walk from bottom to top, the pressure change gives a rough height, about 12 Pa per meter near sea level. Weather drift and indoor ventilation add error, so take readings quickly and return to the start.

Do I need trigonometry at all?

No. At 45 degrees, tan θ equals 1, so the height above your eye equals your horizontal distance. A square of paper folded along its diagonal makes a sighting triangle.

Written for 4Sciences with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 51 articles in Measurement and Units →

Latest news on this topic