Slope Calculator (Free Step-by-Step Tool)
Use this free slope calculator to find the slope of a line through any two points. Enter the coordinates and you’ll instantly see the slope (as a fraction and a decimal), the rise and run, the y-intercept, the slope-intercept and point-slope equations, the angle of the line, and a live graph — all with clear, step-by-step working.
How to use the slope calculator
- Enter the coordinates of the first point, P₁ = (x₁, y₁).
- Enter the coordinates of the second point, P₂ = (x₂, y₂).
- Press Calculate to see the slope, the line’s equation, and the graph.
The slope formula
The slope m of a line through two points is the ratio of the vertical change to the horizontal change:
m = (y₂ − y₁) / (x₂ − x₁) = rise / run
A positive slope rises from left to right, a negative slope falls, a horizontal line has slope 0, and a vertical line has an undefined slope (its run is zero).
What the tool shows
- The slope as a reduced fraction and a decimal.
- Rise (Δy), run (Δx), and the y-intercept.
- The equation in slope-intercept form (y = mx + b) and point-slope form.
- The angle the line makes with the x-axis, plus a graph of the line through your points.
Frequently asked questions
How do you find the slope from two points?
Subtract the y-values to get the rise, subtract the x-values in the same order to get the run, then divide: m = (y₂ − y₁) / (x₂ − x₁). The calculator shows each step.
What is the slope of a vertical line?
A vertical line has an undefined slope because the run (the change in x) is zero, and you cannot divide by zero. Its equation is x = a constant.
What is the slope of a horizontal line?
A horizontal line has a slope of 0 because there is no vertical change (the rise is zero). Its equation is y = a constant.
Does the slope calculator also give the equation of the line?
Yes. It returns both the slope-intercept form (y = mx + b) and the point-slope form, along with the y-intercept and the line’s angle.
Is the slope calculator free?
Yes — it runs in your browser with no sign-up.
Read the full lesson: learn the method step by step.
Related to This Article
More math articles
- 10 Most Common 7th Grade FSA Math Questions
- Geometry Puzzle – Challenge 66
- Cultivating a Love for Math: Parent’s Guide to Inspiring Passion
- Full-Length ISEE Middle Level Math Practice Test-Answers and Explanations
- West Virginia WVGSA Grade 6 Math Free Worksheets: Printable Grade 6 Math Practice with Answer Keys
- Best AI Math Solver for Students: Why StudyX Should Be Your Go-To Study Buddy
- 3rd Grade LEAP Math Worksheets: FREE & Printable
- The Best Grade 4 ELA Practice Tests for Iowa Students
- Distance Measurements
- The Best Grade 3 ELA Practice Tests for Colorado Students







































What people say about "Slope Calculator (Free Step-by-Step Tool) - Effortless Math: We Help Students Learn to LOVE Mathematics"?
No one replied yet.