How to do regression in Desmos on the SAT
· 8 minute read
Put the points in a Desmos table, so the columns are x1 and y1. On the next line type y1 ~ mx1 + b. Desmos prints the slope m and the y-intercept b of the line through those points. Use the ~ key, not the equals sign, and keep the small 1 on both letters. The same steps work for a quadratic or an exponential: only the right side of the line you type changes.
What does regression do in Desmos?
You give Desmos some points and the shape of an equation, for example y = mx + b. Desmos finds the numbers that make that equation pass through your points, or as close to them as possible. On the SAT the points in a question almost always sit exactly on the line or curve, so Desmos gives you the exact equation.
That is why it saves time. A question that gives you a table and asks for the slope, the y-intercept, a value of the function or a constant in the equation becomes: type the table, type one line, read the number.
How do you do regression in Desmos, step by step?
- Add a table. Press the plus button at the top left of Desmos and choose table. The two columns are already named x1 and y1.
- Type the points. x values in the first column, y values in the second. Press Tab to move across and Enter to go down.
- Type the regression in a new line. For a line it is
y1 ~ mx1 + b. When you type y1, Desmos turns the 1 into a small subscript by itself. The~key is at the top left of most keyboards (hold Shift). In the on-screen Desmos keypad it is under the ABC tab. - Read the answer. Under your line Desmos shows a box called Parameters with the value of each letter. Those are the numbers in your equation.
y1 ~ mx1 + by1 ~ ax1^2 + bx1 + cy1 ~ a * b^x1Line one is for a straight line, line two for a quadratic, line three for an exponential. You pick the one that matches the words in the question.
How do you find the equation of a line from a table?
The table shows four values of x and their corresponding values of y. There is a linear relationship between x and y. Which equation represents this relationship?
| x | 1 | 3 | 5 | 8 |
|---|---|---|---|---|
| y | 7 | 13 | 19 | 28 |
- Ay = 3x + 4
- By = 4x + 3
- Cy = 3x + 7
- Dy = 7x + 3
Type the four pairs into a table, then type y1 ~ mx1 + b.

Desmos shows m = 3 and b = 4. The equation is y = 3x + 4, choice A.
Look at choice C. It uses the 7 from the first row of the table as if it were the y-intercept. That 7 is the value of y when x = 1, not when x = 0. This is the slip the question is built around, and regression never makes it because Desmos works out b for you.
Can you use regression with only two points?
Yes. Two points are enough for a line, and this is where it saves the most working.
In the xy-plane, the graph of the linear function f passes through the points (−2, 11) and (4, −7). What is the value of f(10)?
By hand you would find the slope, then the intercept, then substitute 10. That is three places to drop a negative sign. In Desmos, type the two points in a table and run the same line as before.

Desmos gives m = −3 and b = 5. Now use a detail most students do not know: Desmos remembers m and b. Type m * 10 + b in a new line and it shows −25. You never write the equation down.
How do you do quadratic regression, and what about f(x) + 5?
For a quadratic you need three points and a different line: y1 ~ ax1^2 + bx1 + c. The harder SAT versions add one more layer. The table is not for f itself, it is for f shifted up or down.
The table shows three values of x and their corresponding values of y, where y = f(x) + 5 and f is a quadratic function. What is the y-coordinate of the y-intercept of the graph of y = f(x) in the xy-plane?
| x | 2 | 4 | 6 |
|---|---|---|---|
| y | 13 | 5 | 13 |

Desmos gives a = 2, b = −16 and c = 37. So the table follows y = 2x2 − 16x + 37.
Stop here for a second, because this is where the marks are lost. That equation is for y = f(x) + 5, not for f. The question asks about f. Since f(x) = y − 5, the constant of f is 37 − 5 = 32.
A student who types the regression correctly and answers 37 has done the Desmos part perfectly and still gets it wrong. Read the line that defines y before you read the numbers.
Students who took the November 2026 SAT recalled a question built like this one near the end of the second Math module.
How do you do exponential regression?
When the question says the relationship is exponential, or the values are multiplied by the same number each step, use y1 ~ a * b^x1.
The table shows three values of x and their corresponding values of f(x), where f(x) = a · bx and a and b are positive constants. What is the value of a?
| x | 1 | 2 | 4 |
|---|---|---|---|
| f(x) | 12 | 24 | 96 |
- A2
- B6
- C12
- D24

