Math

Gradient Calculator

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

Parameters Live Compute
Calculated Output
Gradient 2
Angle (°) 63.435
Formula: gradient = (y₂ − y₁) ÷ (x₂ − x₁)
Step-by-Step Breakdown
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 this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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

The math behind it

gradient = rise ÷ run = (y₂ − y₁) ÷ (x₂ − x₁). A vertical line has an undefined gradient.

Worked Example

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

Frequently Asked Questions

Is gradient the same as slope?

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

Advertisement