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
Minerals and the Three Kinds of Rock
  1. 1Minerals, the building blocks of rocks
  2. 2Igneous rocks from melted rock
  3. 3Sedimentary and metamorphic rocks
  1. Earth and Environmental Science
  2. /Minerals and the Three Kinds of Rock
  3. /Sedimentary and metamorphic rocks

Course 1.2·Lesson 3 of 3

Sedimentary and metamorphic rocks

Sedimentary rock forms from layers of sand, mud and shells. Metamorphic rock forms when heat and pressure change a rock without melting it. We see how each one forms and learn to name them.

about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Minerals and the Three Kinds of Rock
  1. 1Minerals, the building blocks of rocks
  2. 2Igneous rocks from melted rock
  3. 3Sedimentary and metamorphic rocks

Try the code and the simulations beside the lesson.

Rock from mud and sand

Stir some soil into a jar of water and leave it. The sand settles first, then the mud. Layer by layer, the jar fills from the bottom. Lakes and seas do the same thing, over thousands of years.

Sedimentary rock forms in five steps:

  1. Weathering: rain, ice, heat and plants break rock into small pieces.
  2. Transport: rivers, wind, ice and waves carry the pieces away.
  3. Deposition: the pieces settle in layers, on the floor of a lake or a sea.
  4. Compaction: new layers on top squeeze the lower ones and push the water out.
  5. Cementation: minerals left by the water glue the grains together.

The loose pieces are called sediment. The layers of rock are called strata.

RockMade from
Sandstonegrains of sand
Shalemud and clay
Conglomeraterounded pebbles
Limestoneshells and coral
Chalktiny sea shells

The white cliffs of Dover in England are chalk. They are made of the shells of tiny sea creatures, far too small to see.

Layers tell a story

A cliff with flat layers of sedimentary rock: shale at the bottom, then sandstone, then limestone with small fossil shells at the top. An arrow beside the cliff points down and says older. On the right, under the words heat and pressure, three arrows show what each rock becomes: shale becomes slate, sandstone becomes quartzite and limestone becomes marble.

In a cliff of flat layers, the bottom layer was laid down first. So the lowest layer is the oldest, unless the rocks have been turned over. In the Grand Canyon in the USA, a river has cut through many such layers, with the oldest at the bottom.

Sedimentary rocks hold most fossils: shells, bones and leaves that were buried in the sediment and turned to stone.

How fast do the layers grow?

Thickness = rate × time. Suppose mud settles at 0.5 mm a year for 20 thousand years. Then

0.5 mm/yr×20 000 yr=10 000 mm\displaystyle 0.5\ \text{mm/yr} \times 20\,000\ \text{yr} = 10\,000\ \text{mm}0.5 mm/yr×20000 yr=10000 mm

That is 10 m.

A useful fact: 1 mm a year for a thousand years makes 1 m.

At 0.5 mm a year the mud reaches 10 m after 20 thousand years. At 2 mm a year it takes only 5 thousand years.

Practise with new numbers

Rock changed by heat and pressure

Deep underground, rock can be squeezed by the weight above it or heated by nearby magma. Its minerals change and grow into new crystals, but the rock never melts. It becomes metamorphic rock, from Greek words for change of form.

FromHeat and pressure make
Limestonemarble
Shaleslate
Sandstonequartzite
Granitegneiss

Marble is limestone that has recrystallised. The white marble of the Taj Mahal came from Makrana in India, and Michelangelo carved his statue of David from marble quarried at Carrara in Italy. Slate splits into thin flat sheets, good for roofs. Gneiss has bands of light and dark minerals.

Try it in Python

The program takes the layers of a cliff, from the bottom up. For each layer it knows the thickness and how fast it was laid down. It works out how many years each layer took.

Predict first. Which layer is the oldest? Which took the longest to form? Then run it.

1. How many years did the whole cliff take?

2. Add a layer ("chalk", 5, 0.05) at the end of the list. How long did it take, and is it older or younger than the limestone?

Common mistakes

  • Thinking metamorphic rock was melted. It changes while still solid. Melted rock that cools is igneous.
  • Saying the top layer is the oldest. In flat layers the bottom one formed first.
  • Mixing up mm and m. 1 m is 1000 mm. Divide a thickness in mm by 1000 to get metres.
  • Thinking all limestone is the same as marble. Marble is limestone changed by heat and pressure. Both are made of calcite.

Remember these

  • Sedimentary rock: weathering, transport, deposition, compaction and cementation. It forms in layers and holds fossils.
  • In flat layers the lowest is the oldest.
  • Metamorphic rock: heat and pressure change a rock without melting it. Limestone becomes marble, shale becomes slate.

Check yourself

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

  1. Which rock is made of grains of sand glued together?
  1. Mud settles at 0.3 mm a year for 60 thousand years. How thick is the layer?
  1. What does shale become when it is heated and squeezed?
  1. Why are fossils found mostly in sedimentary rocks, not in igneous rocks?

References

  • S. Earle, Physical Geology, 2nd edition (BCcampus, 2019), chapter 6: Sedimentary Rocks, and chapter 7: Metamorphism.

Enroll free in Minerals and the Three Kinds of Rock

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)

Mud settles on the floor of a deep lake at 0.6 mm each year for 15 000 years…Medium · Middle Stage (6–8) · by StemPy Lab
A sea cliff has two layers of rock. At the bottom is 120 m of sandstone, laid down at 0.4 mm a year…Hard · Middle Stage (6–8) · by StemPy Lab
Deep under a growing mountain range, four rocks are heated and squeezed: limestone, shale…Easy · Middle Stage (6–8) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Minerals and the Three Kinds of Rock
← Igneous rocks from melted rockNext →

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.

Python Labs (1)

Reading the layers of a cliffPython Lab · by StemPy Lab

Question Sets (1)

Minerals and Rocks: Concept Check10 questions · by StemPy Lab

Notes (1)

Minerals and Rocks: Quick RevisionNote · by StemPy Lab