🔥 Most Trending Calculators:

📈 Slope Calculator

Advertisement🚀MetaSeoTool — 100+ Free SEO ToolsText, image & PDF tools that run right in your browser. No sign-up, no limits.Try Free Tools

The slope of a line measures its steepness: how much y changes for each step in x. From any two points the calculator finds the slope, the y-intercept, the distance between the points, and the full equation of the line.

A positive slope climbs left to right, a negative slope falls, zero is flat, and a vertical line has an undefined slope — the calculator flags that case instead of dividing by zero.

How to use this calculator

Enter the x and y coordinates of two points. You get the slope, the y-intercept, the distance between the points and the equation of the line.

  1. Enter the x and y coordinates of Point 1.
  2. Enter the x and y coordinates of Point 2.
  3. Press Calculate to see the slope, the y-intercept and the line equation.
  4. Read the distance result too - it is handy for geometry problems alongside the slope.

Frequently asked questions

What does this slope calculator return?

It finds the slope, the y-intercept, the distance between the two points, and the equation of the straight line through them in y = mx + b form. A vertical line is flagged as having an undefined slope instead of producing a division-by-zero error.

What formulas does it use?

Slope m = (y2 - y1) / (x2 - x1), and the y-intercept b = y1 - m times x1. Distance uses the Pythagorean form: the square root of (x2 - x1) squared plus (y2 - y1) squared.

Can you show a worked example?

Enter Point 1 as (1, 2) and Point 2 as (3, 8). The slope is (8 - 2) / (3 - 1) = 3, the y-intercept is 2 - 3 * 1 = -1, and the equation is y = 3x - 1.

What are the limits of this calculator?

Two identical points define no line, so the calculator will raise an error - check for a typo in your coordinates. Remember the sign reading: a positive slope climbs left to right, a negative slope falls, and zero means the line is flat.