Q-Q plotDoes your data fit the shape?.
Each value against where it would sit in a perfect bell curve. On the line, the shape fits; off the line, it does not.
- Answers How are the values spread?
- Your data many values of one number
- Values about 20 or more
- Usual check against the normal curve
- Excel and Power BI a scatter chart with a formula
What is a Q-Q plot?
A Q-Q plot (quantile-quantile plot) checks whether data fits an expected shape, most often the normal bell curve. Each sorted value is drawn as a dot against where it would sit if the data were perfectly normal. If the dots follow the straight line, the data fits. If they bend away, the shape is different: skewed, or with heavier tails than a bell curve.
A coffee roaster weighs 30 bags meant to hold 500 grams. On the Q-Q plot the dots lie close to the line: the weights spread like a bell curve around 500, so the usual statistics for normal data can be used.
Why use a Q-Q plot?
Because many statistical methods assume a bell curve, and this is the quickest check.
- One line to judge. Straight means a fit; any bend is easy to see.
- Shows how it fails. An S shape, a curve or lifted ends each mean something.
- No bins. Unlike a histogram, nothing to tune.
- The tails show. The ends of the data, where a histogram is thin, are clear.
How does a Q-Q plot work?
Four steps compare your values with a perfect bell curve.
- Step 1 of 4Your valuesThirty bag weights, as dots on one line.
- Step 2 of 4Sort themSmallest to largest; each has a rank, like the 5th of 30.
- Step 3 of 4Where would it sit?For each rank, where that value would fall in a normal curve with the same middle and spread.
- Step 4 of 4Plot one against the otherYour value up, the expected value across; a perfect fit falls on the line.
What are the parts of a Q-Q plot?
Four parts, and each one has a job.
- Linewhere the dots would be if the data were normal
- Middlethe typical values, usually close to the line
- End dotan extreme value: the tails show here
- Expected axiswhere each value would sit in a normal curve
How do you read a Q-Q plot?
Three looks, in this order.
- Check the middleThe middle dots sit on the line: the centre fits.
- Check the endsThe lowest and highest bags stay near the line too: no heavy tails.
- Look for a bendNo curve and no S shape: the weights are close to normal.
A curve that bends up at the right means a long right tail (skew). An S shape means heavier or lighter tails than a bell curve.
What kinds of Q-Q plot are there?
Three ways to check the same weights.
- Kind 1Q-Q plotValues against a normal curve: the line test.
- Kind 2HistogramThe shape as bars: does it look like a bell?
- Kind 3CumulativeThe share at or below each weight: an S-shaped rise.
When should you use a Q-Q plot?
When you need to know if data is close enough to a bell curve.
- a method assumes normal data (t-tests, control limits)
- you check model residuals
- there are about 20 values or more
- the tails matter
- the reader is not a statistician (a histogram)
- you want the shape itself (a density plot)
- you compare groups (box plots)
Q-Q plot or histogram?
A Q-Q plot to test the fit, a histogram to show the shape.
The histogram looks roughly like a bell, but with 30 values its bars are bumpy, and "roughly" is hard to judge. The Q-Q plot turns the question into a straight line: the eye judges straight much better than bell-shaped.
How do you make a Q-Q plot?
A scatter chart of sorted values against normal quantiles.
In Excel, sort the values, add a column with =NORM.INV((RANK-0.5)/COUNT, AVERAGE, STDEV) for each rank, and draw a scatter chart of that column against the values, with a straight line from corner to corner. In Python, scipy.stats.probplot draws one, and statsmodels has qqplot; in R, qqnorm and qqline. In Power BI, use a Python or R visual (Python and R visuals).
What goes wrong with Q-Q plots?
The most common mistake, and its fix: expecting a perfect line.
- real data always wiggles
- small values sets wiggle a lot
- the end dots wander most
| Mistake | Why it hurts | Fix |
|---|---|---|
| Expecting a perfect line | Every real data set fails | Look for clear bends, not wiggles |
| Too few values | The dots wander by chance | About 20 values or more |
| Reading one end dot | One value is not a shape | Judge many dots together |
| Axes swapped without saying | Bends read the wrong way | Label which axis is your data |
| Showing it to a general audience | Few people read it | A histogram for them |
Every chart for “How are the values spread?”
- One groupHistogramTouching bars that count how many values fall in each range.
- One groupDensity plotA smooth curve of where values bunch up.
- One groupStrip plotEvery value as a dot along one line.
- One groupBeeswarm plotDots that push apart instead of overlapping, so every value shows.
- Comparing groupsBox plotThe middle half as a box, the median as a line, the rest as whiskers.
- Comparing groupsViolin plotA box plot with the shape of the values drawn around it.
- Comparing groupsRidgeline plotDensity curves stacked and overlapping, one per group.
- Comparing groupsRaincloud plotHalf a violin, a box and the dots, in one picture.
- Comparing groupsPopulation pyramidTwo histograms back to back, by age and sex.
- CumulativeCumulative distributionA rising line of the share of values at or below each point.
- CumulativePareto chartBars from biggest to smallest with a running total line.
Read on, step by step.
Does it fit your data? Try it.
Paste your table into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers. It runs in your browser, so the data stays with you.