How rivers limit the height of mountains

Lift rock a millimetre a year for ten million years and it has risen ten kilometres. In this model of uplift and river erosion the highest peak at the end stands 2,284 m above the sea, because the rivers have carried the rest away.

Published
19 November 2026
Land
A 128 km square, sea on all sides, a point every 500 m
Scenes
A rising block, a range, a band of hard rock, a low plain
Method
Stream-power erosion, solved by Braun–Willett
Download
74 KB for the page and engine
Open mountains Source code on GitHub Inspired by Fastscape on GitHub
Contents
  1. The first three million years
  2. What sets the height
  3. When the uplift stops
  4. Following the water to the sea
  5. Limits
  6. Further reading

Rock in the fastest-rising ranges is pushed up by a few millimetres a year. With nothing to oppose it, land would gain several kilometres of height every million years. It doesn’t, because rain runs off rising ground, gathers into rivers and cuts down into it, faster as the slopes steepen.

mountains runs that contest on a 128 km square of land with the sea on all four sides, drawn as a map sheet with a height key and a scale. It opens on a block rising at a millimetre a year. The figures below come from that scene at its starting settings.

The first three million years

After a million years the highest point stands at exactly 1,000 m, which is all the uplift there has been. Rivers have begun cutting back from the coast, but the middle of the block has yet to feel them and has ridden up untouched.

By three million years they have reached the middle, and the highest point is 2,396 m where uplift alone would have made 3,000. From there it levels off. At ten million years it is 2,284 m and the average height of the square is 912 m. Rock is still arriving from below at a millimetre a year, and leaving down the rivers as fast. The range keeps its shape while the rock moves through it, as a waterfall does while the water moves through.

What sets the height

The model stores a height h every 500 m across the map, and three things change it:

∂h∂t=U−KAmS+D∇2h

U is uplift. K Am S is the stream-power law for rivers cutting into rock: cutting speeds up with the drainage area A, all the land upstream whose rain passes through a point, and with the slope S. K says how easily the rock erodes. The last term, soil creep, rounds off ridge tops, and at 500 m spacing it matters much less than the rivers.

When uplift and cutting balance, the equation fixes the slope along every river: S = (U/K) A−m. Small streams near the ridges must run steep and big rivers near the sea can run gently, the concave profile of real rivers. The height of a mountain is those slopes added up from the coast to the ridge. In the engine’s test of this law, run to a steady state without creep, river slopes land within 2 per cent of it.

The law also says what would make the mountains taller. Double the uplift and every river needs twice the slope to keep up: after ten million years the highest point is 4,623 m. Harder rock works through K. The hard-rock scene lays a band five times harder to erode across the block, and by ten million years it has become a ridge reaching 5,277 m.

When the uplift stops

A range held up this way lasts only as long as the push. Take the ten-million-year block and cut its uplift to the slow background rate the Stop it rising brush leaves, a twentieth of the original. A million years later the average height has fallen from 912 to 219 m, losing three-quarters. The peaks hold out longer, since erosion has to work its way up the rivers to reach them: the highest is still 1,334 m then, and 142 m after three million years.

The brushes let you change those rules in one place and watch the drainage respond. Raise a ridge across a valley and the river above it backs up into a lake, then finds a way out over the lowest point of the rim. Paint hard rock across a range and it is left standing as a ridge. On a phone, one finger paints and two turn and zoom.

Following the water to the sea

All of this rests on knowing where the rain goes. At every step a point passes its water to the steepest downhill of its eight neighbours, and hollows with no way out are filled to their rims by the priority-flood method. The engine’s tests dig a pit and confirm that it holds a lake, that every point still drains to the edge, and that the drainage areas arriving there add up to the whole map.

Big rivers on steep slopes cut fast, which would force a simple solver into time steps far too short to watch. Braun and Willett’s method, the basis of Fastscape, orders the points from the sea upstream and finds each new height from the one just downstream, in a single pass. The river step is then stable however long it is, and mountains takes ten thousand years at a time. Its 260 or so lines of Rust were written from the published equations and share no code with Fastscape.

Limits

Rivers here carry away everything they cut, with nothing settling out to build plains or fill lakes; later work on Braun and Willett’s solver adds that. Lake beds don’t erode. The crust doesn’t bob up as weight is worn off it, there are no glaciers, and rain falls equally on both sides of a range. Read the heights as results of this model and its settings, not as predictions for a real range.

Further reading