Slope Calculator Online

Find the slope, y-intercept, angle of incline and distance between two points, calculated instantly in your browser.

The Slope Calculator runs entirely in your browser. The coordinates you enter are computed locally and never leave your device or get uploaded to ArrayKit.

Open the Distance Calculator

About Slope Calculator

Slope Calculator finds the slope, y-intercept, angle of incline, and distance between two points on a line. Enter the coordinates of Point 1 (x₁, y₁) and Point 2 (x₂, y₂) and it computes the rise-over-run slope, the point where the line crosses the y-axis, the angle the line makes with the horizontal, the straight-line distance between the points, and the full slope-intercept equation of the line. When both points share the same x-coordinate, the line is vertical and the tool reports an undefined slope with an x = constant equation instead. It is useful for algebra homework, plotting a trend line, checking a roof pitch or ramp grade, or working out point-slope and slope-intercept forms by hand. Everything runs locally in your browser, and the coordinates you enter never leave your device.

Features

How to use the Slope Calculator

  1. Enter the coordinates of Point 1 (x₁, y₁)
  2. Enter the coordinates of Point 2 (x₂, y₂)
  3. Read the slope, y-intercept, angle, distance and equation in the Result section
  4. Copy the full result summary with one click

Example

Input

(0,0),(2,4)

Output

Slope 2 · y = 2x

Rise 4 over run 2 gives a slope of 2, and the line passes through the origin so b = 0.

Common errors & troubleshooting

Frequently asked questions

What is the Slope Calculator?
It is a tool that takes two points, (x₁, y₁) and (x₂, y₂), and computes the slope, y-intercept, angle of incline, distance between the points, and the equation of the line through them.
How does the Slope Calculator find the slope of a line?
It divides the change in y by the change in x: slope = (y₂ − y₁) ÷ (x₂ − x₁). This is the classic 'rise over run' formula from point-slope geometry.
What does the Slope Calculator do with a vertical line?
When both points have the same x-coordinate, the change in x is zero and the slope is mathematically undefined. The Slope Calculator reports 'Undefined (vertical)' and gives the equation as x = <the shared x-value>.
Does the Slope Calculator give the y-intercept and full line equation?
Yes. Once it has the slope, it solves b = y₁ − slope × x₁ and writes the equation in y = mx + b form, simplifying to y = b for a horizontal line.
Can the Slope Calculator also find the distance between two points?
Yes. Alongside the slope, it uses the Pythagorean theorem — distance = √((x₂ − x₁)² + (y₂ − y₁)²) — to report the straight-line distance between Point 1 and Point 2.
Does the Slope Calculator upload the coordinates I enter?
No. The Slope Calculator computes everything in your browser. The coordinates you type never leave your device and are not sent to ArrayKit.

Related tools

All ArrayKit tools