Slope of a Line Calculator

Calculate slope, angle, and direction of any line given two points. Includes rise-over-run, angle from the x-axis, and parallel/perpendicular slope rules.

Inputs

Results

ΔxΔyxyP₁P₂
\begin{aligned} m &= \dfrac{y_2 - y_1}{x_2 - x_1} \\ &= \dfrac{(10) - (2)}{(5) - (1)} \\ &= ? \end{aligned}
\begin{aligned} \theta &= \arctan(m) \\ &= \arctan(?) \\ &= ?^{\circ} \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?