How to Make a Box Plot on Desmos
Build box plots, dot plots and histograms
By JasonPublished 6 min read
On this page

To make a box plot on Desmos, enter your data as a list, such as L = [5, 9, 6, 14, 8, 6, 15], then type boxplot(L). For a dot plot or histogram, use the same list and type dotplot(L) or histogram(L). Try the entries in our free Desmos calculator, then practice with Desmos Skills training.
Enter the data
A list holds the data inside square brackets, with commas between values. Name it so you can use it in more than one expression.
- On an expression line, type
L = [5, 9, 6, 14, 8, 6, 15]. - Keep repeated values: the two 6s represent two observations.
- On a new line, use
Linside the plot function you want.
The data do not need to be in order. Here the ordered values are
You can also use a table. Click the plus button, choose a table, and enter or paste a column of numbers under x_1. That column is a list, so type boxplot(x_1) on an expression line to plot it. Use the actual column name shown in your table; another table can have a different number in its column name. The list and the table are two ways to supply the same data.
Make and read a box plot
- Enter
L = [5, 9, 6, 14, 8, 6, 15]. - On the next line, type
boxplot(L). - Read the five-number summary against the x-axis: the ends of the whiskers are the minimum and maximum, the edges of the box are the first and third quartiles, and the line inside the box is the median.
For this list, the minimum is
Check the middle three values on separate lines: quartile(L,1) gives median(L) gives quartile(L,3) gives
A box plot summarizes the data; it does not show every observation. You cannot find the exact mean from the five-number summary alone. For the calculations behind these measures, see Desmos for SAT statistics.
Make a dot plot
- Enter the same list,
L = [5, 9, 6, 14, 8, 6, 15]. - On a new line, type
dotplot(L). - Count the dots above a number to see how many observations have that value.
There are two dots above
Common mistake
The number on the horizontal axis is the value; the number of dots above it is the frequency. Two dots above
Make a histogram
A histogram groups values into intervals called bins. To set a bin width of
- Enter
L = [5, 9, 6, 14, 8, 6, 15]. - Type
histogram(L, 5)on a new line. The second input sets the bin width. - Read each bar's horizontal interval and its height. The height counts observations in that interval.
The
A histogram gives counts for intervals, not the individual values inside each interval. If you only have the histogram, do not treat a bar's midpoint as the exact value of every observation.
Compare two data sets
Use the same scale and compare center and spread. Try these two lists:
A = [10, 11, 12, 13, 14]B = [4, 8, 12, 16, 20]
Both medians are
Enter both lists and type boxplot(A) and boxplot(B) on separate lines. If the plots overlap, click the colored circle beside an expression to hide it and compare the other plot on the same scale. You can also enter median(A), median(B), max(A)-min(A), and max(B)-min(B) to check the numbers.
Range uses only the smallest and largest values; standard deviation considers distances from the mean across the whole set. A larger range alone does not settle every standard deviation comparison. See SAT standard deviation for the reasoning, and Desmos statistics for the calculator functions.
Use plots on SAT questions
The SAT gives you plots and asks about measures such as median and range or which set has the larger standard deviation. Read the labels and the question first: a box plot gives the median and endpoints directly, while a dot plot gives the individual values and their counts.
To rebuild a small dot plot, repeat each value once for each dot. For example, two dots at D = [2, 2, 4, 4, 4, 7]. Type mean(D) to get median(D) to get repeat as shown in the statistics guide.
For more practice reading and comparing data, see SAT statistics questions and key Desmos features.
Practice with SAT-style questions
Practice question · Frequency Tables
Show the Detailed Explanation
Find the median position in each team:
Practice question · Frequency Tables
Show the Detailed Explanation
The mean is the sum of value times frequency divided by the sum of frequencies:
Practice these methods in frequency tables topic training and box plots topic training.
Plots in Desmos
- Enter the observations in a list, including repeats, or use a table column.
- Type
boxplot(L),dotplot(L), orhistogram(L, 5)for a histogram with width . - Read the five-number summary from a box plot; count individual values in a dot plot; read interval counts in a histogram.
- Compare center and spread on the same scale, and use the data rather than range alone to compare standard deviations.


