Slope Calculator

Find the slope, equation, and graph of any line in seconds — built on the same AI math engine used across MathSolver AI

Your Slope Solution

Slope (m)
Direction
Point-Slope Form y − y₁ = m(x − x₁)
Slope-Intercept Form y = mx + b
Standard Form Ax + By = C
Angle of Incline θ = arctan(m)
Perpendicular Slope m⊥ = −1/m

Unlock the full equation, graph, and step-by-step breakdown

See Step-by-Step Solution

Exact symbolic math — not a guess

Works with fractions, negatives & decimals

Results with full working in seconds

More Than Just a Slope Number

Why students switch from manual rise-over-run worksheets to our AI math solver engine.

Capability Manual Calculation Slope Calculator
Two-point, point-slope & equation input ✘ One method only ✔ All 3 modes
Converts to slope-intercept & standard form ✘ Manual algebra ✔ Automatic
Handles negative & fractional slopes ⚠ Error-prone ✔ Always exact
Perpendicular & parallel slope ✘ Separate formula ✔ Included
Step-by-step explanation Textbook only ✔ Every problem

What This Slope Calculator Solves

Six core slope problems covered with full working, from middle-school basics to college-level applications.

Slope from Two Points

Enter (x₁, y₁) and (x₂, y₂) and get m = (y₂ − y₁) / (x₂ − x₁) with every substitution shown.

Example: (2, 5) and (9, 19) → m = 2

y=mx+b

Slope-Intercept Form

Convert any line into y = mx + b, identifying slope and y-intercept instantly for graphing or comparison.

Example: 2x − y = −4 → y = 2x + 4

(x₁,y₁)

Point-Slope Form

Build y − y₁ = m(x − x₁) from one point and a known slope — the most common way teachers ask for the answer.

Example: point (2, 5), slope 2 → y − 5 = 2(x − 2)

%

Slope as Percent & Angle

Convert slope m into a percentage grade or an angle of incline (θ = arctan m) for applied math and physics problems.

Example: m = 0.5 → 50% grade, θ ≈ 26.6°

Perpendicular & Parallel Slope

Find the slope of any line perpendicular (negative reciprocal) or parallel (identical) to a given line.

Example: m = 4 → perpendicular slope = −1/4

Slope of a Tangent Line

For curves, find the slope of the tangent line at a point using derivatives — bridging algebra into calculus.

Example: f(x) = x² at x=3 → slope = 6

Built for Every Slope Problem, Every Level

📘

Middle & High School

Learn rise over run with visual, step-by-step solutions that match how slope is taught in Algebra 1 and Algebra 2.

🎓

College & AP Students

Verify slope-intercept and standard form conversions fast, then move into tangent lines and derivatives for calculus.

📐

Teachers & Tutors

Generate quick, accurate worked examples for lesson plans, homework checks, or explaining a concept on the fly.

How the Slope Calculator Works

Get a complete slope solution in four simple steps.

1

Choose Your Input

Pick two points, a point plus a slope, or paste a full line equation — whatever your problem gives you.

2

AI Applies the Formula

The calculator runs the rise-over-run formula or algebraic rearrangement needed, showing each transformation.

3

Review Every Form

See the slope, plus point-slope, slope-intercept, and standard form — all derived from the same answer.

4

Unlock the Full Breakdown

Get the complete step-by-step explanation and graph to confirm your homework or exam prep answer.

Frequently Asked Questions

Common questions about finding and working with slope.

How do you find the slope of a line from two points?+

Subtract the y-coordinates and divide by the difference in x-coordinates: m = (y₂ − y₁) / (x₂ − x₁). Enter your two points above and the calculator shows every step of that substitution.

What is the difference between point-slope form and slope-intercept form?+

Point-slope form, y − y₁ = m(x − x₁), uses one known point and the slope. Slope-intercept form, y = mx + b, isolates y and shows the y-intercept directly. The calculator converts between both automatically.

How do I calculate slope from a single equation?+

Rearrange the equation into y = mx + b form by solving for y. The coefficient in front of x is the slope. Paste the original equation into the Equation tab and the tool handles the rearrangement.

What does a negative slope mean?+

A negative slope means the line falls from left to right — as x increases, y decreases. A positive slope rises left to right, and a slope of zero is a horizontal line.

How do you find the slope of a perpendicular line?+

Take the negative reciprocal of the original slope. If a line has slope m, any line perpendicular to it has slope −1/m. Parallel lines share the exact same slope.

Can this calculator convert slope to a percentage or angle?+

Yes. Once the slope m is known, percentage grade equals m × 100, and the angle of incline equals the arctangent of m. Both appear in the full results breakdown.

