Back to Tools

Slope Calculator

Slope Calculator

Visualizing Rise over Run (Ξ”y / Ξ”x)

About the Slope Calculator

Find the slope of a line that passes through two points, along with its equation and angle.

How to use the Slope Calculator

  1. Enter the coordinates X1, Y1, X2 and Y2.
  2. Press Calculate.

Formula and method

m = (yβ‚‚ βˆ’ y₁) Γ· (xβ‚‚ βˆ’ x₁)

The line equation is y = mx + b, where b = y₁ βˆ’ m Γ— x₁.

Worked example

Through (1, 2) and (4, 8): m = (8 βˆ’ 2) Γ· (4 βˆ’ 1) = 2, so y = 2x.

Two points. Between (2, 3) and (6, 11) the slope is (11 βˆ’ 3) Γ· (6 βˆ’ 2) = 2. The line rises 2 units for every 1 unit to the right.

When to use the Slope Calculator

  • Finding the steepness of a line from two points.
  • Working out a road grade or a roof pitch.
  • Writing the equation of a line.

Common mistakes to avoid

  • Subtracting the coordinates in a different order for the top and the bottom.
  • Forgetting that a vertical line has an undefined slope.

Tips

  • If x₁ equals xβ‚‚ the line is vertical and the slope is undefined.
  • A positive slope rises left to right; a negative slope falls.

Frequently Asked Questions

It measures steepness: how much y changes for each one unit change in x.
The line falls as you move to the right.
Zero.
Live Support
We usually reply within minutes

Enter your name to start a conversation with our team.