Desmos for SAT Statistics: Mean, Median, Standard Deviation
Lists, mean, median, standard deviation, tables
By JasonPublished 7 min read
On this page
To find the mean, median or standard deviation in Desmos, type the data as a list in square brackets, such as L = [5, 9, 6, 14, 8, 6, 15], then type mean(L), median(L) or stdev(L) on the next line. Desmos shows the answer under the line as soon as you finish typing.
This guide covers the statistics jobs that come up on the SAT: the mean and median of a list, standard deviation, mode and range, frequency tables, outliers, and box plots and dot plots. Every example has a button that opens it in our free SAT Desmos practice calculator, and every function here also works on the version of Desmos built for College Board tests.
Enter the data as a list
A list is a set of numbers inside square brackets, separated by commas. Give the list a name so you can reuse it:
- On the first line, type
L = [5, 9, 6, 14, 8, 6, 15]. - On the next line, type
mean(L). Desmos shows . - On the next line, type
median(L). Desmos shows .
Check by hand: the seven numbers add to
You do not have to sort the data first. median puts the numbers in order for you, and when the list has an even number of values it averages the two middle ones.
One line for everything
Type stats(L) to see the count, mean, median and both standard deviations of the list at once.
Practice question · Desmos Skills
Show the Detailed Explanation
Type the five speeds as a list, L = [25.321, 25.305, 25.340, 25.298, 25.314], then type median(L). Desmos shows
Standard deviation: stdev and stdevp
Desmos has two standard deviation functions, and they give different numbers.
| Type this | What it computes | Result for |
|---|---|---|
stdev(L) | Sample standard deviation: the square root of the sum of squared distances from the mean, divided by | |
stdevp(L) | Population standard deviation: the same, but divided by | about |
Desmos's own advice is to use the sample version when the data is part of a larger group and the population version when the data is the whole group.
The SAT questions on standard deviation that we see usually ask you to compare spread, not to calculate a standard deviation: which of two data sets is more spread out. You can answer that by looking. Standard deviation measures how far the values sit from the mean, so the set whose values are farther from its mean has the larger standard deviation.
Take two sets that both have a mean of
- Set A:
- Set B:
Every value in set A is within
Desmos is the check, not the method:
stdev(A) is about stdev(B) is about stdevp the numbers are about
Which one to use for a comparison
When two sets have the same number of values, stdev and stdevp always put them in the same order, so use either one. Use the same function for both sets. If the sets have different sizes, the two functions can rank them differently, so use the one that fits the data: stdevp when the list is the whole group, stdev when it is a sample.
For the reasoning behind these comparisons, see median, standard deviation, mode and range topic training.
Mode and range
Desmos has no mode function. Typing mode(L) gives an error. The practical way is to sort the list and look for the value that repeats most. If several values tie for the most repeats, they are all modes, and if every value appears once there is no mode:
- Type
sort(L). Desmos shows . The only repeated value is , so the mode is .
There is no range function either, but the range is the largest value minus the smallest:
- Type
max(L) - min(L). Desmos shows , which is .
If the data comes in a frequency table, the mode needs no calculator. It is the value with the highest count.
Mean and median from a frequency table
A frequency table lists each value once, with the number of times it appears. This table shows the number of pets owned by
| Number of pets | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Number of students | 3 | 7 | 5 | 4 | 1 |
Typing all repeat function, which copies each value as many times as its count:
- Type the values:
V = [0, 1, 2, 3, 4]. - Type the counts:
F = [3, 7, 5, 4, 1]. - Type
D = repeat(V, F). Desmos builds the full list of values. - Type
mean(D)andmedian(D). Desmos shows and .
Check the mean by hand: multiply each value by its count and add, total(V*F)/total(F), typed with the division key so it becomes a fraction.
Check the median by counting. With
Common mistake
Do not type mean(V) for a frequency table. That averages the five row labels and gives
There is more practice in frequency tables topic training and averages topic training.
What an outlier changes
In the SAT questions we teach, a common task changes one value, or adds or removes one, and asks which measure is affected more. In Desmos, edit the list and watch the results underneath update.
Start with L = [5, 9, 6, 14, 8, 6, 15] and change the
| Measure | Original list | With |
|---|---|---|
| Mean | ||
| Median | ||
| Range | ||
stdev | about |
The mean, range and standard deviation all jump. The median does not move, because
Here, replacing 15 with 50 raised the mean, the range and the standard deviation and left the median unchanged. That is the usual pattern: an extreme value moves the mean, range and standard deviation much more than the median. For any other change, check which values moved and where they sit in the sorted list. Use Desmos when the question wants actual numbers.
Practice question · Desmos Skills
Show the Detailed Explanation
Type A = [100, 100, 100, 100] and B = [0, 0, 100, 100, 100, 100, 200, 200]. Then type mean(A), median(A), mean(B) and median(B). All four show
Practice question · Desmos Skills
Show the Detailed Explanation
The question does not say which integers, so choose any six consecutive even integers. Type L = [2, 4, 6, 8, 10, 12], then mean(L) - median(L). Desmos shows
Box plots and dot plots
Desmos can draw both from a list. Type dotplot(L) or boxplot(L):
For the original list, the box plot runs from
In the SAT questions we teach, the plot is usually given to you, so the more useful direction is the other one. Read a dot plot into a values list and a counts list, then use repeat as in the frequency table section to get the mean or median. A box plot shows only five numbers (the smallest value, the first quartile, the median, the third quartile and the largest value), so you cannot get a mean from it. See box plots topic training for how to read one.
Key takeaways
- Type the data as a named list:
L = [5, 9, 6, 14, 8, 6, 15]. mean(L)andmedian(L)give the mean and median.stats(L)shows several measures at once.stdev(L)is the sample standard deviation andstdevp(L)is the population one. For comparing two sets, look at how far the values sit from the mean and use Desmos to check.- There is no mode function. Use
sort(L)and look for repeats. The range ismax(L) - min(L). - For a frequency table, type the values and counts as two lists and use
repeat(V, F). - An extreme value usually moves the mean, range and standard deviation much more than the median. Check the specific change before you decide.
Where to go next
- Median, standard deviation, mode and range topic training has practice questions on every measure in this guide.
- SAT Desmos Guide: 8 Key Features covers statistics briefly alongside seven other Desmos skills.
- The SAT Desmos practice calculator is free to use for trying these entries yourself.

