Updated on April 17th, 2026

Slope Calculator

Created By Jehan Wadia

Enter whole numbers, fractions (e.g., 3/4), mixed numbers (e.g., 1 3/4), or decimals.

OR
°

Fill slope OR angle. When one is entered, the other is ignored.

Supported forms: y = mx + b, Ax + By = C, y - y₁ = m(x - x₁), ax + by + c = 0


Results

Slope (m)

8/3 ≈ 2.6667

Positive ↗

Distance (d)

√73 ≈ 8.5440

Angle of Incline (θ)

69.4440°

Δy / Δx (Rise / Run)

8 / 3

Line Equations
Slope-Intercept Form:
y = (8/3)x + (-7/3)
Point-Slope Form:
y - 3 = (8/3)(x - 2)
Standard Form:
8x - 3y = 7
Intercepts:
x-int: (7/8, 0) | y-int: (0, -7/3)
Additional Properties
Percentage Grade:
266.67%
Perpendicular Slope:
-3/8 ≈ -0.3750
Midpoint:
(3.5, 7)
Step-by-Step Solution
Step 1: Identify Coordinates
Point 1: (2, 3)    Point 2: (5, 11)
Step 2: Calculate Slope
m = (y₂ - y₁) / (x₂ - x₁) = (11 - 3) / (5 - 2) = 8/3 ≈ 2.6667
Step 3: Calculate Distance
d = √((5 - 2)² + (11 - 3)²) = √(9 + 64) = √73 ≈ 8.5440
Step 4: Calculate Angle
θ = arctan(8/3) ≈ 69.4440°
Step 5: Derive Equations
y-intercept: b = 3 - (8/3)(2) = 3 - 16/3 = -7/3
Slope-Intercept: y = (8/3)x + (-7/3)
Standard Form: 8x - 3y = 7
Graph

Introduction

The slope of a line tells you how steep it is and which direction it goes. It measures how much a line rises or falls as you move from left to right. You can find the slope when you know two points on a line by using a simple formula: subtract the y-values and divide by the difference of the x-values. This is often written as slope = (y₂ - y₁) / (x₂ - x₁), which is also called "rise over run." A positive slope means the line goes up, a negative slope means it goes down, a slope of zero means the line is flat, and an undefined slope means the line is straight up and down. Use this slope calculator to quickly find the slope between any two points without doing the math by hand.

How to Use Our Slope Calculator

Enter two points on a line to find the slope. You will need the x and y values for each point. The calculator will give you the slope of the line that passes through both points.

X₁ (First Point X-Value): Type in the x-coordinate of your first point. This is how far left or right the point is on a graph.

Y₁ (First Point Y-Value): Type in the y-coordinate of your first point. This is how far up or down the point is on a graph.

X₂ (Second Point X-Value): Type in the x-coordinate of your second point. This is the left or right position of the other point on the line.

Y₂ (Second Point Y-Value): Type in the y-coordinate of your second point. This is the up or down position of the other point on the line.

Once all four values are entered, the calculator uses the slope formula (rise over run) to find your answer. The result tells you how steep the line is. A positive slope means the line goes up from left to right. A negative slope means the line goes down from left to right. A slope of zero means the line is flat, and an undefined slope means the line is straight up and down.

What Is Slope?

In math, the slope of a line tells you how steep it is. It measures how much a line goes up or down as you move from left to right. Slope is usually shown as the letter m, and it is calculated as the rise (the change in y) divided by the run (the change in x). The basic formula looks like this:

m = (y₂ − y₁) / (x₂ − x₁)

If the slope is positive, the line goes uphill from left to right. If the slope is negative, the line goes downhill. A slope of zero means the line is perfectly flat (horizontal), and an undefined slope means the line is straight up and down (vertical). Slope is closely related to the concept of rate of change, which measures how one quantity changes relative to another.

How to Find Slope

There are several ways to find the slope of a line, and this calculator covers the most common methods:

Forms of a Linear Equation

Once you know the slope and a point or the y-intercept, you can write the equation of the line in several forms:

Related Calculations

Alongside the slope, this calculator also finds several related values that are helpful in algebra and geometry:

Understanding slope is one of the most important skills in algebra. It shows up when you graph lines, solve systems of equations, and study rates of change — and it lays the groundwork for more advanced topics like calculus. If you're working with data sets and need to understand how values spread around a center, our IQR calculator can help, and when you need to check how close a measured value is to an expected one, try the percent error calculator.


Frequently Asked Questions

What is the slope formula?

The slope formula is m = (y₂ − y₁) / (x₂ − x₁). You subtract the two y-values and divide by the difference of the two x-values. This gives you the rise over run, which tells you how steep a line is.

Can I enter fractions or mixed numbers into the calculator?

Yes. You can type fractions like 3/4, mixed numbers like 1 3/4, or decimals like 1.75 into any input field. The calculator will read them all correctly.

What does it mean when the slope is undefined?

An undefined slope happens when the two points have the same x-value. That makes the denominator zero in the slope formula, and you cannot divide by zero. The line is perfectly vertical, going straight up and down.

What is the difference between the four calculator tabs?

Two Points finds the slope from two coordinates. Point + Slope + Distance finds a second point when you know one point, the slope or angle, and the distance. Equation pulls the slope from a linear equation you type in. Intercepts finds the slope using the x-intercept and y-intercept.

What is the perpendicular slope?

The perpendicular slope is the slope of a line that crosses your line at a 90-degree angle. You find it by flipping the fraction and changing the sign. For example, if the slope is 2/3, the perpendicular slope is −3/2.

How is the angle of incline calculated?

The angle of incline is found using the inverse tangent function: θ = arctan(m), where m is the slope. The result is the angle the line makes with the horizontal x-axis, given in degrees.

What is percentage grade?

Percentage grade is the slope written as a percent. You multiply the absolute value of the slope by 100. For example, a slope of 1/2 equals a 50% grade. This format is common on road signs and in construction.

What equation formats does the Equation tab accept?

The Equation tab accepts several formats: y = mx + b (slope-intercept), Ax + By = C (standard form), y − y₁ = m(x − x₁) (point-slope), and ax + by + c = 0 (general form). You can use fractions in the equation, such as y = 8/3x + 1/3.

How does the calculator find the distance between two points?

It uses the distance formula: d = √((x₂ − x₁)² + (y₂ − y₁)²). This formula comes from the Pythagorean theorem. It measures the straight-line distance between the two points.

What is the midpoint and how is it calculated?

The midpoint is the exact middle between two points. You find it by averaging the x-values and averaging the y-values: midpoint = ((x₁ + x₂) / 2, (y₁ + y₂) / 2).

Why does the Point + Slope + Distance tab give two answers?

Because there are two points that sit the same distance from your starting point along the same line — one in each direction. The calculator shows both solutions so you can pick the one you need.

Can I use an angle instead of a slope?

Yes. In the Point + Slope + Distance tab, you can enter either a slope or an angle in degrees. If you fill in the angle, the calculator converts it to a slope using the tangent function. You only need to fill in one of the two.

What is slope-intercept form?

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept (the point where the line crosses the y-axis). It is the most common way to write the equation of a line.

What is standard form of a linear equation?

Standard form is written as Ax + By = C, where A, B, and C are integers and A is positive. The calculator automatically converts your results into this form.

Does the calculator show its work?

Yes. The results include a full step-by-step solution that shows every calculation, from identifying the coordinates to finding the slope, distance, angle, and line equations.


Related Calculators

Rate Of Change Calculator

Visit Rate Of Change Calculator

Quadratic Formula Calculator

Visit Quadratic Formula Calculator