Key Points
- The gradient definition: gradient equals the change in y divided by the change in x, and "gradient" and "slope" mean the same thing.
- The sign gives direction (up or down to the right) and the size gives steepness.
- When the axes carry units, the gradient is a rate of change, such as kilometres per hour.
- A gradient equals tan θ, and a percentage grade is the gradient times 100, so 100% is a 45° climb, not a wall.
One Number That Tells You How Hard a Climb Is
A road sign reading "10%" tells a driver how steep the hill is before the car reaches it. The road climbs m for every m across: as one number, . An older "1 in 5" sign tells a lorry driver how hard the next stretch will pull against the engine.
That number is a gradient, from the Latin gradi, to step. Roads, roofs and railways all needed one honest measure of "how steep"; made exact, it measures far more than hills.

What Is the Gradient Definition in Maths?
The gradient of a graph measures its steepness and direction: the change in divided by the change in . In plain terms: for every step sideways, how far up or down?
means "change in", so a gradient of means up for every to the right. "Gradient" is the usual word in the UK and much of the Commonwealth, "slope" in the US; the slope and gradient are identical. Reading it off is covered on the gradient of a line page.
What Is the Gradient Formula?
For a line through and , the gradient is
| Symbol | Meaning |
|---|---|
| the gradient | |
| , | two points on the line |
| the rise (change in ) | |
| the run (change in ) |
Either point can come first, as long as the order matches top and bottom. The step-by-step method is on finding slope from two points.
What Are the Types of Gradient?
Every gradient is one of four types, and its sign or form tells you the line's shape at a glance.
| Type | Value | The line |
|---|---|---|
| Positive | rises left to right | |
| Negative | falls left to right | |
| Zero | horizontal | |
| Undefined | no value | vertical (run is ) |
The size is the steepness: is steeper than , which is steeper than , and is as steep as , only downhill. A gradient of is a climb.

Zero and undefined are opposites, not twins: one line never climbs, the other does nothing but climb.
Why Is the Gradient Called a Rate of Change?
Put real quantities on the axes and the same number becomes a rate: how fast responds when changes. Its units are the units of over the units of . A car at the km mark after hour and the km mark after hours has gradient
its speed.

That is why a hiker calls it steepness and a scientist a rate of change. Behind both is rise over run: the rise responds, the run drives. On any straight line, the gradient is the exchange rate between the two quantities.
Gradient as the Tangent of an Angle
A gradient equals the tangent of the angle a line makes with the x-axis, because rise is opposite and run is adjacent. (In a right triangle, is the opposite side divided by the adjacent side.)

Angle and gradient do not grow evenly: doubling to triples the gradient, from about to , and near the gradient grows without limit. So a gradient of is not a climb; it is about .
Try It Yourself
In the tool, put the blue handles on and for , then drag the right one to for the line. Orange handles on and give : just as steep, downhill.
Ratios and Percentages: Gradients on Signs and Plans
Signs and plans write gradients as "1 in n" or as a percentage grade. "1 in n" means gradient , so a "1 in 12" ramp has gradient . A percentage grade is the gradient times : is .
A grade is gradient , a climb, not a wall; a road rises at only about . Strictly, a gradient uses horizontal distance; along the slope you would get the sine instead, which barely differs on gentle slopes.

The Gradient of a Curve
On a curve the gradient changes from point to point. The average gradient between two points is that of the chord (the straight line) joining them; the gradient at a point is that of the tangent there. On it is at , at and at .

Finding that exactly is the start of differential calculus, where the derivative is the slope of a tangent line.
Examples of Gradient
Example 1
A line rises 6 units for every 2 across. What is its gradient?
- Gradient is rise over run.
- .
Answer: .
Example 2
A path rises 3 m over 12 m of ground. What is its gradient?
- is tempting, but a gradient of 4 means a climb of about .
- This path is gentle, so the fraction is upside down.
- Up over across: .

