Skip to main content

How to Make a Table in Desmos

Plot points, make scatter plots, and fit equations

By JasonPublished 6 min read

A student plants seedlings in two neat rows in a raised garden bed.

To make a table in Desmos, click the plus button at the top left of the expression list and choose table, or type table in an empty line. Enter the x-values in the first column and the y-values in the second. Desmos plots each completed row as a point.

A table lets you plot a set of points, make a scatter plot, or compare data with an equation. Open the free Desmos calculator to try the steps below, then practice with Desmos Skills training.

Make a table and enter values

Suppose you want to plot (0,3), (1,5) and (2,7). Each pair is one row: the first number goes in the x-column and the second goes in the y-column.

  1. Click the + at the top left of the expression list, then choose table. Alternatively, type table on an empty expression line.
  2. Click the first cell under x1 and type 0. Press Tab to move to the cell under y1 and type 3.
  3. Press Tab again to move to the next row. Enter 1 and 5, then 2 and 7, pressing Tab between cells. Enter also moves down through cells in a column.
  4. Look at the graph: the three completed rows plot as (0,3), (1,5) and (2,7).

The subscripts in x1 and y1 identify the columns of this table. Keep the paired values together in the same row. If a point is outside the visible graph, zoom out or adjust the graph window. For fractions, type the fraction, press the right arrow to leave it, and then press Tab to move to the next cell.

Common mistake

A row is a single ordered pair, not two unrelated values. Swapping 1 and 5 plots (5,1) instead of (1,5). Check the order against the original table before comparing a graph to the points.

Plot points without a table

For one point, type the ordered pair directly on an empty expression line. For example, type (2,5) to plot (2,5). For several points on one line, separate the ordered pairs with commas: (0,3), (1,5), (2,7).

A table is useful when you want to edit a collection of paired values or fit a model to them. Directly typed points are convenient when you only need to mark a few locations. Both approaches put the first coordinate on the horizontal axis and the second on the vertical axis.

The points do not need a line between them to be plotted. If you need to join them, see how to connect points in Desmos.

Make a table from a function

A table can also calculate outputs from inputs. For y=2x+3, enter x-values and let Desmos calculate the matching y-values.

  1. Make a new table and enter 0, 1 and 2 under x1.
  2. Click the y1 column heading and replace it with 2x_1+3. Type the subscript with an underscore: x_1.
  3. Desmos fills the second column with 3, 5 and 7 and plots the corresponding points.

The formula uses the whole x1 column. Change an input and the corresponding output updates. Use the subscript that appears at the top of your table: a later table can have a different number.

Use the right input

For f(4), the input is 4. Put 4 in the x-column and read the output in the same row. For f(x)=2x+3, the output is 2(4)+3=11.

Make a scatter plot and fit a line

A scatter plot is a collection of points representing paired data. Enter those pairs in a Desmos table and the plotted points are the scatter plot. For instance, use (0,1), (1,3), (2,5) and (3,7).

To find a line of best fit, enter the data and use a regression:

  1. Make a table with 0, 1, 2, 3 in x1 and 1, 3, 5, 7 in y1.
  2. On a new expression line, type y_1~mx_1+b. Use a tilde ~, not an equals sign.
  3. Read the regression parameters: m=2 and b=1. The fitted line is y=2x+1. Desmos also shows R2=1, which means the line passes through every point.

Here m is the slope and b is the y-intercept. The slope of 2 means the fitted y-value rises by 2 for each increase of 1 in x. With data that do not lie exactly on a line, the regression still gives a best-fit line and R2 falls below 1: the closer it is to 1, the better the line fits. A curve requires a model with a different shape.

You can also use the table's regression button and choose a model, such as Linear or Exponential. For the full method, including interpreting a model and choosing a curve, see the Desmos regression SAT guide and SAT scatterplots.

Check answer-choice equations against a table

When a question gives a table and equation choices, the right equation must produce every listed y-value at its paired x-value. Plot the table, graph the choices, and see which graph passes through all the points.

For example, suppose the table contains (0,2), (1,5) and (2,8), and the choices include y=2x+2 and y=3x+2.

  1. Enter the three pairs in a table.
  2. On separate lines, type y=2x+2 and y=3x+2.
  3. Compare each line with all three points. Both pass through (0,2), but only y=3x+2 passes through (1,5) and (2,8) as well.

Do not stop after one matching point. A wrong equation can pass through one or even two of the given points. If the graphs are hard to distinguish, zoom in and substitute the coordinates into the equation to check the values exactly.

Practice with SAT-style table questions

For each question, enter the pairs in a table. Decide what the answer must show before comparing choices or reading a model.

Find the equation

Practice question · Linear vs. Exponential Growth and Decay

Show the Detailed Explanation

Enter the five pairs in a table and use its regression button for a linear model. The displayed slope is approximately 2.6667, or 83, and the intercept is −1.

The equal x-steps are 1 and the y-values rise by 83 each time. At x=1, 53=83(1)+b, so b=−1. The equation is y=83x−1, choice D. Check all the rows, since choice A matches the first two.

Match an equation to a table

Practice question · Lines and Linear Relationships

Show the Detailed Explanation

Enter the lengths as x-values and costs as y-values. The correct graph must pass through all three points. Graph each choice with y in place of f(x): choice B, y=12.5x, fits.

The cost per foot is 500÷40=12.5 dollars. Checking the other rows gives 12.5(64)=800 and 12.5(100)=1250, so the answer is B.

For more work with these patterns, try linear vs. exponential growth and decay training and lines and linear relationships training.

Desmos tables and points

  1. Choose +, then table, or type table on an empty line. Each row is one (x,y) point.
  2. Type an ordered pair such as (2,5) directly to plot a point without a table.
  3. Put a formula such as 2x_1+3 in a column heading to calculate outputs from the inputs.
  4. A table of paired data makes a scatter plot. Use a regression to fit a model and check its fit.
  5. When checking an equation against a table, test every point.

Explore more calculator shortcuts in key Desmos features.

Tutor? Use Resolve Prep with your students