Contour Map and Gradient Calculator
Shape a landscape of hills and hollows, see its contour lines, tap two points for heights and gradient, and draw a cross-section; or calculate a gradient by hand.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Shape the land
Add hills or hollows and set their height and spread.
- 2Set the interval
Choose the contour interval and the map width on the ground.
- 3Place A and B
Tap Point A or Point B, then tap the map.
- 4Read the results
Check heights, horizontal distance, gradient and steepest part.
- 5Draw the cross-section
Adjust the vertical exaggeration and read the profile.
- 6Calculate and practise
Use the gradient calculator for real maps and the Practice tab.
About this tool
Contour lines join points of equal height and turn a flat map into a picture of hills, valleys and slopes. Reading them is a classic map skill: estimating heights, recognising steep and gentle slopes, working out gradients and drawing cross-sections. This tool lets you practise all of it. Shape a landscape by placing hills (or hollows, with negative heights) and choosing the contour interval; the contour map is drawn automatically, with thicker index contours and labels. Tap two points to read their heights, the horizontal distance, the average gradient as 1 in n, as a percentage and as an angle, and the steepest part of the route. The cross-section from A to B is drawn below with an adjustable vertical exaggeration. A separate calculator works from any two heights and a distance, and practice questions follow map-skills exam style.
Who it is for
Geography students learning map skills, hikers and cyclists who want to understand gradients, and teachers creating contour exercises.
Reading contours
Closely spaced contours mean a steep slope; widely spaced ones a gentle slope. Concentric rings show a hill or a hollow. Contours bending into V shapes point uphill along valleys and downhill along spurs. The contour interval is the height difference between neighbouring lines, often 10 m on 1:50,000 maps and 5 m or 10 m on 1:25,000 maps.
Gradient
Gradient compares the vertical interval (VI, the difference in height) with the horizontal equivalent (HE, the distance on the ground). As a ratio it is written 1 in (HE ÷ VI); as a percentage VI ÷ HE × 100; as an angle tan⁻¹(VI ÷ HE). A 1 in 20 slope is 5% and about 2.9°. Road signs in the UK show gradients as percentages.
Cross-sections
A cross-section is a side view along a line. On paper you place a strip along the line, mark where each contour crosses, and plot the heights on a graph. The tool samples the height along the line and draws the profile. Because hills are small compared with horizontal distances, the vertical scale is stretched; the exaggeration slider controls by how much, and you should state it on any section you draw.
Worked example
Point A is at 120 m and point B at 310 m, 1,500 m apart horizontally. The vertical interval is 190 m, so the gradient is 1 in 1,500 ÷ 190 = 1 in 7.9, or 12.7%, an angle of 7.2°. That is steep for a road: many countries sign gradients above 10%.
The landscape editor
Each hill has a position, a height and a spread; overlapping hills make ridges and saddles, and negative heights make hollows. The base height lifts the whole map. The map width sets the ground distance, which drives all distances and gradients.
Limits
The landscape is a smooth model, not a real survey; real terrain has cliffs and irregular shapes. Heights between contour lines are interpolated, as in map reading, and real maps also use spot heights and trig points. Average gradients hide steeper short sections, which is why the steepest part is shown separately.
Worked example
A 120 m, B 310 m, 1,500 m apart: VI 190 m, gradient 1 in 7.9, 12.7%, 7.2°.
Quick facts
- Category: Study & Education
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Ordnance Survey MapZone: contours and relief on maps
Frequently asked questions
What is a contour interval?
The difference in height between neighbouring contour lines, printed in the map key, often 5 or 10 metres.
How do I calculate a gradient?
Divide the vertical interval by the horizontal distance. Write it as 1 in (distance ÷ height difference), or multiply by 100 for a percentage.
What is vertical exaggeration?
Stretching the vertical scale of a cross-section so that relief is visible. A ×5 exaggeration makes slopes look five times steeper.
How do I recognise a valley on a contour map?
Contours form V shapes pointing uphill, often with a river along the bottom of the V.
Why show the steepest part?
An average gradient can hide short steep sections that matter for walking, cycling or building a road.
Can I use my own heights?
Yes. The gradient calculator tab works with any two heights and a horizontal distance from a real map.
