How this instrument works
Gradient is the ratio of vertical change to horizontal change between two points on a straight line: m = (y₂ − y₁) ⁄ (x₂ − x₁). Pick any other pair of points on that same line and the ratio comes back identical — a straight line has exactly one gradient, never a range of them, which is what makes the single figure in the Gradient (slope) field a complete description of how steeply the whole line climbs or falls.
Surveyors and road engineers often write the same figure as a ratio rather than a decimal — a gradient of 0.05 becomes '1 in 20', meaning the surface climbs one unit of height for every twenty units travelled horizontally. Drainage pipes are laid to shallow gradients like 1 in 40 so water flows without silting or eroding the pipe, while a wheelchair ramp is rarely allowed past roughly 1 in 12 — the same division this sheet performs, just read the other way round.
Gradient also governs how two lines sit relative to each other. Lines that never meet — parallel lines — share exactly the same gradient no matter how far apart they run, while two lines that cross at a right angle have gradients whose product is −1: a gradient of 2 pairs with a perpendicular gradient of −0.5. Neither rule applies to a vertical line, since a run of zero has no reciprocal to speak of.
- Enter the first point's coordinates into the x₁ and y₁ fields.
- Enter the second point's coordinates into x₂ and y₂ — decimals and negative numbers both work.
- Read Gradient (slope): the vertical change per unit of horizontal change between the two points you entered.
- A positive value climbs left to right, a negative value falls, and zero marks a perfectly flat line.
- If x₂ equals x₁ the sheet reports the line as vertical, since a gradient needs a horizontal change to divide by.
Worked example — a channel from (1, 2) to (4, 8)
A site engineer marks two survey pegs along a drainage channel: peg A sits at horizontal position x₁ = 1 m where the ground height is y₁ = 2 m, and peg B sits further along at x₂ = 4 m where the ground has risen to y₂ = 8 m. Rise: 8 − 2 = 6 m. Run: 4 − 1 = 3 m. Gradient: m = 6 ⁄ 3 = 2.0 — for every metre the channel runs forward, it climbs two metres, a ratio of 2 in 1.
A gradient of 2 in 1 is far steeper than any drainage pipe should be — codes typically target something closer to 1 in 40 to keep water flowing without eroding the pipe — but it is exactly what you would expect from a steep chute or a flight of steps rather than a gently sloped channel. Move either peg to a different spot along the same straight run and the division still returns 2.0 exactly, because gradient belongs to the whole line, not to the particular pair of points used to measure it.
Questions
Is gradient the same thing as slope?
Yes — gradient and slope are two names for the identical calculation, m = (y₂ − y₁) ⁄ (x₂ − x₁). 'Gradient' is the term used throughout British and Commonwealth mathematics teaching, GCSE and A-level syllabuses among them, while 'slope' is the more common word in the United States; the arithmetic behind the two words never differs.
How do I write a gradient as a ratio like 1 in 20?
Take the reciprocal of the gradient's size: a gradient of 0.05 is 1 ⁄ 0.05 = 20, written '1 in 20', meaning 1 unit of rise for every 20 units of run. Road signs, railway gradients, and drainage falls are usually posted this way, since '1 in 20' reads more intuitively on a hillside than a decimal like 0.05 does.
Do two lines with the same gradient ever cross?
No — equal gradients are exactly what makes two distinct lines parallel. Because both climb at the identical rate for every unit they run, the vertical gap between them never opens or closes, so they stay the same distance apart forever and never meet, however far you extend them in either direction.
What gradient is perpendicular to a given one?
Its negative reciprocal. A gradient of 2 meets a gradient of −0.5 at a right angle, since 2 × (−0.5) = −1; a gradient of 1 ⁄ 3 pairs with −3 the same way. The rule breaks only for a horizontal line, gradient 0, whose perpendicular partner is vertical and has no gradient to multiply by at all.
What's the most common mistake when calculating gradient by hand?
Flipping which difference goes on top. The rise, y₂ − y₁, belongs in the numerator and the run, x₂ − x₁, belongs in the denominator — swap them and a true gradient of 2 comes out as 0.5 instead, a real and easy-to-miss error since both numbers are legitimate differences, just divided the wrong way round.
Why does the sheet reject two points with the same x-coordinate?
Because the run, x₂ − x₁, would equal zero, and dividing by zero has no defined answer. Two points sharing an x-coordinate sit on a vertical line, which gains height without ever running sideways, so there is no horizontal distance left to measure the rise against — gradient simply does not apply there.