Slope Calculator
Work out the slope (gradient) of a line through two points, and the line equation in slope-intercept form.
Made with โค๏ธ By Latticedigital.co for ๐
Use the Slope Calculator
Calculated on your device โ nothing is uploaded.
How it works
- Enter your Point 1 โ x, Point 1 โ y, Point 2 โ x and Point 2 โ y.
- Press Calculate. The result updates as you type, so you can try different values.
- Read your result. The answer appears below the buttons, with the working shown where it helps.
Slope m = (yโ โ yโ) รท (xโ โ xโ) โ rise over run. The line equation is y = mx + b, where b is the y-intercept (the value of y when x is 0).
Worked example
Points (1, 2) and (4, 8): the slope is 2 and the line is y = 2x.
Frequently asked questions
What does the slope mean?
How steep the line is: a slope of 2 means y rises 2 for every 1 that x rises. A negative slope falls as x rises.
What is a vertical line?
A line where x never changes. Its slope is undefined because you would divide by zero.
Is this calculator free?
Yes โ it is free to use, with no sign-up and no limits. Every calculation runs in your own browser.
Last updated: 8 November 2026
Estimates only โ not financial, tax, medical or legal advice. Check with a professional before making a big decision.
The short version
That is the Slope Calculator in a nutshell: enter your numbers above and read the result โ no sign-up, and nothing you type ever leaves your device. Looking for another tool? Browse all 204 free calculators or try the Scientific Calculator next.