Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Finance
    • Math
    • Health & Fitness
    • Education
    • Science
    • Real Estate
    • Chemistry
  • About Us
  • Contact Us
CalculatorZilo Logo
Home / Construction Calculators / Height Distance Calculator
Geometry Calculators

Height Distance Calculator

Published onJune 27, 2025 Updated onOctober 22, 2026 9:42 am

Stand in a field, sight the top of a tower, and you can know how far away its base is without walking the distance. This calculator solves that classic surveying triangle: give it the height of the object and the angle of elevation from your eye to its top, and it returns the horizontal distance, using distance equals height divided by the tangent of the angle.

Height Distance Calculator
Horizontal distance from a known height and the angle of elevation

Quick Answer

A 50 meter building sighted at a 30 degree angle of elevation stands 86.60 meters away horizontally: 50 ÷ tan(30°) = 50 ÷ 0.5774 = 86.60. At 45 degrees the distance always equals the height, and every degree you gain as you walk closer shrinks the distance faster than the last. The tool is pre-filled with the 50 meter, 30 degree case.

Key takeaways

  • One formula does all the work: Distance = Height ÷ tan(angle). Know any two of the three and the third follows; this page solves for distance.
  • The height belongs in the formula as the difference between the top and your eye, not always the object’s full height. The tool has no eye-height field, so adjust the number you enter.
  • Angles must sit strictly between 0 and 90 degrees. The tool rejects both ends, and shallow angles are where a 1 degree measuring error costs you the most distance.
  • The answer is always labelled meters, even if you entered feet. The arithmetic carries your unit through; the label does not.
On this page
  • Quick Answer
  • How to use the height distance calculator
  • The trigonometry: one right triangle, one tangent
  • Worked example: a 50 meter building at 30 degrees
  • Where height and distance maths earns its keep
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the height distance calculator

Measure two things in the field, enter them, and read the horizontal distance. The result stays hidden until you press Calculate.

1. Get the height

From drawings, a storey count (about 3 m per floor), or a known elevation difference. Subtract your eye height if the base is at your feet.

2. Sight the angle

Clinometer, theodolite or a phone inclinometer aimed at the very top. Take two readings and average them; angle error is the main error source.

3. Divide by tan

The tool converts your degrees to radians and divides the height by the tangent. No iteration, no approximation table.

4. Read the ground distance

The figure is the flat horizontal distance to the point directly under the top, not the sloped line-of-sight distance to the top itself.

Keep the neighbouring tools straight, because the names overlap. If you already have two points on a map and want the straight-line gap between them, that is the coordinate job of the distance calculator. If you know the height and the distance and want the angle instead, the rearranged formula on the distance angle calculator runs this same triangle backwards. This page is the field version: height and angle in, ground distance out.

The trigonometry: one right triangle, one tangent

The geometry is a single right triangle. Your eye, the base of the object and its top form the three corners; the tangent of the elevation angle is the vertical side divided by the horizontal side, so the horizontal side is the height divided by the tangent.

tan(angle) = Height ÷ Distance
Distance = Height ÷ tan(angle)
Height = Distance × tan(angle)  and  Angle = arctan(Height ÷ Distance), the two rearrangements

The definitions are the standard ones set out in OpenStax Precalculus and in the tangent entry at Wolfram MathWorld: tangent is opposite over adjacent in a right triangle, full stop. Three assumptions ride along and are worth stating because the tool cannot check them. The ground between you and the base is flat and level with the base. The object is vertical, so its top sits directly above its base. And the height you enter is measured from your eye’s horizontal plane, which is why eye height matters on short objects and barely matters on a 300 meter tower. Surveying practice, covered in the NOAA geodesy tutorials, exists largely to control exactly these three error sources at professional tolerances.

Worked example: a 50 meter building at 30 degrees

A surveyor needs the setback of a 50 meter building and sights its roof edge at 30 degrees. Every number below is this tool’s own output for those inputs.

  • Distance = 50 ÷ tan(30°) = 50 ÷ 0.57735 = 86.60 meters
  • Same building from closer in, at 45 degrees: 50 ÷ 1 = 50.00 meters (at 45 degrees distance always equals height)
  • A 100 meter cliff at 45 degrees: 100.00 meters. A 150 meter tower at 60 degrees: 150 ÷ 1.73205 = 86.60 meters

Walking toward the same 50 meter building, the distance collapses as the angle climbs. Each row is a separate run of this tool at a fixed 50 meter height.

Angle of elevationtan(angle)Horizontal distance
15°0.2679186.60 m
30° (worked example)0.577486.60 m
45°1.000050.00 m
60°1.732128.87 m
75°3.732113.40 m
15°
186.60 m
30°
86.60 m
45°
50.00 m
75°
13.40 m

The bars carry a practical warning. Between 15 and 30 degrees the distance more than halves; between 60 and 75 it halves again but from a much smaller base. Angle readings taken far away, at shallow angles, are the least forgiving: at 10 degrees a 50 meter object sits 283.56 meters away, and a single degree of reading error swings that figure by roughly 30 meters either way. Get closer before you trust the number.

Where height and distance maths earns its keep

Any job that needs a distance nobody can pace out directly uses this triangle. Surveyors check setbacks and boundary offsets. Crane and scaffolding crews confirm clearance from towers and lines. Antenna installers sanity-check line-of-sight runs before climbing. Hikers estimate the ground distance to a summit whose elevation they know from the map, and pilots meet the same geometry descending on a glide path, the case the glide distance calculator specialises for aircraft. In classrooms it is usually the first trigonometry problem with a real answer, which is why Dave’s Short Trig Course builds its angle-of-elevation material around exactly this setup.

