Gradient Calculator

Find the gradient (slope) of the line through two points.

Gradient 2
Angle (°) 63.435

Formula: gradient = (y₂ − y₁) ÷ (x₂ − x₁)

Step-by-step with your numbers:
1. Values used:
2. x₁ = 1
3. y₁ = 1
4. x₂ = 4
5. y₂ = 7
6.
7. Gradient = x₁ + y₁ = 1 + 1 = 2
8. Angle = 63.435°
Did we solve your problem today?

Gradient is another word for slope — how steeply a line rises or falls.

How the Math Works

The gradient calculator uses the fundamental slope formula to determine the steepness of a line connecting two points. By taking the difference in y-coordinates (y₂ - y₁) and dividing by the difference in x-coordinates (x₂ - x₁), we calculate the rate at which y changes relative to x. This ratio tells us how much the line rises or falls for each unit of horizontal movement, with positive gradients indicating upward slopes and negative gradients indicating downward slopes.

Practical Applications

To use this calculator practically, simply input the coordinates of two points that define your line of interest. For example, when analyzing data trends, you can determine if a relationship is increasing or decreasing by calculating the gradient between two data points. Engineers use this to calculate inclines for roads and ramps, while economists apply it to find the rate of change in cost or revenue functions.

Day-to-Day Use

Understanding gradients helps in everyday situations like determining how steep a hiking trail is before planning your route, calculating the appropriate angle for a wheelchair ramp, or assessing the rate at which your savings grow over time. It's also useful when reading elevation maps, evaluating the pitch of a roof for maintenance work, or even comparing the performance of different products based on price-quality ratios.

Worked example

(1, 1) to (4, 7) → gradient 6/3 = 2.

FAQ

Is gradient the same as slope?

Yes — 'gradient' is the common term in British maths for a line's slope.