📘 CodingMarble Learn

Sedimentary Rocks: Layer by Layer into Stone

Sedimentary rocks form at Earth's surface from bits of older rock, minerals that come out of water, or remains of living things. Weathering breaks rock into sediment; erosion and transport by rivers, wind, ice and waves carry it; when the flow slows, sediment is deposited in layers (strata), usually in seas, lakes, rivers and deserts. The oldest layer is at the bottom (law of superposition). Diagenesis turns loose sediment into rock: compaction (the weight of layers above squeezes grains and pushes water out) and cementation (minerals such as calcite, silica and iron oxide crystallise between grains and glue them). Clastic rocks are named by grain size: conglomerate and breccia (gravel), sandstone (sand), siltstone, and shale or mudstone (clay). Chemical rocks form from minerals that precipitate from water: rock salt, gypsum, some limestone, chert. Organic (biogenic) rocks form from remains of living things: coal, chalk and shelly limestone. Sedimentary rocks cover about 75% of the land surface, hold almost all fossils, oil, gas, coal and groundwater, and their structures (bedding, cross-bedding, ripple marks, mud cracks, graded bedding) tell us about past environments.

🎬 Step-by-step story

  1. Sun, rain, frost and roots break old rock into bits (weathering). Rivers, wind and ice carry the bits away (erosion).
  2. Where water slows down, the bits settle in layers (deposition). The bottom layer is the oldest.
  3. The weight of new layers squeezes the ones below. Grains press together and water is pushed out: compaction.
  4. Minerals from the water crystallise between grains and glue them: cementation. Loose sediment is now rock. This change is diagenesis.
  5. Name the rock by what it is made of: pebbles = conglomerate, sand = sandstone, mud = shale; chemical = rock salt, limestone; organic = coal.
  6. Free play: change the water speed. Fast water drops pebbles, slow water drops mud. Spot ripple marks, cross-bedding and a fossil.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

How can soft sand become hard stone without melting?

Minerals dissolved in water crystallise between grains and glue them, like cement in concrete. No melting is needed. Step 4 shows the glue filling the gaps.

Why is the bottom layer the oldest?

Each new layer is laid on top of the one before, so lower layers came first. Step 2 shows layers stacking from the bottom.

Why do layers get thinner when buried?

The weight of layers above squeezes grains closer and pushes water out. Watch the thickness readout in step 3.

Why are some rocks made of big pebbles and others of fine mud?

Water speed decides what settles: fast water drops big pebbles, calm water drops fine mud. Try the slider in step 6.

Where does sediment come from?

From older rocks broken by weather and carried by rivers, wind and ice. Step 1 shows the hill breaking and the river carrying the bits.

Are coal and rock salt also sedimentary even though they are not broken rock?

Yes. Coal is organic (plant remains) and rock salt is chemical (comes out of water). Step 5 groups them.

What are sedimentary rocks?

Sediment means bits that settle: pebbles, sand, mud, shells, or minerals that come out of water. Sedimentary rocks form when sediment piles up and hardens.

They form at or near Earth's surface, at normal temperatures. That is very different from igneous rocks (cooled from melted rock) and metamorphic rocks (changed by heat and pressure).

Key facts:

How sediment becomes rock: from weathering to diagenesis

  1. Weathering: rock breaks down where it is. Physical: frost wedging, heating and cooling, roots. Chemical: rainwater (a weak acid) dissolves or changes minerals, for example feldspar becomes clay.
  2. Erosion and transport: rivers, wind, glaciers, waves and gravity move the pieces. On the way, grains get rounder and get sorted by size (fast water carries big grains; slow water only fine ones).
  3. Deposition: when the water or wind slows, grains settle. Big grains drop first, mud last. Layers form one on top of another.
  4. Diagenesis (all the changes that turn sediment into rock at low temperature):
    • Compaction: the weight of layers above presses grains together. Pore space and water decrease; mud can lose more than half its volume.
    • Cementation: water moving through the pores leaves minerals, mainly calcite, silica (quartz) and iron oxides (which colour rocks red). These crystals glue grains together. This step is called lithification (becoming stone).

