Gradient and Y Intercept Calculator

Updated 5 Dec 2026 · By , HisaabHub · How we check

Quick answer: Gradient m = (y2 - y1) / (x2 - x1) and the y intercept c = y1 - m x x1. Points (1, 3) and (3, 7) give m = 2 and c = 1, so y = 2x + 1. Enter your two points below.

Advertisement

How to find the gradient and y intercept

The gradient is how steep the line is: rise divided by run. The y intercept is where the line crosses the y axis (x = 0). Find m first, then put one point in y = mx + c to get c. For a quick slope only, use the slope calculator.

Worked example table

Gradient and y intercept examples
Point 1Point 2GradientY interceptEquation
(0, 1)(2, 5)21y = 2x + 1
(1, 3)(3, 7)21y = 2x + 1
(2, 8)(4, 4)-212y = -2x + 12
(0, 0)(5, 10)20y = 2x

Checked: 5 Dec 2026.

Advertisement

Where students use it

Used in school algebra, graph questions and simple trend lines such as price against quantity. Check results with the average calculator when you fit several points by hand.

Roman Urdu

Do points likhein, calculator gradient (slope) aur y intercept bata dega. Line ki equation y = mx + c hoti hai.

Questions people ask

What is the gradient intercept form?
It is y = mx + c, where m is the gradient and c is the y intercept.
How do I find the y intercept?
Calculate m, then c = y - m x x using any point on the line.
What is the y intercept of a vertical line?
A vertical line has no gradient and usually no y intercept.
Is gradient the same as slope?
Yes. Gradient and slope both mean rise divided by run.
Can the gradient be negative?
Yes. A line going down from left to right has a negative gradient.
Advertisement