Skip to main content

Grade 8 & algebraFree, no account needed

Slope calculator

Find slope from two points, a line equation, or a point and slope. Watch a labeled coordinate graph update as you change the inputs.

All calculators

Try your problem

Your calculations stay in this browser. No input history is saved.

Supported inputs and limits

Enter two different points, a linear equation in x and y, or one point and a slope (including undefined). User-entered coordinates are limited to -10,000 through 10,000; generated graph points can extend beyond that range. Plotted positions are approximate; rational slopes are exact.

Understand the method

A coordinate graph from (1, 1) to (4, 3) has rise 2, run 3 and slope two thirds.

Slope is the change in y divided by the change in x: (y2 - y1)/(x2 - x1). It measures a line's rate of change.

A horizontal line has zero rise and zero slope. A vertical line has zero run, so its slope is undefined. Two identical points do not determine a unique line.

Worked examples

Read the reasoning, or load an example into the calculator.

Positive slope

Rise = 5 - 1 = 4. Run = 3 - (-3) = 6. Slope = 2/3.

A horizontal line

The y-values match, so rise = 0 and slope = 0.

A vertical line

The x-values match, so run = 0 and slope is undefined.

Try it without the calculator

Three questions for practice, not a graded school assessment. Your answers stay on this page and are not saved.

1. What is the slope through (1,2) and (4,8)?
2. What is the slope of a vertical line?
3. What is the slope through (0,5) and (2,1)?

Original Testinar learning content. This local preview is awaiting final review before publication.

Page UP