Free calculatorLive resultsSteps and sourcesEmbed on your site, free

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.

Slope (m)
1.000000
Slope, Slope-Intercept and Line Equation
y-intercept (b)
0.000000
x-intercept
-0.000000
Slope-intercept form
y = 1x + 0
Point-slope form
y − 0 = 1(x − 0)
Standard form
x - y = 0
Angle of inclination
45.000000 deg
Angle of inclination
0.78539816 rad
Grade
100.000000 %
Grade as a ratio
1 in 1
Rise (Δy)
1
Run (Δx)
1
Slope of any parallel line
1.000000
Slope of any perpendicular line
-1.000000
Distance between the two points
1.414214
Midpoint x
0.5
Midpoint y
0.5
Direction
increasing (uphill left to right)
Worked out from Weisstein, Eric W. "Slope." MathWorld — m = (y₂ − y₁)/(x₂ − x₁) and 2 other sources.

Your figures

Updates as you type
Used in the rise/run mode.
Used in the slope + point mode.

How this is worked out

7 steps
  1. m = (y₂ − y₁) / (x₂ − x₁) = (1 − 0) / (1 − 0)
  2. m = 1
  3. b = y − m·x = 0 − (1)(0) = 0
  4. Equation: y = 1x + 0
  5. Angle of inclination = arctan(1) = 45°
  6. Grade = m × 100 = 100%
  7. 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

Sources and references

3 sources

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.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

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.

Related calculators

View all related calculators10 more