Slope Calculator

Calculate the slope of a line from two points, and find the line equation in various forms.

Point 1


Point 2

Slope (m)
--
Y-Intercept (b)
--
Line Equation
--
Angle (degrees)
--
Distance Between Points
--

How It Works

The slope m = (y₂ − y₁)/(x₂ − x₁) tells you how much y changes for each unit of x. The y-intercept is found from b = y₁ − m·x₁. The angle is calculated using arctan(m) converted to degrees.

m = (y₂ − y₁) / (x₂ − x₁) | y = mx + b | d = √((x₂−x₁)² + (y₂−y₁)²)

About this Calculator

The Slope Calculator is a free, easy-to-use tool for line, equation, intercept. Simply enter your values and get instant, accurate results — no signup, no ads, no tracking. All calculations run locally in your browser, so your data stays completely private.

Privacy Note: All calculations are performed locally in your browser. No data is ever sent to a server or third party.