VastCalc
Math
Slope Calculator
Calculate the slope, y-intercept, and equation of a line through two points. Find rise, run, and angle of inclination.

Slope Calculator

Find the slope, equation, y-intercept, and angle of inclination of a line passing through two points. Enter the coordinates and get instant results with the complete line equation in slope-intercept form.

The slope of a line measures its steepness and direction. It is defined as the ratio of the vertical change (rise) to the horizontal change (run) between any two points on the line.

Slope Formula:

m = (y2 - y1) / (x2 - x1)

Slope-Intercept Form:

The equation y = mx + b describes a line where m is the slope and b is the y-intercept (where the line crosses the y-axis). Given two points, you can find both m and b.

Types of Slope:

  • Positive slope: Line rises from left to right.
  • Negative slope: Line falls from left to right.
  • Zero slope: Horizontal line (y = constant).
  • Undefined slope: Vertical line (x = constant).

Slope is fundamental in calculus (derivatives), physics (velocity), economics (marginal cost), and data science (linear regression).

Frequently Asked Questions

Search Calculators

Search across all calculator categories