Math & Conversions

Slope Intercept Calculator

Enter two points and this tool finds the slope, the y-intercept, and the line's slope-intercept equation. For example, the points (1,2) and (3,8) give slope 3, intercept -1, and y = 3x + -1.

What this calculator does

The Slope Intercept Calculator estimates your result instantly from the values you enter, using standard math & conversions formulas. Enter two points and this tool finds the slope, the y-intercept, and the line's slope-intercept equation. For example, the points (1,2) and (3,8) give slope 3, intercept -1, and y = 3x + -1. Calculations run in your browser, so nothing you type is sent to a server, and the output is an estimate rather than a certified or official figure.

Slope Intercept Calculator

Result

—
Slope m
—
y-intercept b
—
Equation

About Slope Intercept Calculator

The Slope Intercept Calculator takes two points and returns the line's slope, its y-intercept, and the full slope-intercept equation. The slope is the rise over run between the points, and the intercept is where the line crosses the y-axis.

Use it to build the equation of a line when you know two points on it.

Formula & Mathematical Calculation

Slope m = f(x1, y1, x2, y2)

Calculated according to standard math formulas implemented in the calculator core.

Calculation Example

Enter x1 = 1, y1 = 2, x2 = 3, y2 = 8, then click Calculate.

The tool shows Slope m = 3, y-intercept b = -1, and Equation = y = 3x + -1, with the note "Slope 3, intercept -1."

Key Benefits

  • Computes the slope between two points as rise over run
  • Finds the y-intercept from the slope and a point
  • Assembles the complete slope-intercept equation
  • Flags vertical lines where the two x-values are equal

How to Use this Calculator

  1. Enter the first point
    Type its coordinates into the x1 and y1 fields, for example 1 and 2.
  2. Enter the second point
    Type its coordinates into the x2 and y2 fields, for example 3 and 8.
  3. Calculate and read
    Click Calculate and read the Slope m, y-intercept b, and Equation boxes.

Assumptions & Limitations

What the calculation assumes

  • Every value you enter is treated as an exact, known amount.
  • Any rate or interval you enter is assumed to hold for the whole period unless the form asks for it separately.
  • Results use standard published formulas and account only for the values entered above.
  • Rounding is applied for display; the underlying calculation uses your full precision.
  • Results are returned in the same units you enter, unless the tool states the output unit.

What it does not cover

  • Slope Intercept Calculator produces a calculated result for reference and learning, not a certified or official measurement.
  • Real-world outcomes differ when tolerances, rounding rules or local standards apply.
  • Definitions and standards vary by region and change over time; verify the convention that applies to your case.
  • Figures are only as accurate as the inputs you supply — check them before acting on the result.
  • For work where the result carries real consequences, confirm it against an authoritative source.

Frequently Asked Questions

The Slope Intercept Calculator shows an error, because a vertical line has an undefined slope and cannot be written in slope-intercept form.

After computing the slope, the tool uses b = y1 minus slope times x1, which places the line's crossing of the y-axis.

The tool concatenates a plus sign with the intercept value, so a negative intercept appears as "+ -1" while still representing the correct equation.

Free to use, no account needed. Calculations run in your browser, so nothing you type is sent to a server. Results are estimates — how we build and check our calculators.