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.
| 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).
| 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
- 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.
- 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.
- 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.
- Enter Values into the Calculator: Input the Shadow Length and the Sun Elevation Angle into the fields above.
- Select Your Units: Choose the correct unit (meters, feet, or yards) that you used for your shadow measurement.
- 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)
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.
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.
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.
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.
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.
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.
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.
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:
- Map Scale Calculator: Convert distances on a map to real-world distances.
- Slope Gradient Calculator: Calculate the steepness of a slope given two points.
- Angle of Repose Calculator: A tool for understanding material stability and angles.
- Sun Azimuth Calculator: Find the compass direction of the sun at different times.