Slope-Intercept Form Calculator screenshot

Slope-Intercept Form Calculator

Write y = mx + b from a slope and an intercept, with the x-intercept, standard form, parallel and perpendicular slopes, and an optional table of points.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Horizontal case handled

Slope-Intercept Form Calculator

Write y = mx + b from a slope and an intercept, with the x-intercept, standard form, parallel and perpendicular slopes, and an optional table of points.

How this page computes

The equation is written from the two inputs directly, and standard form is −mx + y = b, the same line with both variables on one side. The x-intercept solves y = 0.

The parallel slope is m and the perpendicular slope is −1/m, with the horizontal case reported as vertical. A table entry evaluates mx + b at each listed x.

The calculation runs entirely in this browser tab; nothing is uploaded.

Given a slope and a y-intercept the equation is immediate: m = 2 and b = −3 give y = 2x − 3. The page also converts it to standard form and finds the x-intercept, 1.5.

It prints the slopes of the parallel and perpendicular lines through the same intercept, which is the next question after the equation, and it can fill a table of x values so the line can be plotted without arithmetic.

How to use Slope-Intercept Form Calculator

Enter the slope and the y-intercept, and optionally a semicolon-separated list of x values, then press Run. A slope of 0 is accepted and reported as a horizontal line.

The output gives the equation, standard form, the x-intercept, the parallel and perpendicular slopes, and the table when you asked for one.

What the intercept does and does not say

The slope is the change in y per unit change in x, and the intercept is the value at x = 0. Those two numbers determine the line completely, which is why they are the standard way to write it.

A horizontal line has slope 0 and no x-intercept unless it sits on the axis. The page reports that case rather than dividing by zero, and it reports the perpendicular of a horizontal line as vertical, which is the only honest answer.

What to Expect

Best for

  • The equation from a slope and an intercept
  • The x-intercept and standard form of that line
  • A table of points to plot

Not ideal for

  • A line given by two points, which the line page takes
  • A vertical line, which has no slope-intercept form
  • A curve, which no linear form describes

What this tool keeps

  • The slope and the intercept exactly as typed

What may need cleanup

  • Nothing: the equation and the table are final

Common errors

  • A non-numeric slope or intercept is refused by name
  • A table entry that is not a single x value is refused

Example use cases

  • Write y = 2x - 3 from m = 2 and b = -3
  • Get the values at x = 0, 1 and 5
  • Find the perpendicular slope to a horizontal line

Sample input

m = 2, b = -3, table at x = 0, 1, 5

Sample output

y = 2x - 3, x-intercept 1.5, table (0, -3), (1, -1), (5, 7)

Who this is for

  • Students plotting a line
  • Readers checking a linear model

Frequently asked questions

What is the x-intercept?

The x value where y is 0, which is −b/m. For y = 2x − 3 it is 1.5. A horizontal line has none unless it lies on the axis, and the page says so instead of dividing by zero.

Why is the perpendicular slope negative one over m?

Because perpendicular lines' slopes multiply to −1. Turning the line a quarter turn swaps the rise and the run and flips one sign.

Can I get more points?

Yes. List any x values separated by semicolons in the table field and the page evaluates the line at each, which is exactly the arithmetic of plotting it.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.