Is this slope calculator the same as a roof or ramp slope tool?+

No. This calculator is built for algebra and coordinate geometry problems involving lines, points, and equations — not construction pitch or grade measurements.

What is the slope of a tangent line, and how is it different?+

The slope of a tangent line measures the instantaneous rate of change of a curve at a single point, found using a derivative rather than the simple rise-over-run formula used for straight lines.

Slope Calculator: Find the Slope, Equation, and Graph of Any Line

A slope calculator finds how steep a line is and writes that line’s equation in every common form. Slope, often written as m, measures vertical change divided by horizontal change — what most teachers call “rise over run.” This page covers every way a slope problem can be presented: two coordinate points, a point with a known slope, or a full line equation that needs rearranging.

Instead of returning a single number, this calculator shows the complete working: the formula applied, the substitution of your values, and the resulting slope. That makes it useful both for checking a homework answer and for understanding the method behind it.

How to Calculate Slope from Two Points

The most common slope problem gives you two points on a line, (x₁, y₁) and (x₂, y₂), and asks you to find the slope between them. The slope formula is:

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

Subtract the y-values to get the vertical change (“rise”), subtract the x-values to get the horizontal change (“run”), then divide. For example, given the points (2, 5) and (9, 19): the rise is 19 − 5 = 14, the run is 9 − 2 = 7, so the slope is 14/7 = 2. A slope of 2 means the line rises 2 units for every 1 unit it moves right.

What If x₁ Equals x₂?

If both points share the same x-coordinate, the denominator becomes zero and the slope is undefined — the line is vertical. If both points share the same y-coordinate, the slope is exactly zero and the line is horizontal.

Point-Slope Form vs. Slope-Intercept Form

Once you know the slope, there are several standard ways to write the equation of the line. Each form is useful in different situations.

Point-Slope Form

Point-slope form is written as y − y₁ = m(x − x₁), using any single point on the line plus the slope. This form is the fastest to write down immediately after calculating slope, since it needs no further rearranging.

Slope-Intercept Form

Slope-intercept form, y = mx + b, isolates y and reveals the y-intercept (b) — the point where the line crosses the y-axis. This is the form most commonly used for graphing, since both the slope and starting point are visible at a glance.

Standard Form

Standard form, Ax + By = C, keeps both variables on one side. It’s less intuitive for graphing but is the conventional form used in many textbook answer keys and systems-of-equations problems.

Converting Slope to Percentage and Angle

Slope isn’t always expressed as a plain number. In applied math, physics, and geography, slope is often described as a percentage grade or an angle of incline.

  • Percentage grade: multiply the slope by 100. A slope of 0.5 is a 50% grade.
  • Angle of incline: take the arctangent of the slope. A slope of 1 corresponds to a 45° angle.
  • Ratio form: express slope as “1 in N,” where N = 1 divided by the slope.

These conversions use the same underlying value of m — only the presentation changes depending on the field or the question being asked.

Perpendicular and Parallel Slopes

Two lines are parallel if they share the exact same slope. Two lines are perpendicular if their slopes are negative reciprocals of each other — meaning you flip the fraction and change its sign. A line with slope 3/4 is perpendicular to any line with slope −4/3.

Pro tip: To find a perpendicular slope quickly, flip the numerator and denominator of the original slope, then switch the sign. If the original slope is a whole number, write it as a fraction over 1 first (e.g., slope 5 becomes 5/1, so the perpendicular slope is −1/5).

Slope in Calculus: The Slope of a Tangent Line

For a straight line, slope is constant everywhere along it. For a curve, the steepness changes from point to point — so the concept of “slope” only makes sense at a single point at a time. The slope of a tangent line at that point is found using a derivative, and it represents the instantaneous rate of change of the function there.

This is the bridge between basic algebra and calculus: the same rise-over-run intuition applies, but instead of two fixed points, calculus considers the limit as two points on a curve get infinitely close together.

Common Slope Calculator Mistakes to Avoid

  • Flipping rise and run: always subtract y-values on top, x-values on bottom — not the reverse.
  • Mixing up point order: as long as you’re consistent (x₂ − x₁ matches y₂ − y₁), the order of the two points doesn’t change the result.
  • Forgetting the negative sign on perpendicular slopes: a reciprocal alone isn’t enough — the sign must flip too.
  • Confusing percentage grade with angle: a 100% grade is a 45° angle, not a 100° angle.

Ready to Solve Your Slope Problem?

Enter your points, slope, or equation above and get the full step-by-step answer instantly.

Calculate My Slope Now