Finding Slope Calculator
Finding slope calculator works out Slope (m) and y-intercept (b) from Given, x₁ and y₁. The default figures on this page give slope (m) of 1.000000; change any entry and the result, the working and the sources update together.
Your figures
Updates as you typeHow this is worked out
7 steps
- m = (y₂ − y₁) / (x₂ − x₁) = (1 − 0) / (1 − 0)
- m = 1
- b = y − m·x = 0 − (1)(0) = 0
- Equation: y = 1x + 0
- Angle of inclination = arctan(1) = 45°
- Grade = m × 100 = 100%
- Parallel slope = 1; perpendicular slope = −1/m = -1
Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed
What the finding slope calculator calculates
Finds the slope of a line from two points, a rise and run, an angle or a percent grade, then returns the slope-intercept, point-slope and standard forms plus the parallel and perpendicular slopes.
How to use this finding slope calculator
Enter Given, x₁, y₁ and x₂. Slope (m) updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.
How the result is worked out
Open “How this is worked out” beside the result for the step-by-step calculation behind Slope (m), y-intercept (b) and x-intercept.
The method follows Weisstein, Eric W. "Slope." MathWorld — m = (y₂ − y₁)/(x₂ − x₁), Weisstein, Eric W. "Line." MathWorld — slope-intercept, point-slope and standard forms and 2010 ADA Standards for Accessible Design §405.2 — ramp slope stated as a 1:12 run ratio.
Two points (1,2) and (3,8) example
With Given: two-points, x₁: 1, y₁: 2, x₂: 3, the calculator returns Slope (m): 3, y-intercept (b): -1, Slope of any perpendicular line: -0.333333333. This example is checked against an independent source in the test suite.
What you can compare
Change one input at a time to see how it affects Slope (m), y-intercept (b) and x-intercept. The inputs you can vary are Given, x₁, y₁, x₂, y₂ and Rise (vertical change).
Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.
See something wrong? Report a problem with this calculator
Frequently asked questions
What is the formula to find slope?
On the figures this page opens with — x₁ 1, y₁ 2, x₂ 3 and y₂ 8 — the slope (m) is 1. No single number fits everyone: change any figure above and the answer updates as you type, with each step of the arithmetic beside it.
How do I find what a 2% slope is?
Finds the slope of a line from two points, a rise and run, an angle or a percent grade, then returns the slope-intercept, point-slope and standard forms plus the parallel and perpendicular slopes. Open “How this is worked out” beside the result to see each step for your own figures.
How to calculate slope from angle?
It needs Given, x₁, y₁, x₂, y₂ and Rise (vertical change). Nothing else is required, and the figures stay in your browser.
How to calculate slope in calculator?
The result gives Slope (m), y-intercept (b), x-intercept, Slope-intercept form, Point-slope form and Standard form, each labelled with its unit so the figure can be read on its own.
What information do I need for the finding slope calculator?
You need Given, x₁, y₁, x₂, y₂, Rise (vertical change), Run (horizontal change) and Slope m. The page opens with default figures that give slope (m) of 1.000000, so you can see the scale before entering your own.
What does this finding slope calculator show?
It shows Slope (m), y-intercept (b), x-intercept, Slope-intercept form, Point-slope form, Standard form, Angle of inclination and Grade, with the working and any warnings for your entries.
