Slope of a Line Calculator

Find the slope between two points on a line, along with the rise and run used to calculate it. Enter x1, y1, x2 and y2 to see slope, rise and run…

8
Daily Uses

8 of 8 free uses remaining today

Find the slope between two points on a line, along with the rise and run used to calculate it. Enter x1, y1, x2 and y2 to see slope, rise and run when you calculate.

Enter your values

Each successful calculation counts toward this tool’s 8 free daily uses. Values stay in your browser.

Worked example

Example calculated from the starting values. Enter your own values and press Calculate to get your result.

Slope2.0000
Rise8.0000
Run4.0000

With the default inputs (x1 = 1, y1 = 2, x2 = 5, y2 = 10), the results are: slope 2.0000; rise 8.0000; run 4.0000.

Quick reference: x1 vs result

Reference table based on the example values; it is not your calculation result.

x1SlopeRiseRun
0.51.77788.00004.5000
12.00008.00004.0000
22.66678.00003.0000
10-1.60008.0000-5.0000
20-0.53338.0000-15.0000

Frequently asked questions

What formula does this calculator use?

Slope = (y2-y1) ÷ (x2-x1); Rise = y2-y1; Run = x2-x1. Variables: x1 = x1, y1 = y1, x2 = x2, y2 = y2.

What do I need to enter?

You need x1, y1, x2, y2. Results update as you type.

What is an example result?

With the default inputs (x1 = 1, y1 = 2, x2 = 5, y2 = 10), the results are: slope 2.0000; rise 8.0000; run 4.0000.

Related Tools

View all