Height From Shadow Calculator
Estimate an object’s height by comparing its shadow to a reference object.
The height of the object you know.
The length of the shadow cast by your reference object.
The length of the shadow cast by the tall object you want to measure.
Ensure all measurements use the same unit.
What is Calculating Height Using Shadow?
To calculate height using shadow is a classic trigonometry problem that uses the principle of similar triangles. At any given moment, the sun’s rays hit the ground at a specific angle. This means that the ratio of an object’s height to its shadow length is constant for all objects in the same vicinity. By measuring a known object’s height and its shadow, you can create a ratio to find the height of an unknown tall object by simply measuring its shadow. This method was used by ancient mathematicians like Thales of Miletus to calculate the height of the pyramids.
The Formula to Calculate Height Using Shadow
The calculation is based on the property of similar triangles. If you have a reference object (like a person) and a tall object (like a tree), the triangles formed by each object and its shadow are proportional. The formula is:
(Object Height / Object Shadow Length) = (Your Height / Your Shadow Length)
To solve for the Object Height, we rearrange the formula:
Object Height = (Your Height * Object Shadow Length) / Your Shadow Length
| Variable | Meaning | Unit (Auto-Inferred) | Typical Range |
|---|---|---|---|
| Your Height | The known height of your reference object. | meters, feet, inches | 0.5 – 2.5 |
| Your Shadow Length | The measured length of the reference object’s shadow. | meters, feet, inches | 0.1 – 50+ (depends on sun angle) |
| Object Shadow Length | The measured length of the tall object’s shadow. | meters, feet, inches | 1 – 500+ (depends on sun angle) |
| Object Height | The calculated, unknown height of the tall object. | meters, feet, inches | Calculated value |
For more advanced calculations, you might use a trigonometry calculator.
Practical Examples
Example 1: Measuring a Tree
You want to find the height of a tree. You are 1.8 meters tall and your shadow is 2.4 meters long. You measure the tree’s shadow and find it is 15 meters long.
- Inputs: Your Height = 1.8 m, Your Shadow = 2.4 m, Object Shadow = 15 m
- Calculation: (1.8 * 15) / 2.4 = 27 / 2.4 = 11.25 meters
- Result: The tree is approximately 11.25 meters tall.
Example 2: Measuring a Flagpole in Feet
You want to measure a flagpole. You use a 5-foot stick as your reference. The stick’s shadow is 8 feet long. The flagpole’s shadow is 40 feet long.
- Inputs: Your Height = 5 ft, Your Shadow = 8 ft, Object Shadow = 40 ft
- Calculation: (5 * 40) / 8 = 200 / 8 = 25 feet
- Result: The flagpole is 25 feet tall.
Understanding the sun angle and its effect on shadows can improve your accuracy.
How to Use This Height from Shadow Calculator
- Measure Reference Height: Input your own height or the height of a known object (like a fence post) into the “Your Height” field.
- Measure Shadows: On a sunny day, measure the shadow of your reference object and the shadow of the tall object you want to measure. Enter these into the “Your Shadow Length” and “Tall Object’s Shadow Length” fields.
- Select Units: Choose the unit of measurement you used (e.g., meters, feet). It’s critical that all three measurements use the same unit for the calculation to be correct.
- Interpret Results: The calculator will instantly show you the estimated height of the tall object. The intermediate values show the height-to-shadow ratio, which should be the same for both objects.
Key Factors That Affect Height Calculation
- Sun’s Angle: The lower the sun is in the sky, the longer the shadows, which can sometimes make measurements easier but also more prone to being distorted by uneven ground.
- Level Ground: The calculation assumes the ground is perfectly flat. If the object is on a slope, the shadow length will be skewed, leading to an inaccurate result.
- Measurement Accuracy: Small errors in measuring your height or the shadow lengths can lead to significant errors in the final calculated height. Use a good quality tape measure.
- Time of Day: Measurements must be taken at the same time. The sun’s angle changes quickly, so you should measure both shadows within a few minutes of each other.
- Object’s True Vertical: The method assumes the object you’re measuring (and your reference object) is perfectly vertical. A leaning tree will not give an accurate height reading with this method.
- Penumbra Effect: The edge of a shadow is not perfectly sharp; it’s a fuzzy region called the penumbra. Be consistent about whether you measure to the start, middle, or end of this fuzzy edge.
Learn more with our sun angle calculator to see how time of day affects shadow length.
Frequently Asked Questions (FAQ)
- Why do all my measurements need to be in the same unit?
- The calculation is a ratio. If you mix units (e.g., your height in feet and a shadow in meters), the ratio will be incorrect, leading to a wildly inaccurate result. This calculator uses the selected unit for all labels but the math requires consistency.
- What is the best time of day to measure shadows?
- Mid-morning or mid-afternoon are often best. Around noon, shadows can be very short and difficult to measure accurately. At sunrise or sunset, they are extremely long and can be distorted by the landscape.
- Does this work on a cloudy day?
- No. This method requires a direct light source (the sun) to cast clear, defined shadows. On a cloudy day, the light is too diffuse.
- How accurate is this method?
- It can be surprisingly accurate if done carefully on flat ground. The main sources of error come from measurement mistakes and uneven terrain. For a quick estimate, it’s an excellent tool.
- Can I use my phone’s camera to help?
- Yes, it can be helpful to take a picture from directly above the end of the shadow to mark its position accurately, especially if you need to measure a long shadow in sections.
- What if the object is on a hill?
- This simple method will not be accurate. Calculating height on a slope requires more advanced trigonometry involving the angle of the slope itself. You may need a tool like our slope angle calculator.
- Is there an alternative to using my own shadow?
- Yes, any object with a known height can be used. A yardstick, a meter rule, or a fence post of a known height works perfectly as a reference object.
- What does the height-to-shadow ratio mean?
- It’s a value that represents the angle of the sun’s rays. A ratio of 1 means the sun is at a 45-degree angle. A ratio less than 1 means the sun is lower in the sky (shadow is longer than height), and a ratio greater than 1 means the sun is higher (shadow is shorter than height).