Desmos gives a = 6 and b = 2. The answer is 6, choice B.
Choice C is 12, the first value in the table. It is the same slip as in the linear question: the first row is x = 1, and a is the value at x = 0.
Where do students slip with Desmos regression?
1. Leaving out the small 1
If you type y ~ mx + b, Desmos does not know you mean the table. It shows a warning triangle and gives no values. If you tap the triangle, Desmos says that y may not be used as a regression parameter. Type y1 and x1, the names of the table columns.

2. Using the equals sign
y1 = mx1 + b is not a regression. Desmos will offer to add sliders for m and b instead of finding them. The symbol that means "fit this to my points" is ~.
3. Fitting the wrong shape
If the question says quadratic and you fit a line, Desmos still gives you numbers. They are just wrong. Here is the quadratic table from above with a straight line forced through it.

The check is the R2 value Desmos prints with a linear regression. On SAT questions where the points fit exactly, it should be 1. If it is anything else, you picked the wrong shape or mistyped a point.
4. Answering for the wrong function
When the table is for y = f(x) + 5, or f(x) − 3, the regression describes the shifted function. Undo the shift before you answer, as in the quadratic question above.
5. Mistyping one number
One wrong digit in the table changes every value. Before you read the result, look at the graph. Every point should sit on the curve.
When should you not use regression?
- When the question gives you the equation already. Then you graph it or substitute. Regression is for when you have points and need the equation.
- When the answer is one step by hand. If the table has x = 0 in it and the question asks for the y-intercept, read it from the table.
- When the points do not fit a named shape. If the question does not say linear, quadratic or exponential, check what it does say before you pick a line to type.
- When the question is about a line of best fit on a printed scatterplot. You are given the graph and have no exact points to type. Read the slope from the line they drew.
Three questions to try
Use Desmos for each one, then open the answer.
The table shows three values of x and their corresponding values of y. There is a linear relationship between x and y. What is the value of y when x = 9?
| x | 0 | 2 | 5 |
|---|---|---|---|
| y | -3 | 5 | 17 |
Show the answer
33. y1 ~ mx1 + b gives m = 4 and b = −3, so y = 4x − 3. Then m * 9 + b gives 33.
The graph of the quadratic function f in the xy-plane passes through the points (0, 7), (1, 4) and (3, 10). What is the value of f(4)?
Show the answer
19. y1 ~ ax1^2 + bx1 + c gives a = 2, b = −5, c = 7. Then a * 4^2 + b * 4 + c gives 19.
The table shows two values of x and their corresponding values of y, where y = g(x) − 3 and g is a linear function. What is the y-coordinate of the y-intercept of the graph of y = g(x) in the xy-plane?
| x | 1 | 4 |
|---|---|---|
| y | 2 | 14 |
Show the answer
1. The regression gives m = 4 and b = −2, which is y = g(x) − 3. So g(x) = y + 3 = 4x + 1, and its y-intercept is 1. If you answered −2, you answered for the shifted function.
Questions students ask us
Is regression allowed on the SAT?
Yes. The Desmos calculator is built into Bluebook, the app the digital SAT runs on, and it is available for every Math question. Regression is one of its normal features, so using it is within the rules.
How do I type the ~ symbol in Desmos?
On a laptop keyboard, hold Shift and press the key at the top left, under Esc. On the Desmos on-screen keypad, open the ABC tab and you will find it there.
How do I type the small 1 in x1 and y1?
Just type x then 1. Desmos turns a number typed straight after a letter into a subscript. Press the right arrow key to come back out of the subscript before you type anything else.
Does Desmos regression work for quadratics and exponentials?
Yes. Use y1 ~ ax1^2 + bx1 + c for a quadratic, which needs three points, and y1 ~ a * b^x1 for an exponential, which needs two.
What does R squared mean in Desmos?
It tells you how well the line fits your points. 1 means every point is exactly on it. On SAT questions where the points fit exactly you should see 1. A lower value means the wrong shape or a typing mistake.
Why does Desmos show a warning triangle on my regression?
Almost always because the letters do not match the table. The table columns are called x1 and y1, so the regression must use x1 and y1 too.
Can I use the values Desmos finds in another line?
Yes. After a regression, m, b, a and c keep their values. Type m * 10 + b, or c - 5, in a new line and Desmos calculates it.
Read next
- How to solve a system of equations in Desmos on the SAT
- How to use a Desmos slider on the SAT
- How to find the vertex, maximum or minimum in Desmos on the SAT

About the authorRonak teaches SAT Math at Stuck in SAT. He has a Master's in Applied Mathematics and has taught for 8+ years, most of it one to one. He wrote the SAT Desmos Bible. Our story
We wrote every question on this page ourselves. The screenshots are from the Desmos graphing calculator. Found a mistake? Tell us and we will fix it.