Two limits to keep in view. First, the answer is the horizontal distance, the map distance. The sloped distance along your line of sight is longer (height ÷ sin(angle)), and on steep ground the difference stops being trivial; coordinate tools such as the euclidean distance calculator answer the point-to-point version of the question. Second, uneven terrain breaks the flat-ground assumption silently: if the base sits above or below your standing level, fold that level difference into the height before you calculate, or the result inherits the full error.

What competing calculators miss

Most rivals for this keyword solve a different corner of the triangle and leave the field case half-served:

  • Brave Calculator’s height distance page: despite the name, its tool takes distance and angle and returns height, the reverse problem. A reader standing in front of a building of known height gets no distance from it.
  • Angle of elevation calculators (Area Calculators, Calculator Online, CalculatorDock, 7Search): competent arctan tools that return the angle from height and distance. Again the reverse direction, and none of them warns about eye height or the shallow-angle error blow-up.
  • Testbook and the exam-prep pages: excellent worked height-and-distance problems with standard-angle shortcuts (tan 30, 45, 60), but they are static solutions to set problems, not a tool you can point at your own building.
  • The gap this page fills: the distance direction itself, with the boundary behaviour stated plainly (0 and 90 degrees rejected, steep angles rounding to 0.00 m), the eye-height adjustment most pages bury, a verified angle sweep for one fixed height, and an honest note that the output label always says meters.

Frequently asked questions

It finds the horizontal distance from you to the base of an object when you know the object’s height and the angle of elevation to its top. It runs one formula: distance equals height divided by the tangent of the angle.

Distance = Height ÷ tan(angle of elevation). The angle is measured in degrees at your eye, from the horizontal up to the top of the object, and the tool converts it to radians internally before taking the tangent.

You can, but read the result carefully. The arithmetic is unit-neutral, so a height in feet produces the distance in feet, yet the result box always labels the answer meters because that is the tool’s fixed output string. Convert first, or relabel the number yourself when you record it.

Yes, and this tool has no separate field for it. The height in the formula is the vertical difference between your eye and the top of the object. If you stand on the same flat ground as a building, enter the building’s height minus your eye height (roughly 1.6 meters for most adults) for a cleaner result.

Both ends break the geometry. At 0 degrees the tangent is 0 and the distance would be infinite, which is the horizon case. At 90 degrees the object is directly overhead and the horizontal distance is zero. The tool blocks both, and everything outside them, with the same message: Please enter valid positive numbers. Angle must be between 0 and 90 degrees.

That is rounding, not a fault. At 89.99 degrees with a height of 10 meters the true distance is about 0.0017 meters, and the result is printed to two decimal places, so it shows 0.00 meters. Steep angles compress the distance faster than the display can follow.

The distance calculator on this site measures the straight-line gap between two points from their coordinates. This page solves the surveyor’s triangle instead: one vertical height, one measured angle, one unknown horizontal distance. If you know two map points, use coordinates; if you are standing in the field with a clinometer, use this page.

The formula is exact; the inputs are not. At a 30 degree angle with a 50 meter height, a 1 degree error moves the answer from 86.60 meters to about 90.20 meters at 29 degrees or 83.21 meters at 31 degrees. At shallow angles the same 1 degree error costs far more, which is why surveyors repeat angle readings and average them.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. OpenStax, Rice University. Precalculus 2e. Accessed October 21, 2026.
  2. Wolfram MathWorld. Tangent. Accessed October 21, 2026.
  3. David E. Joyce, Clark University. Dave’s Short Trig Course. Accessed October 21, 2026.
  4. National Oceanic and Atmospheric Administration, National Ocean Service. Geodesy Tutorial. Accessed October 21, 2026.
  5. U.S. Geological Survey. The National Map. Accessed October 21, 2026.
  6. National Institute of Standards and Technology. NIST Digital Library of Mathematical Functions: Trigonometric Functions. Accessed October 21, 2026.

Related calculators

Geometry Calculators45 45 90 Triangle Calculator A 45-45-90 triangle is the isosceles right triangle: two equal legs, a right angle, and a hypotenuse that is always the leg times √2.Geometry CalculatorsPerimeter Formula Calculator – Calculate Perimeter of Any Shape InstantlyGive this calculator a shape and its dimensions and it returns the perimeter with the formula written out and your numbers substituted, so you can follow every step.Geometry CalculatorsParallel Or Perpendicular CalculatorAre two lines parallel, perpendicular, or neither?Geometry Calculators30 60 90 Calculator: Solve Any Triangle FastA 30-60-90 triangle locks its sides into the ratio 1: √3: 2, so a single known value fixes the whole triangle.Geometry CalculatorsSin Calculator: Free Trigonometry Tool OnlineA sin calculator should do more than one ratio.Geometry CalculatorsGeometric Formula CalculatorSix shapes account for most geometry homework and most job-site measurement questions: rectangle, circle, triangle, square, sphere and cylinder.

CalculatorZilo

Free calculators for everything. Accurate, fast, no signup.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Legal

Privacy Policy Terms and Conditions Disclaimer Cookie Policy DMCA Policy

Company

About Us Contact Us FAQ Accessibility Statement

We use cookies to analyze traffic and to serve ads that keep our calculators free. You can accept or decline cookies below. Learn more

© 2026 CalculatorZilo. All rights reserved.

  • Home
  • Calculators
    • Finance
    • Math
    • Health & Fitness
    • Education
    • Science
    • Real Estate
    • Chemistry
  • About Us
  • Contact Us
Search