Building Height Calculator for Google Earth


Building Height Calculator (from Google Earth)

Estimate the height of a building or object by measuring its shadow in Google Earth and providing the sun’s elevation angle.


Measure this using the Ruler tool in Google Earth.


Select the unit you used for the measurement.


Find this using a tool like SunCalc.org for the specific location and time of the satellite image.


Height vs. Sun Angle (for current shadow length)

Height Sensitivity to Sun Angle
Sun Angle (Degrees) Calculated Building Height

What is Calculating Building Height Using Google Earth?

Calculating building height using Google Earth is a method of estimating the vertical size of a structure by applying basic trigonometry to measurements taken from satellite imagery. While Google Earth Pro has tools for direct 3D measurement, a common and educational technique involves using the length of a building’s shadow. By measuring a shadow and knowing the sun’s angle at that moment, you can accurately calculate the building’s height. This method is invaluable for architects, urban planners, students, and hobbyists who need a quick estimation without being on-site.

The core principle relies on the relationship between an object, its shadow, and the angle of the light source (the sun). This forms a right-angled triangle, with the building as the vertical side, the shadow as the horizontal side, and the line from the top of the building to the tip of the shadow as the hypotenuse. Our calculator automates the final step of this process.

The Building Height Formula and Explanation

The calculation is based on the tangent function in trigonometry. The formula is beautifully simple:

Building Height = tan(Sun Elevation Angle) × Shadow Length

This formula works because the tangent of an angle in a right triangle is the ratio of the length of the opposite side (the building’s height) to the length of the adjacent side (the shadow’s length).

Formula Variables
Variable Meaning Unit Typical Range
Building Height The unknown vertical height of the object. Meters, Feet (matches shadow unit) 1 – 1000+
Sun Elevation Angle (α) The angle of the sun above the horizon. Degrees (°) 10° – 90° (lower angles create very long shadows)
Shadow Length (L) The length of the shadow measured on the ground. Meters, Feet, Yards 1 – 1000+

Practical Examples

Example 1: Skyscraper

  • Inputs:
    • Shadow Length: 150 meters
    • Sun Elevation Angle: 65°
  • Calculation:
    • Height = tan(65°) × 150 meters
    • Height = 2.1445 × 150
  • Result: Approximately 321.67 meters

Example 2: Small Town Clock Tower

  • Inputs:
    • Shadow Length: 85 feet
    • Sun Elevation Angle: 30°
  • Calculation:
    • Height = tan(30°) × 85 feet
    • Height = 0.5773 × 85
  • Result: Approximately 49.07 feet

How to Use This Building Height Calculator

  1. Find Your Building in Google Earth: Navigate to the structure you want to measure. Use the historical imagery feature to find a clear, cloud-free image where the shadow is distinct and falls on flat ground.
  2. Measure the Shadow Length: Select the Ruler tool (found under Tools in Google Earth Pro). Click on the base of the building and then on the very tip of its shadow. Note the length and the unit of measurement.
  3. Find the Sun Elevation Angle: This is the most crucial step. You need to find the sun’s angle for the exact location and the date/time of the satellite image. A tool like SunCalc.org is perfect for this. Enter the location and set the date to match the imagery date in Google Earth. Adjust the time slider until the “Altitude” reading matches the scenario.
  4. Enter Values into the Calculator: Input the Shadow Length and the Sun Elevation Angle into the fields above.
  5. Select Your Units: Choose the correct unit (meters, feet, or yards) that you used for your shadow measurement.
  6. Calculate and Interpret: Click “Calculate Height”. The tool will provide the estimated height, along with intermediate values and charts to help you understand the relationship between the inputs. For another useful resource, check out our Map Scale Calculator.

Key Factors That Affect Height Calculation

  • Sun Angle Accuracy: The single most sensitive input. A small error in the sun elevation angle can lead to a large error in the calculated height, especially at low sun angles.
  • Terrain Flatness: The shadow must be cast on relatively flat ground. If the shadow goes up or down a hill, the measured length will be inaccurate, skewing the result.
  • Measurement Precision: How accurately you click the base of the building and the tip of the shadow in Google Earth directly impacts the result. Zoom in as close as possible.
  • Time of Day: Avoid measuring near sunrise or sunset. The shadows are extremely long and change length rapidly, making accurate sun angle correlation difficult.
  • Atmospheric Refraction: The atmosphere bends light slightly, which can make the sun appear higher than it is. For most purposes, this is a minor effect but can matter for high-precision work.
  • Building Base Definition: For buildings on a slope, defining the true ‘base’ for the measurement can be ambiguous. Always measure from the point directly below the highest point if possible. For more tools related to angles, see our Angle of Repose Calculator.

Frequently Asked Questions (FAQ)

1. Where do I find the sun elevation angle?

You must use an external tool. Websites like SunCalc.org or the DQYDJ Sun Angle Calculator are excellent resources. You need the latitude, longitude, and the exact date and time of the Google Earth imagery. Google Earth’s historical imagery slider shows the date.

2. Why is my result different from the official building height?

This method provides an estimation. Discrepancies can come from slight inaccuracies in measuring the shadow, using a slightly incorrect sun angle, or if the shadow isn’t on perfectly level ground.

3. What’s the best sun angle to use for this method?

Angles between 30° and 60° are ideal. Angles below 30° create very long shadows prone to distortion, and angles above 60° create very short shadows that are difficult to measure accurately.

4. Can I just use the elevation data in Google Earth?

Yes, in Google Earth Pro you can hover your cursor over the base and the top of a 3D building to see the elevation and calculate the difference. However, the shadow method is a great exercise in practical trigonometry and works on 2D imagery as well.

5. Does the unit I choose matter?

Yes, you must select the same unit in the calculator that you used to measure the shadow length in Google Earth. The calculated height will be in this same unit.

6. What if the ground is sloped?

This method is most accurate on flat ground. A sloped ground will either shorten or lengthen the shadow relative to its “true” length on a flat plane, introducing significant error. Try to find a building on a flat area for best results.

7. How do I handle unit conversions?

Our calculator handles it for you! Just measure in one unit (e.g., feet) and select ‘feet’ from the dropdown. The result will be in feet. There’s no need to convert manually. If you need a dedicated tool, try a unit conversion tool.

8. Can I use this for trees or other objects?

Absolutely! This method works for any object that casts a clear, measurable shadow, such as trees, radio towers, monuments, or cliffs. To understand more about dimensions, our Aspect Ratio Calculator might be helpful.

Related Tools and Internal Resources

If you found this calculator useful, you might also be interested in our other mapping and measurement tools:

© 2026 Your Website Name. All rights reserved. For educational and informational purposes only.


Leave a Reply

Your email address will not be published. Required fields are marked *