Skip to main content

Slope / Slope-Intercept Calculator

Find slope, slope-intercept form, point-slope form, standard form, intercepts, and a graph from two points, one point and a slope, an equation, or a table of values. Get clear steps, visuals, and a student-friendly interpretation.

Background

Slope tells you how steep a line is and whether it rises, falls, stays horizontal, or is vertical. Slope-intercept form, y = mx + b, shows the slope m and y-intercept b directly, which makes it one of the most useful forms for graphing and interpreting linear equations.

Choose what you know

Input mode

Two points

Point and slope

Slope-intercept form

This represents y = mx + b.

Standard form

This represents Ax + By = C.

Type a linear equation

Supported examples: y = 2x - 3, 2x - y = 5, x = 4, y = -1/2x + 6.

Options

Result

No result yet. Enter values, then click Calculate.

How to use this calculator

  • Choose whether you know two points, one point and a slope, slope-intercept form, or standard form.
  • Enter the values you know, then click Calculate.
  • Read the slope, y-intercept, x-intercept, line direction, and equivalent equation forms.
  • Use the graph to see the line, the intercepts, and the rise/run triangle.
  • Use quick picks to practice positive, negative, zero, undefined, and fractional slopes.

How this calculator works

  • For two points, it uses m = (y₂ − y₁)/(x₂ − x₁).
  • For point + slope, it uses y − y₁ = m(x − x₁), then solves for b.
  • For slope-intercept form, it reads m and b directly.
  • For standard form, it converts Ax + By = C into y = mx + b when possible.
  • It then builds a graph, a value table, and a step-by-step explanation.

Formula & Equations Used

Slope from two points: m = (y₂ − y₁)/(x₂ − x₁)

Slope-intercept form: y = mx + b

Point-slope form: y − y₁ = m(x − x₁)

Standard form: Ax + By = C

Y-intercept: b, the value of y when x = 0

X-intercept: the value of x when y = 0

Example Problem & Step-by-Step Solution

Example 1 — Find slope from two points

  1. Suppose a line passes through (2, 3) and (6, 11).
  2. Use m = (y₂ − y₁)/(x₂ − x₁).
  3. Substitute: m = (11 − 3)/(6 − 2).
  4. Simplify: m = 8/4 = 2.
  5. The slope is 2, meaning the line rises 2 units for every 1 unit it moves right.

Example 2 — Convert to slope-intercept form

  1. Suppose the line has slope m = -3 and passes through (2, 5).
  2. Start with y = mx + b.
  3. Substitute the point and slope: 5 = -3(2) + b.
  4. Solve: 5 = -6 + b, so b = 11.
  5. The slope-intercept form is y = -3x + 11.

Example 3 — Identify a vertical line

  1. Suppose two points are (4, 2) and (4, 9).
  2. The x-values are the same, so x₂ − x₁ = 0.
  3. That makes the slope undefined because division by zero is not allowed.
  4. The equation is x = 4, which is a vertical line.
  5. A vertical line cannot be written in slope-intercept form because it is not a function of x.

Frequently Asked Questions

Q: What does slope mean?

Slope measures how much a line rises or falls for each 1-unit move to the right. It is often described as rise over run.

Q: What is slope-intercept form?

Slope-intercept form is y = mx + b. The number m is the slope, and b is the y-intercept.

Q: What does a positive slope mean?

A positive slope means the line rises from left to right. As x increases, y also increases.

Q: What does a negative slope mean?

A negative slope means the line falls from left to right. As x increases, y decreases.

Q: What is an undefined slope?

An undefined slope happens when the line is vertical. The run is 0, so the slope formula would require division by zero.

Q: What is a zero slope?

A zero slope happens when the line is horizontal. The y-values stay the same, so the line has no rise.

Function Analyzer Calculator
Analyze functions with graphs, derivatives, extrema, limits, asymptotes, and step-by-step explanations
Ratio Calculator
Simplify ratios, solve proportions, scale ratios, split totals, compare and convert ratios
Domain and Range Calculator
Find domain and range of common functions with clear steps + number-line visual
Quadratic Equation Calculator
Solve quadratic equations with exact roots, steps, and graph
Matrix Calculator
Perform matrix operations with steps, exact fractions, and visuals
Fraction Calculator
Calculate fractions step by step with mixed numbers, decimals, LCD/LCM, comparisons, and conversions
Inequality Solver
Solve linear, compound, quadratic, rational, and absolute value inequalities with steps and graphs
Equation Solver
Solve algebra equations step by step with checks, visuals, and multiple equation types
Rational Equation Solver
Solve rational equations with domain restrictions, LCD clearing, extraneous checks
Dot Product Calculator
Calculate dot product, angle, orthogonality, and vector projections
Conic Sections Calculator
Identify and convert circle, parabola, ellipse, and hyperbola equations with steps
Simplify Expression Calculator
Simplify, expand, factor, and reduce algebraic expressions step by step
Factoring Calculator
Quickly factor ax² + bx + c and get the roots
Pythagorean Theorem Calculator
Find hypotenuse, solve missing leg, or check if sides make right triangle
Graphing Calculator
Graph functions, compare equations, trace coordinates, and explore graph features step by step
System of Linear Equations Calculator
Solve 2×2 and 3×3 systems with steps, exact fractions & mini graph
Slope Percentage Calculator
Instantly convert slope %, angle (°), and ratio (1 in N)
Point-Slope Form Calculator
Build line equations from a point and slope with steps and graph
Linear Regression Calculator
Calculate best-fit line, correlation r, and R² from your data
Distance Calculator
Calculate distance in 2D, 3D, point-to-line, speed/time, lat-long, or scaled grid modes
Vector Projection Calculator
Calculate scalar projection, vector projection, angle, and orthogonality of vectors
Triangle Calculator
Solve right and any triangle (SSS, SAS, ASA, SSA). Find sides, angles, area, perimeter
Right Triangle Calculator
Solve right triangles: sides, angles, area, perimeter, steps, visual
Vector Calculator
Calculate vector operations with steps and visual diagrams
Correlation Coefficient Calculator
Calculate Pearson’s r, Spearman’s rank correlation, r², regression line, significance, and relationship strength
All Calculators & ConvertersAll calculators