Cal11 calculator

Degrees to Heights Calculator

Reviewed by Calculator Editorial Team

This degrees to heights calculator helps you determine the height of an object when you know the angle of elevation and the distance from the object. Whether you're measuring a building, tree, or any other vertical structure, this tool provides quick and accurate results.

How to Use This Calculator

Using our degrees to heights calculator is simple. Follow these steps:

  1. Enter the angle of elevation in degrees (the angle between the horizontal line of sight and the line to the top of the object).
  2. Input the distance from the object in the units of your choice (meters, feet, etc.).
  3. Click the "Calculate" button to get the height of the object.
  4. Review the result and use it as needed for your project or measurement.

The calculator will display the height in the same units as the distance you entered. If you need to convert units, you can use our unit conversion calculator.

Formula Explained

The relationship between angle, distance, and height is described by the tangent function in trigonometry. The formula used in this calculator is:

Height = Distance × tan(Angle)

Where:

  • Height is the vertical distance from the ground to the top of the object.
  • Distance is the horizontal distance from the observer to the base of the object.
  • Angle is the angle of elevation in degrees.

This formula is derived from the definition of the tangent function in a right-angled triangle, where the tangent of an angle is the ratio of the opposite side to the adjacent side.

Worked Examples

Let's look at a couple of examples to see how the calculator works in practice.

Example 1: Measuring a Tree

You're standing 10 meters away from a tree and measure the angle of elevation to the top of the tree as 30 degrees. What is the height of the tree?

Solution:

Using the formula:

Height = 10 meters × tan(30°)

tan(30°) ≈ 0.577

Height ≈ 10 × 0.577 ≈ 5.77 meters

The height of the tree is approximately 5.77 meters.

Example 2: Surveying a Building

You're 50 feet away from a building and measure the angle of elevation to the top of the building as 15 degrees. What is the height of the building?

Solution:

Using the formula:

Height = 50 feet × tan(15°)

tan(15°) ≈ 0.2679

Height ≈ 50 × 0.2679 ≈ 13.39 feet

The height of the building is approximately 13.39 feet.

Frequently Asked Questions

What units should I use for the distance?

You can use any unit of length for the distance, but make sure to use the same unit for the height result. Common units include meters, feet, yards, and kilometers.

Can I use this calculator for angles greater than 90 degrees?

No, this calculator is designed for angles between 0 and 90 degrees. Angles greater than 90 degrees would indicate a downward slope, which is not the typical use case for measuring heights.

Is the tangent function accurate for all angles?

Yes, the tangent function is accurate for all angles between 0 and 90 degrees. The calculator uses the JavaScript Math.tan() function, which provides precise results.

Can I use this calculator for measuring the height of the sun or moon?

This calculator is designed for measuring the height of objects on the Earth's surface. For celestial objects like the sun or moon, you would need to account for their distance from Earth and use different trigonometric principles.