Answer: , a grade, about .
Example 3
A line passes through (2, 7) and (6, −1). Find its gradient.
- Rise: .
- Run: .
- .
Answer: ; it falls 2 for every 1 to the right.
Example 4
A sign reads "1 in 8". Write the gradient as a fraction, decimal and percentage.
- "1 in 8" means .
- , and .
Answer: , or .
Example 5
A car's distance–time graph runs straight through (0, 0) and (4, 200), in metres and seconds. What is the gradient, and what does it mean?
- .
- Units: metres over seconds.
Answer: m/s, the car's speed.
Example 6
Find the average gradient of y = x² between x = 1 and x = 3.
- The points are and .
- .
Answer: (at the tangent has gradient exactly ).
What Are Common Mistakes With the Gradient Definition?
Mistake 1: Flipping the fraction
Where it slips in: The across distance is given first.
Don't do this: Divide across by up, as in .
The correct way: Up over across, every time. The student who second-guesses can check the picture: a gentle path needs a gradient well below .
Mistake 2: Confusing zero with undefined
Where it slips in: Horizontal and vertical lines.
Don't do this: Call a vertical line's gradient .
The correct way: Horizontal: rise , gradient . Vertical: run , no gradient.
Mistake 3: Treating a 100% grade as vertical
Where it slips in: "100%" sounds completely steep.
Don't do this: Draw it as a wall.
The correct way: is gradient , a climb; is about .
Mistake 4: Reporting a gradient without units
Where it slips in: Graphs of real quantities.
Don't do this: Write "gradient = 60" and stop.
The correct way: Say km/h, then ask if it makes sense. NASA lost the Mars Climate Orbiter in 1999 after ground software used English units and the spacecraft metric.
Where Does the Gradient Idea Come From, and Where Is It Used?
The gradient began as a builder's and surveyor's measure long before algebra, and it still sets the rules.
- Roads and railways post gradients so drivers prepare; railways stay gentle because smooth rails limit how steep a train can climb or brake.
- Ramps: US ADA accessibility standards cap a ramp run at .
- Maps: close contour lines mean a steep gradient.
- Science: distance–time gradients give speed, speed–time gradients give acceleration.
Like the "10%" sign, the gradient turns a shape into a statement about how one quantity drives another.
Conclusion
- The gradient definition: change in ÷ change in , the steepness and direction of a graph, and the same as slope.
- Sign is direction and size is steepness; horizontal is , vertical is undefined.
- With units, a gradient is a rate; , and a percentage grade is , so is .
- On a curve the gradient changes and is measured by the tangent.
Practise What You Have Learned
- Find the gradient through and .
- What does the gradient of a velocity–time graph represent?
- Give the gradient of the line through and .
- Write a "1 in 25" gradient as a percentage.
- A tank holds litres at min and litres at min. Find the gradient with units.
Answer to Question 1: .
Answer to Question 2: acceleration.
Answer to Question 3: undefined, because the run is .
Answer to Question 4: .
Answer to Question 5: litres per minute.
If an answer came out upside down, revisit Mistake 1.
To build the gradient concept with a teacher, explore Bhanzu's algebra tutor, geometry tutor or math tutoring.
Want a live Bhanzu trainer to walk your child through gradients and rates of change? Book a free demo class, online globally, or in person at our McKinney, TX center.
Read More
Research Behind This Article
- OpenStax, College Algebra 2e, Section 4.1: Linear Functions (slope as a rate of change) (2021). openstax.org
- OpenStax, Calculus Volume 1, Section 3.1: Defining the Derivative. openstax.org
- U.S. Access Board, Guide to the ADA Accessibility Standards, Chapter 4: Ramps and Curb Ramps. access-board.gov
- NASA Science, Mars Climate Orbiter mission page. science.nasa.gov
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What is the gradient definition in simple terms?
Is gradient the same as slope?
What is a 1 in 4 gradient?
Does the gradient have units?
How do I find a gradient from a graph?
