Skip to content

Slope Calculator

Find slope, rise, run, and a line equation from two points, including vertical-line handling.

Use the tool

Coordinates from −1 trillion to 1 trillion. Two distinct points are required.

Result

Enter values, then select the action button.

How it works

Slope is (y₂−y₁)/(x₂−x₁). For nonvertical lines the intercept is y₁−slope×x₁. A vertical line has undefined slope and equation x = x₁. Identical points do not determine one line.

Worked examples

How do I use this tool?

Review the method and limits, enter your values, and select calculate. Change the mode where offered. Copy or download the result, or reset to restore the example inputs. Changing inputs clears the previous result.

Are my entries uploaded?

The tool processes your entries in this browser. It does not upload them, store them automatically, or add them to page URLs. You choose whether to copy, download, or print results. Website-wide details are in our privacy policy.

Found a problem? Suggest an improvement.