Slope

Math Calculator Tool 2026

Slope Calculator.

Find slope, rise, run, y-intercept, angle, and line equation using two coordinate points.

FreeTwo PointsRise Over RunLine EquationNo Sign-up

Loading Slope Calculator...

How to Use

01

Enter Point 1

Add x₁ and y₁ coordinates for the first point.

02

Enter Point 2

Add x₂ and y₂ coordinates for the second point.

03

View Slope

Get slope, rise, run, angle, and line equation.

Slope Formula

Standard Formula

m = (y₂ - y₁) / (x₂ - x₁)

Example: For points (1, 2) and (5, 10), slope = (10 - 2) / (5 - 1) = 8 / 4 = 2.

Complete Guide

Slope is a measure of how steep a line is. It tells how much the y-value changes when the x-value changes. In simple words, slope is rise divided by run.

A positive slope means the line rises from left to right. A negative slope means the line falls from left to right. A zero slope means the line is horizontal, and an undefined slope means the line is vertical.

The slope formula uses two points on a line. First subtract the y-values to find rise. Then subtract the x-values to find run. Finally, divide rise by run.

Slope is important in algebra, graphing, geometry, physics, economics, data analysis, and real-life situations like road gradients and rate of change.

This calculator also shows the slope-intercept equation when possible. The equation y = mx + b uses m as slope and b as y-intercept.

More Math Tools

Fast calculators for school, graphing, and daily math

Slope Calculator FAQs

1. What is slope?

Slope measures how steep a line is. It shows how much y changes when x changes.

2. What is the slope formula?

The slope formula is m = (y₂ - y₁) / (x₂ - x₁), where two points are (x₁, y₁) and (x₂, y₂).

3. How does this slope calculator work?

Enter two points. The calculator subtracts y-values to find rise, subtracts x-values to find run, and divides rise by run.

4. What is rise over run?

Rise over run is another way to describe slope. Rise means vertical change, and run means horizontal change.

5. What is a positive slope?

A positive slope means the line goes upward from left to right.

6. What is a negative slope?

A negative slope means the line goes downward from left to right.

7. What is zero slope?

Zero slope means the line is horizontal. The y-value stays the same while x changes.

8. What is undefined slope?

Undefined slope happens when the line is vertical. The x-values are the same, so division by zero occurs.

9. Can vertical lines have slope?

Vertical lines have undefined slope because their run is zero.

10. Can horizontal lines have slope?

Yes, horizontal lines have slope equal to zero.

11. What is slope-intercept form?

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

12. What is y-intercept?

The y-intercept is the point where a line crosses the y-axis.

13. How do I find y-intercept from slope?

Use b = y - mx, where m is slope and (x, y) is any point on the line.

14. What is gradient?

Gradient is another word for slope, commonly used in geometry, graphs, and engineering.

15. Can slope be a decimal?

Yes, slope can be a whole number, fraction, decimal, zero, negative, or undefined.

16. What does slope of 1 mean?

Slope of 1 means y increases by 1 for every 1 unit increase in x.

17. What does slope of 2 mean?

Slope of 2 means y increases by 2 for every 1 unit increase in x.

18. What does slope of -1 mean?

Slope of -1 means y decreases by 1 for every 1 unit increase in x.

19. Can this calculator find line equation?

Yes, it shows the slope-intercept equation when the line is not vertical.

20. Is this slope calculator free?

Yes, HQCalc slope calculator is free and works instantly in your browser.