Stacked vs Grouped Bar Chart
COMPAREBoth show several series at once. One lines them up for comparison; the other stacks them into a total.
When you have more than one series to plot against the same set of categories, a plain bar chart is not enough — you need to decide how to arrange the extra bars. The two standard answers are the grouped bar chart, where series sit side by side, and the stacked bar chart, where series pile on top of each other. The choice hinges on a single question: do you care more about comparing the series or about seeing the total?
Use a grouped bar chart when you want to compare the series directly — every bar starts from the same zero baseline, so the lengths are easy to read against each other. Use a stacked bar chart when the total per category matters and you also want to show its parts — the full bar height is the total, and each segment is one series' contribution.
The core difference
In a grouped chart, every bar in a category begins at zero. Because they all share that common baseline, comparing them is effortless — the eye is excellent at judging lengths that start from the same line. The cost is that the chart never shows a combined total; you would have to add the bars up yourself.
In a stacked chart, the series are laid one on top of the next, so the height of the whole bar is the sum of its parts. This makes the total instantly visible and is perfect for "parts of a whole" within each category. But there is a catch that trips many people up: only the bottom segment sits on the shared zero baseline. Every segment above it floats at a different starting height in each bar, so comparing those middle segments across categories is genuinely hard. You can see the total clearly and the bottom series clearly — the rest, much less so.
Side-by-side comparison
| Grouped bar chart | Stacked bar chart | |
|---|---|---|
| Series arranged | Side by side | On top of each other |
| Shared baseline | Every bar starts at zero | Only the bottom segment |
| Shows the total | No | Yes (full bar height) |
| Compare series directly | Easy | Hard above the bottom |
| Parts of a whole | Not shown | Shown per category |
| Crowding | Grows with more series | Stays compact |
| Best for | Comparing few series | Totals split into parts |
When the grouped bar chart wins
Group the bars when the comparison between series is the headline:
- You want a direct, fair comparison. Every bar starts at zero, so readers can judge which series is larger in each category at a glance.
- You have only a few series. Two or three per category stay readable; more than that and each group gets cluttered.
- The total is not the point. You care about how the individual series stack up against each other, not about their sum.
When the stacked bar chart wins
Stack the bars when the total and its composition both matter:
- The whole is meaningful. Total revenue, total responses, total hours — and you want that total visible per category.
- You are showing parts of a whole. Each segment is a slice of the bar's total, like categories that make up overall sales.
- You have many series that would crowd a grouped chart; stacking keeps each category to a single compact bar.
Using a stacked bar chart when the reader actually needs to compare the middle series across categories. Those floating segments do not share a baseline, so the comparison is unreliable — readers will misjudge them. If comparing every series matters more than the total, switch to grouped bars, where everything starts from zero.
The decision rule
Ask what the reader must do. If they need to compare the series against each other, use grouped bars so every value shares a zero baseline. If they need to see a total and how it breaks down, use stacked bars — and order your segments so the most important series sits on the bottom, where it is easiest to read.
Build either one
The stacked bar chart maker supports both layouts — toggle between stacked and grouped to see which fits your data. It runs in your browser and exports PNG or SVG with no signup.