Slope and Aspect Explained

Slope is the rate of change of elevation at each point — how steep the ground is; aspect is the compass direction a slope faces. Together they are two of the most useful things you can derive from a DEM, turning raw elevation into information you can act on — where it is too steep to build, which hillsides get the sun, where water will run.

Slope: how steep

Slope is the rate of change of elevation at each point — how steep the ground is. It is usually shown in degrees or as a percentage, on a colour scale from flat to steep.

It drives decisions everywhere: buildable ground, road grades, erosion risk, machine access and safety.

Aspect: which way it faces

Aspect is the compass direction a slope faces — north, east, south or west. It is what controls how much sun a hillside receives and how exposed it is to wind and weather.

Aspect matters for agriculture, solar siting, snowmelt and habitat, where orientation changes the outcome as much as steepness does.

Both come from the DEM

Slope and aspect are computed directly from the DEM by comparing each cell to its neighbours. Shown as colour overlays on the terrain, they reveal patterns that raw elevation hides.

Percent, degrees and ratio: three ways to write slope

Slope can be written as an angle in degrees, as a percentage (rise over run × 100) or as a ratio such as 1:2. They describe the same ground: 100% is 45° or 1:1, 50% is about 26.6° or 1:2, 25% is about 14.0° or 1:4, 10% is about 5.7° or 1:10 and 5% is about 2.9° or 1:20.

Roads and drainage are usually quoted in percent, mining and civil design in degrees or as a ratio, and GIS packages default to one or the other. Always check which unit a slope map or a specification uses before comparing two numbers.

How slope and aspect are calculated

Most GIS software looks at a 3×3 window: the cell and its eight neighbours. The change in elevation toward the east and west, and toward the north and south, gives the steepness; the direction of steepest descent gives the aspect, measured clockwise from north. Common implementations, such as the one in GDAL, weight the nearer neighbours more heavily (Horn's method).

Cell size sets what slope can show. On a 30 m DEM a 5 m bench face is averaged with the ground around it; on a 0.1 m drone DEM the same bench is a sharp, steep band. Compare slope maps only between DEMs of similar resolution.

What slope and aspect do not tell you

Flat ground has no aspect: with no downhill direction there is nothing to point to, so GIS software typically marks those cells as undefined.

Slope and aspect describe the shape of the surface, not whether a slope will hold. Stability depends on rock or soil strength, water and loads, which a DEM does not contain; slope-stability analysis is a separate geotechnical calculation.

Frequently asked questions

What is slope in terrain analysis?

Slope is the rate of change of elevation at each point — how steep the ground is — usually shown in degrees or as a percentage on a colour scale from flat to steep.

What is aspect in terrain analysis?

Aspect is the compass direction a slope faces — north, east, south or west — which controls how much sun a hillside receives and how exposed it is to wind and weather.

Why do slope and aspect matter?

Slope drives decisions about buildable ground, road grades, erosion risk, machine access and safety, while aspect matters for agriculture, solar siting, snowmelt and habitat, where orientation changes the outcome as much as steepness does.

Where do slope and aspect data come from?

Slope and aspect are computed directly from a DEM by comparing each cell to its neighbours, and are usually shown as colour overlays on the terrain that reveal patterns raw elevation hides.

How do you convert slope percent to degrees?

Degrees = arctan(percent ÷ 100). So 100% is 45°, 50% is about 26.6°, 25% is about 14.0° and 10% is about 5.7°. Going the other way, percent = tan(degrees) × 100.

Does flat ground have an aspect?

No. Aspect is the direction of steepest descent and flat ground has none, so GIS software typically marks flat cells as undefined instead of giving them a compass direction.

Run slope and aspect analysis in STREAM

Native Windows · fully offline · free beta

Slope Analysis Software