Stacked vs Grouped Bar Chart: Which One to Use
Stacked vs grouped bar chart: one question decides it. See the same data drawn both ways, why baselines matter, and when to use 100% stacked instead.

You have categories, and inside each one you have several series. Picking between a stacked vs grouped bar chart looks like a style choice, because both take the same spreadsheet. It is not. The wrong one makes a chart quietly unreadable rather than obviously broken.
Stacked vs grouped bar chart: the short answer
Use a stacked bar chart when the reader needs each category's total and a rough idea of its parts. Use a grouped bar chart when the reader needs to compare the individual series across categories. Stacking shows the total but puts every series except the bottom one on a moving baseline, so those series cannot be compared accurately.
The same data, drawn both ways
Here is electricity generation in 2025 for six countries, split into fossil fuels, nuclear and renewables, in terawatt-hours. First as a stacked bar chart:
The total jumps out: Japan generated about 1,030 TWh, roughly twice Germany's 501 TWh. You can also see that fossil fuels make up most of Japan's bar, renewables most of Brazil's and nuclear most of France's.
Now try to answer a different question from the same chart: did Japan or Germany generate more electricity from renewables? Japan's blue band starts at about 787 TWh and Germany's starts at 205 TWh. You are comparing two lengths that do not share a starting point, and most people guess wrong. Here is the grouped version:
Germany, 296 TWh against Japan's 243 TWh. Every bar starts at zero, so the comparison is instant. Nuclear works the same way: Japan's 94 TWh and Canada's 85 TWh are nearly impossible to rank in the stacked chart and easy in the grouped one. What the grouped chart cannot show is the total. Nothing in it tells you Japan's grid is the largest of the six.
The data comes from Ember via Our World in Data, 2025 figures, rounded to whole TWh.
Why the baseline decides it
A bar encodes its value as length, and people judge length well when the bars start from the same place. William Cleveland and Robert McGill tested this in Graphical Perception (Journal of the American Statistical Association, 1984): position along a common scale was read more accurately than position along non-aligned scales or plain length.
- In a grouped bar chart, every bar sits on the same axis. All series are equally comparable, across categories and within them.
- In a stacked bar chart, only the bottom segment sits on the axis. Every band above it starts wherever the band below ended, and that point moves from bar to bar. The higher a band sits in the stack, the harder it is to compare.
So a stacked chart gives you one thing a grouped chart cannot, the total as the full length of the bar, and pays for it with the accuracy of every series except the first.
The decision, in one table
| Stacked | Grouped | |
|---|---|---|
| Total per category | Read directly | Not shown |
| Bottom (first) series | Accurate | Accurate |
| Other series | Rough only | Accurate |
| Many series | Readable up to about 5 | Readable up to about 4 |
| Many categories | Stays readable | Gets crowded fast |
| Question it answers | "What is each total made of?" | "Which series is bigger here?" |
The series limits are rules of thumb, not laws. They depend on how many categories you also have.
When to use a stacked bar chart
- The total is part of the story. Revenue by quarter split by product line, where the quarterly total is what people look at first.
- The parts add up to something real. Headcount by team, components of a cost, electricity by source.
- You have two to five series. Beyond that the middle bands get thin and the colours hard to tell apart.
- You have many categories. Twelve months of stacked bars stays readable. Twelve months of four grouped series is 48 bars.
- One series matters more than the rest. Put it at the bottom. Stack order is an analytical decision: the bottom band is the only one with a shared baseline, so give it to the series the reader will compare.
Ready to build one? The stacked bar chart maker takes a CSV, pasted data or a Google Sheets link, and the step-by-step stacked bar guide covers ordering and colours.
When to use a grouped bar chart
- The comparison between series is the point. This year against last year, treatment against control, one region against another.
- The totals mean nothing. Adding this year's revenue to last year's gives a number nobody needs.
- Every series must be read accurately, not just the first one.
- You have two or three series and a manageable number of categories. This is where grouped bars are hard to beat.
The grouped bar chart maker uses the same table layout as the stacked one: categories in the first column, one column per series. The grouped bar chart guide walks through it.
The third option: 100% stacked
A 100% stacked bar chart stretches every bar to the same length, so only the proportions differ. Use it when share matters more than amount, when the interesting fact is the mix rather than the volume.
Now France's 69% nuclear share and Brazil's 87% renewables share are the headline, and South Korea's roughly 30% nuclear share is easy to see. The cost is that the sizes are gone: Germany's grid looks as big as Japan's. If the totals matter, put them in a label, a tooltip or the subtitle. A Marimekko chart is another way out: it keeps the 100% stacking and makes each bar's width carry the total.
When neither chart is right
- More than five or six series. Both charts fall apart. Group the long tail into an explicit "Other", or move to a heatmap where colour carries the value.
- The parts do not add up to a meaningful total. Averages, rates and percentages with different denominators must not be stacked, because the bar length would be a number that does not exist. Grouped is fine; stacked is wrong.
- You need both the total and accurate series. One chart cannot do both. Draw two: one bar for the total, and small multiples of each series underneath.
- The categories are time periods and there are many of them. Past about a dozen periods, a stacked area chart reads more naturally than stacked bars.
Two mistakes that show up constantly
Changing the stack order between bars. Sorting the segments inside each bar so the biggest is always at the bottom makes each bar tidy and cross-bar comparison impossible. Fix the order once and keep it, and keep the legend in the same order as the stack. Our post on using legends covers the rest.
Cutting the value axis. Bars encode value as length from zero. A value axis that starts above zero breaks that encoding and exaggerates every difference. This applies to stacked and grouped charts alike.
How to decide in ten seconds
Say out loud the sentence your chart is meant to support.
- "Japan has the biggest grid, and most of it is fossil fuels." → stacked
- "Germany gets more power from renewables than Japan." → grouped
- "France runs mostly on nuclear, Brazil mostly on renewables." → 100% stacked
- "Both the totals and the series, accurately." → two charts
FAQ
What is the difference between a stacked and a grouped bar chart?
A stacked bar chart places each category's series end to end in one bar, so the bar's length is the total. A grouped bar chart places the series side by side, each starting at zero, so every series can be compared directly but no total is shown.
When should you not use a stacked bar chart?
Do not stack values that do not add up to a meaningful total, such as averages or rates. Avoid it too when readers must compare a series that sits in the middle or top of the stack, or when you have more than about five series.
Is a clustered bar chart the same as a grouped bar chart?
Yes. "Clustered", "grouped" and "side-by-side" bar chart are names for the same chart: several bars per category, placed next to each other on a shared baseline.
Which series should go at the bottom of a stacked bar chart?
The series readers will compare most, because it is the only one that starts at zero in every bar. If no series matters more, put the largest or most stable one at the bottom and keep the same order in every bar.
What is a 100% stacked bar chart used for?
It shows composition when the totals differ a lot or do not matter. Every bar is scaled to 100%, so you compare shares, such as the fuel mix of countries with very different grid sizes. It hides the absolute sizes, so state them elsewhere if they matter.