If burial goes deeper and gets hotter (above about 200 °C), diagenesis ends and metamorphism begins.

Types of sedimentary rocks

1. Clastic (detrital) rocks: made of broken pieces

Grain sizeSedimentRock
> 2 mmGravel, pebblesConglomerate (rounded), breccia (angular)
1/16 – 2 mmSandSandstone
1/256 – 1/16 mmSiltSiltstone
< 1/256 mmClay, mudShale (splits into thin sheets), mudstone

2. Chemical rocks: minerals that come out of water

When water evaporates or its chemistry changes, dissolved minerals precipitate: rock salt (halite) and gypsum form as seas or salt lakes dry up (evaporites); some limestone and travertine form from calcium carbonate; chert and flint are silica.

3. Organic (biogenic) rocks: from living things

Coal forms from buried plant remains in swamps (peat → lignite → bituminous coal). Chalk and shelly limestone form from shells and skeletons of sea creatures; coral reefs build limestone too.

Depositional environments

The kind of rock tells us where it formed:

Sedimentary structures: reading the past

Sedimentary layers keep clues, like a diary written in stone:

Try it: make layers in a bottle

Put a handful each of small pebbles, sand and soil in a clear bottle, fill it with water, close it and shake hard. Put it down and watch for 10 minutes, then leave it overnight. The pebbles settle first, then sand, then fine mud on top: graded bedding. Swirl the water gently in one direction and look for ripples on the sand. Then press a stack of wet sand and clay layers in a cup with a weight and watch water squeeze out (compaction).

Key formulas and definitions

Worked examples

1. A rock has rounded pebbles 1–3 cm across held in a sandy cement. Name it and its likely environment.

Rounded grains bigger than 2 mm in a cement = conglomerate. Rounding means long transport by fast water, such as a mountain river or a pebbly beach.

2. A layer of shale lies on top of sandstone, which lies on top of conglomerate (not overturned). Which is oldest, and what happened to the water over time?

Conglomerate at the bottom is oldest (superposition). Grain size goes from pebbles to sand to mud upward, so the water became calmer over time, for example as sea level rose or a river slowed.

3. A 10 m thick layer of mud with 60% water compacts into shale with 10% water. Assuming only water is lost, estimate the new thickness.

Solid part = 40% of 10 m = 4 m. In the shale the solids are 90% of the thickness, so thickness ≈ 4 ÷ 0.9 ≈ 4.4 m. Compaction more than halved it.

4. How can you tell if ancient ripple marks were made by waves or by a river current?

Wave ripples are symmetrical with pointed crests (back-and-forth motion). Current ripples are asymmetrical: a gentle upstream slope and a steep downstream slope, which also shows which way the current flowed.

5. Why do we find layers of rock salt and gypsum hundreds of metres thick under some deserts?

They are evaporites. A shallow sea or salt lake kept refilling and drying in a hot climate; each time, dissolved salts precipitated. Thick beds mean this repeated for a very long time.

Common mistakes

Practice quiz

1. Which process glues sediment grains together?
2. Sandstone is made mainly of:
3. Coal is an example of a/an ____ sedimentary rock.
4. In undisturbed layers, the oldest layer is:
5. Asymmetrical ripple marks show:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How are sedimentary rocks formed?

Rock is weathered into sediment, carried by water, wind or ice, deposited in layers, then compacted and cemented into rock (diagenesis).

What are the three types of sedimentary rocks?

Clastic (from broken pieces, e.g. sandstone, shale, conglomerate), chemical (from minerals out of water, e.g. rock salt, gypsum) and organic (from living things, e.g. coal, chalk).

What are ripple marks?

Small wavy ridges on sand made by moving water or wind and preserved in rock. Symmetrical ripples come from waves; asymmetrical ones from a one-way current.

Where this is taught

Spain2º BachilleratoIgneous, sedimentary and metamorphic rocks
South Korea고등학교 3학년Earth's history

Learn first

Learn next

Related lessons

All Geography lessons