Math July 13, 2026 · 8 Min Read

Slope Calculator – Guide & Formulas

Calculate the slope (m), angle, y-intercept, and distance between two coordinates. Learn step-by-step slope formulas.

Try the free calculator

Put these formulas into practice with our instant, step-by-step Slope Calculator.

Open Calculator ›

Use our free **slope calculator** to instantly **find the slope of a line** passing through two coordinate points. This **rise over run formula calculator** computes the **slope (m)**, **angle of inclination**, **y-intercept**, and distance between points with step-by-step results. Whether you need to **calculate slope from two points** for a math assignment or determine the **gradient** for a construction project, this tool provides accurate results. Simply enter your **coordinate points** and get the slope as a fraction, decimal, and angle — 100% free with no signup required!

Key Takeaway

Use the free Slope Calculator to calculate the slope (m), angle, y-intercept, and distance between two coordinates. learn step-by-step slope formulas. Get instant results with step-by-step explanations.

How to Use the Slope Calculator

  1. Enter the x and y coordinates for the first point (x₁, y₁) in the slope calculator.
  2. Enter the x and y coordinates for the second point (x₂, y₂) to calculate the slope.
  3. Review the rise-over-run fraction to understand the slope as a ratio.
  4. Check the decimal value of the slope m for precise calculations.
  5. Observe the angle of inclination in degrees to see how steep the line is.
  6. Note the y-intercept value where the line crosses the y-axis.
  7. Use the slope results for algebra homework, construction planning, or coordinate geometry problems.

The Formula

m = (y2 - y1) / (x2 - x1)

Variable Definitions

  • m: Slope of the line (steepness)
  • (x1, y1): Coordinates of the first point
  • (x2, y2): Coordinates of the second point

Determining the Slope of a Ramp

A ramp starts at point (2, 3) and ends at point (10, 7). Find its slope and steepness ratio.

  1. Step 1: Identify coordinates: (x₁, y₁) = (2, 3) and (x₂, y₂) = (10, 7).
  2. Step 2: Apply the slope formula: m = (7 - 3) / (10 - 2).
  3. Step 3: Simplify the rise and run: m = 4 / 8 = 0.5 (or 1/2).
  4. Step 4: The ramp slope is 0.5 with an inclination angle of approximately 26.57°.

Frequently Asked Questions

What is a slope calculator?

A slope calculator is an online tool that computes the slope (rate of change) of a line passing through two points. It uses the rise-over-run formula m = (y₂ − y₁) / (x₂ − x₁) to determine steepness, angle, and y-intercept.

How do I find the slope of a line?

To find the slope, subtract the y-coordinates and divide by the difference in x-coordinates: m = (y₂ − y₁) / (x₂ − x₁). Our calculator does this automatically when you enter two coordinate points.

What is the rise over run formula?

The rise-over-run formula calculates slope as the vertical change (rise) divided by the horizontal change (run) between two points: slope = rise / run = (y₂ − y₁) / (x₂ − x₁).

Is this slope calculator free to use?

Yes, this slope calculator is 100% free with no signup required. You can use it unlimited times to find the slope of any line from two coordinate points.

What does a zero slope mean?

A slope of zero represents a perfectly horizontal flat line, where there is no vertical change (rise = 0). The line goes straight left and right.

What is an undefined slope?

An undefined slope occurs on a perfectly vertical line, where the change in x is zero (run = 0), leading to a division by zero. The line goes straight up and down.

How do you find slope from an equation?

In slope-intercept form (y = mx + b), the coefficient of x (which is m) is the slope. For example, in y = 3x + 2, the slope is 3.

When should I use a slope calculator?

Use a slope calculator when you need to find the steepness of a line for math homework, construction grade calculations, roofing pitch, road incline analysis, or any coordinate geometry problem.

What is the slope of a vertical line?

A vertical line has an undefined slope because the run (change in x) is zero. Division by zero is mathematically undefined, so we say vertical lines have no defined slope.

Can a slope be negative?

Yes. A negative slope means the line goes downward from left to right — as x increases, y decreases. A positive slope means the line rises from left to right.