Try it with your numbers
Show every step
The method works for any linear equation, and it is the one to trust when you cannot yet see the slope at a glance. The sections below cover the steps, how to pick -values that make the arithmetic painless, what to do with standard form, and how to catch mistakes before they reach the graph.
How do you graph a line using a table of values?
Build the table, convert each row into a point, and connect the points. Here is the full process:
- If the equation is not solved for , solve for first.
- Choose three or more -values, including .
- Substitute each into the equation and compute .
- Write each row as an ordered pair and plot it.
- Lay a ruler through the points, draw the line, and extend it to the edges of the grid with an arrow on each end.
Take with . Substituting one value at a time:
The points are , , and . If you need a refresher on reading and placing coordinates, plotting points on the coordinate plane covers it. The line should climb steadily from lower left to upper right, crossing the -axis at .
Two points are enough to fix a line, so the third and fourth points are not extra work. They are your error detector, and the rest of this page leans on that idea.
Why does a table of values produce a straight line?
A linear equation has a constant rate of change. In , raising by always raises by exactly , no matter where you start. So if your -values are evenly spaced, your -values must also be evenly spaced, and evenly spaced points sit on a line.
You can see this in the example above. The -values went up by each row and the -values went up by each row, which is the slope of . In general, if steps by , then steps by . That is the same idea behind the slope formula:
This also explains the role of . When , the equation collapses to , so the row for hands you the -intercept for free. Once you recognize that pattern, the table becomes a slow version of reading slope-intercept form, and the constant step in the -column is the average rate of change of the function.
Quick check
Answer:
How do you choose the best x-values for the table?
Start with , then go equally far on both sides. Using negatives matters more than it seems: a line plotted only from positive -values hides its behavior on the left, and you will not see which of the four quadrants it passes through.
The real skill is choosing -values that cancel fractions. Consider . If you pick , you get , which is awkward to plot. Pick multiples of instead:
The points , and all land on grid crossings, and the pattern of “right , up ” is visible between them.
If the slope is , choose -values that are multiples of . Every will then be a whole number when divides evenly into your .
Do not try to force the -intercept into the table. For it sits at , which is not a pleasant number. You can still find the x and y intercepts separately if a problem asks, but a graph does not need them to be accurate.
Spread the points far apart. Points unit apart magnify tiny plotting slips into a visibly tilted line, while points units apart average them out.
How do you make a table when the equation is in standard form?
Solve for first. Take :
The common slip is dividing only some terms by . Whatever you divide by, every term on that side gets divided, including the constant.
Since the slope is , choose even -values: . Then , , and . The points are , and . Test one in the original equation: , which works.
A shortcut exists. You do not have to rearrange at all: substitute an into the original and solve the small equation. For , gives immediately. Notice that the rows with and are the intercepts, which is why graphing lines using x and y intercepts is really a two-row table. Learning standard form of a line well makes this faster, because the intercepts are and in .
Try this: Graph using . You should get . Check that moving right always moves you down .
What does the table look like for horizontal and vertical lines?
Horizontal lines are easy: in , every gives . A table with reads in the column, and the slope is .
Vertical lines break the usual routine. In there is no to solve for, because is in every row and can be anything. The table has to run the other way: choose and record the points , , . This is also why a vertical line is not a function and has an undefined slope.
The trap that costs the most points is mixing them up. A quick rule: the line crosses the axis of the variable that appears. So crosses the -axis at and runs sideways, and crosses the -axis at and runs up and down. More on both cases is in horizontal and vertical lines.
Quick check
Answer:
How can you tell if a table of values is linear?

Compare between neighboring rows. Do not compare raw differences in unless the -values are evenly spaced.
The -differences are , which look irregular. The ratios tell the truth:
Every ratio is , so the table is linear with slope . The row gives , so the equation is . Check the last row: .
If no row has , pick any two rows and use the method in the equation of a line through two points. Now compare with . The ratios are and , so the points are not on one line. One more special case: if the line passes through the origin, so is the same in every row, you have direct variation.
How do you check a line you graphed from a table?
Use the redundancy built into the method. Any of these catches an error:
- The third point lines up with the first two.
- A plotted point, put back into the original equation, makes it true.
- The rise over the run between two points on your drawn line matches the slope in the equation.
- The -intercept on your graph matches .
Most errors come from negative -values. For at , the correct work is . Students often write , because the two negatives never met. On a calculator, always type the negative inside parentheses.
If the slope is negative, must fall as rises. If your table shows rising, a sign went wrong in at least one row.
To test a single point, substitute both coordinates. Is on ? Since , yes. A point on the line makes the equation true, and a point off the line does not.
Quick check
Answer: (-1, 3) and (1, -1)
Where does graphing from a table of values show up in real life?
Any situation with a flat fee plus a steady rate is a line. A ride costs a booking fee plus per mile, so . The table for gives costs . The slope is the price per mile and the intercept is the fee.
Real-life graphs need a sensible domain. A negative number of miles is meaningless, so the graph starts at and runs in one direction, with an arrow on the right end only. If the fare only changes at whole miles, plot separate dots rather than a continuous line.
The same table also powers inequalities. To handle , graph the boundary line from a table, then shade one side. The full steps are in graphing linear inequalities. A graphing calculator’s table feature does the same thing, so being able to read a table by hand lets you spot when a calculator entry has gone wrong.
Practice problems
0 of 5 solved
- Complete the table for using .
Answer:
Substitute each value: , , . Write the pairs as , , . - Find three points on using .
Answer:
For : . For : . For : . The points are , , . - Rewrite as , then find when .
Answer:
Subtract : . Divide every term by : , so . At : . Check in the original: . - A table has and . Is it linear? If so, write the equation.
Answer:
Slope from the first two rows: . Slope from the last two: . The slopes match, so the table is linear. Going back units in from is not needed: from with slope , gives , so . - A table has and . Show it is linear and write the equation.
Answer:
Slopes: and , so the table is linear. Use : . Then .
Common questions
How many points do you need to graph a line from a table of values?
Two points determine a line, but use at least three. If the third point does not fall on the line through the first two, you have made an arithmetic or plotting error.
What x-values should you pick for a table of values?
Include , one or two positive values and one or two negative values. If the equation has a fraction like , choose multiples of the denominator so every comes out whole.
How do you make a table of values if the equation is not solved for y?
Solve for first, dividing every term by the coefficient of . You can also substitute each into the original equation and solve the small leftover equation for .
How do you graph a line from a table of values when the line is vertical?
A vertical line has the same -value in every row, so choose the -values instead. Plot for several and draw a vertical line through them.
How can you tell if a table of values is linear?
Compute between each pair of neighboring rows. If every ratio is the same, the table is linear and that ratio is the slope.
Do you put arrows on the ends of a line graph?
Yes, when the line continues forever in both directions, as most equations do. In a real-life problem where cannot be negative, such as miles driven, the graph starts at a point and has an arrow on one end only.