Free Tool

Linear equation visualiser.

Type a table of values and watch the straight line appear. The graph shows the gradient as rise over run and marks where the line crosses the y-axis, so you can see how the table, the graph and the equation y = mx + c all describe the same line.

Table of values

Use whole numbers, decimals or fractions like 1/2. Empty rows are skipped.

xy

Or start from an equation

Choose a gradient and a y-intercept and we'll fill in the table for you.

xy−3−2−1123456−1123456780run = 1rise = 2(0, 1)(1, 3)(2, 5)(3, 7)(0, 1)
Your liney=2x+1
Gradient (m)rise ÷ run = 2 ÷ 1 = 2

The gradient is positive, so the line goes up from left to right. For every 1 step across, it rises by 2.

y-intercept (c)c = 1

The line crosses the y-axis at (0, 1). That's the value of y when x is 0.

How to use it

Reading a straight-line graph

  1. 1

    Start with the table. Look at how y changes each time x goes up by 1. If it changes by the same amount every time, the points make a straight line.

  2. 2

    The orange triangle shows the gradient. Run is how far across you move, rise is how far up (or down) you move, and the gradient m is rise divided by run.

  3. 3

    The green marker is the y-intercept, the point where the line crosses the y-axis. It's the value of y when x is 0, and it's the c in y = mx + c.

  4. 4

    Check your answer by putting an x value from the table into your equation. If you get the matching y value, your equation is right.

For parents: our guide to helping your child with linear equations.

Read the guide

Would your child like a tutor to work through algebra with them each week?

Enrol or book a trial
Enrol NowCall us