Slope Calculator

Find slope, equation, distance, midpoint & angle between two points

Point 1

Point 2

Results

How to Use

  1. Enter the coordinates of Point 1 (x₁, y₁) and Point 2 (x₂, y₂).
  2. Click Calculate or press Enter to compute.
  3. View the slope, line equation, distance, midpoint, and angle of inclination.
  4. The graph visualizes the line with both points marked.
  5. Try the example buttons for quick calculations.

Related Tools

Frequently Asked Questions

How do you calculate slope?

Slope = (y₂-y₁)/(x₂-x₁). It measures steepness between two points.

What does a positive slope mean?

The line rises from left to right — as x increases, y increases.

What does a negative slope mean?

The line falls from left to right — as x increases, y decreases.

What is a zero slope?

A horizontal line where y₁=y₂. The line is flat.

What is an undefined slope?

A vertical line where x₁=x₂. Division by zero is undefined.

What is slope-intercept form?

y = mx + b, where m is slope and b is the y-intercept.

How do I find the midpoint?

Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2), the point halfway between.

What is the distance formula?

Distance = √((x₂-x₁)²+(y₂-y₁)²), the straight-line distance.