HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Day, Night and the Sun's Daily Path
  1. 1Day and night on a spinning Earth
  2. 2Shadows and the height of the Sun
  3. 3Sunrise, noon and sunset
  1. Space Science and Astronomy
  2. /Day, Night and the Sun's Daily Path
  3. /Shadows and the height of the Sun

Course 1.1·Lesson 2 of 3

Shadows and the height of the Sun

Your shadow is long in the morning, short at midday and long again in the evening. We find out why, and use the length of a shadow to measure something tall without climbing it.

about 25 min1 simulation1 practice question
Lesson 2 of 3Show all lessonsHide
Day, Night and the Sun's Daily Path
  1. 1Day and night on a spinning Earth
  2. 2Shadows and the height of the Sun
  3. 3Sunrise, noon and sunset

Try the code and the simulations beside the lesson.

How a shadow is made

Stand in the sunlight. Your body blocks some of the light. Behind you is a patch where the light cannot reach. That dark patch is your shadow.

Light travels in straight lines. So the shadow always points away from the Sun.

  • In the morning the Sun is in the east, so shadows point to the west.
  • In the evening the Sun is in the west, so shadows point to the east.

Long shadows and short shadows

The length of a shadow depends on how high the Sun is in the sky.

A stick standing on flat ground, drawn three times side by side. In the first, the morning, the Sun is low on the left and the shadow is long and points to the right. In the middle, noon, the Sun is high and the shadow is short. In the third, the evening, the Sun is low on the right and the shadow is long and points to the left. Under each picture its time is written.
  • When the Sun is low, near the horizon, its light comes in almost flat. Shadows are long.
  • When the Sun is high, its light comes down steeply. Shadows are short.

So shadows are long in the early morning, get shorter until about midday, and grow long again in the evening. There is one useful case. When the Sun is 45 degrees above the horizon, the shadow of an upright stick is exactly as long as the stick.

Try it. Set the Sun to 45 degrees. The number shadow ÷ height becomes 1.00. Now change the height of the stick. The shadow changes, but the number shadow ÷ height stays the same. It only changes when the Sun moves.

Measuring a tree with its shadow

That last idea is very useful. At one moment, every upright object around you has the same shadow ratio: shadow ÷ height is the same for all of them. A famous old story says that a Greek thinker, Thales, measured a pyramid in this way.

So you can find the height of a tree, a flagpole or a building without climbing it. Stand a stick upright. Measure its height and its shadow. At the same moment, measure the tree's shadow. Then

tree height=\displaystyle \text{tree height} =tree height=
stick height×tree shadowstick shadow\displaystyle \frac{\text{stick height} \times \text{tree shadow}}{\text{stick shadow}}stick shadowstick height×tree shadow​

A worked example. A stick 1.2 m tall casts a shadow 1.8 m long. At the same moment a tree casts a shadow 15 m long.

  1. The shadow ratio. 1.8 m÷1.2 m=1.51.8\ \text{m} \div 1.2\ \text{m} = 1.51.8 m÷1.2 m=1.5. Every shadow is 1.5 times as long as its object, at this moment.
  2. The tree. Tree height =1.2 m×15 m1.8 m=10 m= \dfrac{1.2\ \text{m} \times 15\ \text{m}}{1.8\ \text{m}} = 10\ \text{m}=1.8 m1.2 m×15 m​=10 m.
  3. Check. 10 m×1.5=15 m10\ \text{m} \times 1.5 = 15\ \text{m}10 m×1.5=15 m, which is the tree's shadow. It fits.

The two shadows must be measured at the same time. A few hours later the Sun has moved, and the ratio has changed.

Practise with new numbers

Try it in Python

The program finds the shadow ratio from a stick. Then it finds the height of three objects from their shadows.

Predict first. The flagpole's shadow is twice as long as the lamp post's shadow. How will their heights compare? Then run it.

1. Add a new line to shadows: "school wall": 4.5. How tall is the wall?

2. Change stick_shadow to 0.75. What happens to all the heights?

Common mistakes

  • Thinking the shadow points towards the Sun. It always points away from the Sun.
  • Thinking shadows are longest at noon. They are shortest at about noon, when the Sun is highest.
  • Measuring the two shadows at different times. The ratio changes as the Sun moves. Measure them together.
  • Putting the stick's numbers the wrong way up. Multiply by the stick's height and divide by the stick's shadow.

Remember these

  • A shadow points away from the Sun.
  • A low Sun gives long shadows. A high Sun gives short shadows.
  • When the Sun is 45 degrees high, a shadow is as long as its object.
  • At one moment all upright objects have the same shadow ratio, so tree height = stick height × tree shadow ÷ stick shadow.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Kofi's shadow points to the east. Is it morning or evening? How do you know?
  1. Is your shadow longer at 8 in the morning or at noon? Why?
  1. A stick 2.0 m tall casts a shadow 0.8 m long. At the same moment a pole's shadow is 5.2 m long. How tall is the pole?
  1. The shadow of a post is exactly as long as the post. How high is the Sun?

References

  • OpenStax, Astronomy 2e, chapter 4 (Earth, Moon, and Sky): the Sun's daily motion across the sky.

Enroll free in Day, Night and the Sun's Daily Path

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

Ines is 1.6 m tall. She stands on flat ground at the moment when the Sun is 45 degrees above the…Easy · Middle Stage (6–8) · by StemPy Lab
A class measures the school flagpole without climbing it…Medium · Middle Stage (6–8) · by StemPy Lab
Priya wants the height of her school building…Hard · Middle Stage (6–8) · by StemPy Lab
Next: lesson 3Sunrise, noon and sunset
← Day, Night and the Sun's Daily Path
← Day and night on a spinning EarthSunrise, noon and sunset →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.