Algebra

Slope-Intercept Grapher

Enter a line in any common form and see it graphed instantly, with the slope as a fraction, both intercepts and the equation rewritten in slope-intercept, point-slope and standard form.

-
FormEquation

Runs entirely in your browser. Nothing is uploaded to any server.

Why use this line grapher

Any starting point

Slope and intercept, a point and slope, two points or standard form.

Exact fractions

Slopes like 2/3 stay as fractions instead of 0.666667.

Compare lines

Find where two lines cross and whether they are parallel or perpendicular.

How to graph a line

  1. Choose the formPick how your line is given and type the numbers; fractions like 3/4 are fine.
  2. Read the graphThe red dot is the y-intercept, orange is the x-intercept, and the dashed steps show rise over run.
  3. Get all formsCopy the line in slope-intercept, point-slope or standard form.

The three forms of a linear equation

Slope-intercept form y = mx + b is the quickest to graph: start at (0, b) on the y-axis and move m units up for every unit to the right. Point-slope form y − y₁ = m(x − x₁) is handy when you know one point and the slope. Standard form Ax + By = C uses whole numbers and can also describe vertical lines.

The slope through two points is the rise over the run, m = (y₂ − y₁)/(x₂ − x₁). If the two x-values are equal, the run is zero and the line is vertical, with an undefined slope and equation x = constant.

Parallel lines

Have equal slopes and never meet.

Perpendicular lines

Have slopes whose product is −1.

Horizontal lines

Have slope 0 and equation y = b.

Slope-intercept FAQ

How do I find the slope from two points?

Subtract the y-values and divide by the difference of the x-values in the same order: m = (y₂ − y₁)/(x₂ − x₁).

How do I convert standard form to slope-intercept form?

Solve Ax + By = C for y: y = (−A/B)x + C/B, as long as B is not zero.

Why does a vertical line have no slope-intercept form?

Its slope is undefined because the run is zero, so it cannot be written as y = mx + b. Its equation is x = constant.

Can I type fractions?

Yes. Enter values like 2/3 or -5/4 in any box.

How is the intersection found?

The two equations are solved together as a pair of simultaneous linear equations.

Try other math tools

More free tools from My Panda Toolbox.