Slope Calculator

Find the slope, y-intercept and equation of the line through two points, including the angle of inclination.

Runs 100% in your browser — nothing is uploaded.

Runs 100% in your browser — nothing is uploaded.

Result

Slope (m)
3
Y-intercept (b)
-1
Line equation
y = 3x − 1
Angle of inclination
71.565°

Formula

m = (y₂ − y₁) ÷ (x₂ − x₁); y = mx + b

About this calculator

The UTIQO Slope Calculator computes the slope of a line from two points, or from a linear equation, and provides the equation of the line in slope-intercept form. It is designed for students, teachers, and professionals who need quick and accurate slope calculations for algebra, geometry, and real-world applications.

How to use

  1. 1

    Enter the coordinates of the first point in the x₁ and y₁ fields.

  2. 2

    Enter the coordinates of the second point in the x₂ and y₂ fields.

  3. 3

    Click Calculate to see the slope, y-intercept, line equation, and angle of inclination.

Frequently asked questions

What does an undefined slope mean?

An undefined slope occurs when the line is vertical, meaning x₁ = x₂. The change in x is zero, so division by zero is undefined.

Can I enter fractions as coordinates?

Yes, you can enter fractions as decimal numbers or as fractions in the form 'a/b'.

How do I find the slope from a linear equation?

Rearrange the equation into slope-intercept form (y = mx + b). The coefficient of x is the slope.

Please note: Results are estimates for general information only and are not professional or medical/financial advice.