All posts
Allen
Author, Content Operations Manager·Originally published Dec 5, 2025 · Updated Oct 30, 2026
Stacked vs grouped bar graph: grouped bars compare the parts, stacked bars compare the totals, and 100% stacked bars compare the mix, beside a sample of each chart

Stacked vs Grouped Bar Graph: Comparison and Examples

Short answer: use a grouped bar graph when readers must compare the individual parts across categories, and a stacked bar graph when they must compare category totals and see roughly what each total is made of. If only the mix matters, use a 100% stacked bar graph. Grouped bars win on precision because every bar starts from the same baseline; stacked bars win on totals and space.

Update note (October 29, 2026): We added a comparison table and a side-by-side diagram at the top, replaced the images with first-party examples, corrected the compound bar graph answer, re-checked the tool steps against current documentation, and replaced unrelated links with bar graph guides. On October 30 we updated the Microsoft Support chart-types link, which had moved.

Understand the Choice at a Glance

Grouped (clustered) bar graphStacked bar graph100% stacked bar graph
AnswersHow do the parts compare with each other?How do totals compare, and what are they made of?How does the mix (share of each part) differ?
Shared baselineEvery barOnly the bottom segment and the totalOnly the bottom and top segments
Shows totalsNo (readers must add bars)Yes, as bar lengthNo, every bar is 100%
Negative valuesHandles them clearlyConfusing; avoidNot suitable
SpaceWide; crowded past about 4 seriesCompactCompact
LabelsValue on each barTotal at the end, a few key segmentsPercent in each segment

Side-by-side comparison of a grouped bar graph and a stacked bar graph built from the same fictional sales data for North, South and West. In the grouped panel, products A, B and C stand next to each other from one baseline, so South's Product B at 45 is clearly the tallest bar. In the stacked panel, the same values form one bar per region, with totals of 90, 100 and 70 shown above the bars.

The example above uses the same fictional numbers twice. In the grouped panel it is easy to see that Product B sells best in South and Product A in West. In the stacked panel it is easy to see that South has the largest total (100) and West the smallest (70), but it is hard to tell whether Product C in North (20) is larger than Product B in West (20), because those segments start at different heights.

Definitions and Side-by-Side Differences

A grouped bar graph, also called a clustered bar graph (or clustered column chart when the bars are vertical), places one bar per sub-category next to each other inside each main category. A stacked bar graph, also called a segmented or composite bar graph, splits one bar per category into segments that add up to the category total.

The reason grouped bars are easier to compare comes from perception research. In Graphical Perception (Journal of the American Statistical Association, 1984), William Cleveland and Robert McGill found that people judge position along a common scale more accurately than lengths that are not aligned. In a grouped chart every bar sits on the same scale from zero. In a stacked chart only the bottom segment does; every other segment floats, so readers have to compare unaligned lengths.

This page is about choosing between the two. If you have already decided that a stacked chart fits and want to know when it works and when to avoid it, read when to use a stacked bar chart.

A Decision Framework You Can Trust

Decision flow for choosing a bar graph. Start with what readers must compare: individual parts lead to a grouped (clustered) bar graph, totals lead to a stacked bar graph, and shares of the mix lead to a 100% stacked bar graph. Grouped charts with more than four series or negative values should become small multiples; if readers need both totals and exact parts, consider a combined chart.

Answer these questions in order:

  1. What is the one comparison readers must make? Parts against parts points to grouped. Totals against totals points to stacked. Shares against shares points to 100% stacked.
  2. How many series are there? Grouped charts get crowded quickly; past about four series per group, consider small multiples. Stacked charts with many thin segments become hard to read as well.
  3. Are there negative values? Choose grouped bars. Stacked bars with negative segments make the total hard to read.
  4. Are the category labels long? Use horizontal bars for either chart type so the labels stay readable without rotating text.
  5. Can readers hover? In interactive dashboards, tooltips can carry exact values so you can label less.

If you cannot decide, sketch both with a small slice of the data and ask a colleague what the main takeaway is. The chart that gets the right answer fastest is the better one.

Labeling and Accessibility That Work

  • Grouped: put the value on or above each bar if it fits; otherwise label only the series that matters.
  • Stacked: label the total at the end of each bar and only the segments you discuss. Group tiny segments into "Other."
  • Keep series order and colors the same across every bar and every related chart, and keep the legend order matching the stack order.
  • Do not rely on color alone. Label series directly where you can, and check contrast: WCAG 2.2 asks for at least 4.5:1 for normal text and 3:1 for large text.
  • Write alt text that states the finding, for example "South has the highest total; Product B drives most of it," and offer the data table for complex charts.

Our bar graph design best practices checklist covers axes, sorting and color in more detail.

Make It in Your Favorite Tool Fast

Arrange the data with categories in the first column and one column per series. Then:

ToolGroupedStacked100% stacked
ExcelInsert > Column or Bar > ClusteredStacked Column or Stacked Bar100% Stacked Column or Bar
Google SheetsChart editor > Column or Bar chartSetup > Stacking: StandardStacking: 100%
R (ggplot2)geom_col(position = "dodge")geom_col(position = "stack") (default)geom_col(position = "fill")
Python (Matplotlib)Offset each series' x positions by the bar widthPass the running total to bottom= in ax.bar()Divide by row totals first, then stack

In ggplot2, map the series to fill (for example aes(x = region, y = units, fill = product)) with the data in long format. For step-by-step screenshots, see how to make a bar graph and how to make a bar graph in Google Sheets.

If you have not chosen a tool, see free bar graph makers compared, including which ones draw stacked and grouped bars.

Percent Stacked and Normalization Playbook

100% stacked bar graph of the same fictional data. Each region's bar is scaled to 100 percent: North is 44% Product A, 33% Product B and 22% Product C; South is 25%, 45% and 30%; West is 50%, 29% and 21%. Totals are no longer visible.

A 100% stacked bar graph answers "is the mix different?" even when totals differ a lot. To build it by hand, divide each segment by its bar total and multiply by 100 (North's Product A: 40 / 90 = 44%). Rounded labels may not add to exactly 100. Because the totals disappear, add them to the category labels or a subtitle (for example "North, n = 90"). For when the mix alone is the right story, see when to use a 100% stacked bar chart.

Alternatives When Bars Fall Short

  • Small multiples: one small chart per series or category, all on the same axis. Best when there are too many series for one grouped chart.
  • Dot plot: one dot per value on a shared scale. Lighter than grouped bars and easy to compare.
  • Slopegraph: best for exactly two time points or conditions (before and after).

Whatever you choose, use a title that states the finding ("South leads on total sales") rather than a label ("Sales by region").

Combining Clustered and Stacked the Right Way

A clustered stacked chart puts several stacked bars side by side in each group, for example budget and actual spend, each broken down by cost type, for every quarter. Use it only when readers truly need both comparisons, and keep it to two or three stacks per group and three or four segments per stack.

Excel has no built-in clustered stacked chart type. The common workaround is to lay out the data with blank rows between groups, build a stacked column chart from that range, and set the gap width so the stacks in each group sit together. In most cases two simpler charts, or small multiples, are easier to read.

Resources to Go from Theory to Production

If you plan charts with your team, you can sketch both versions on an AFFiNE whiteboard next to the data table and notes, then build the final chart in your spreadsheet or BI tool.

Frequently Asked Questions

What is the difference between a stacked bar graph and a grouped bar graph?

A grouped bar graph places one bar per sub-category side by side on a common baseline, so the parts are easy to compare. A stacked bar graph splits each category's bar into segments that add up to the total, so totals and rough composition are easy to see.

When should you use a grouped vs a stacked bar graph?

Use grouped bars when the main question is how the parts compare across categories. Use stacked bars when the main question is how the totals compare. Use 100% stacked bars when you want to compare shares.

Are stacked bar graphs good for comparing data?

They are good for comparing totals and the bottom segment, because those share a baseline. They are poor for comparing the middle and top segments precisely, because those segments start at different heights.

Is a compound bar graph the same as a stacked bar graph?

Usage varies. Many textbooks use "compound" or "component" bar graph for a stacked bar graph, while others use "compound" or "multiple" bar graph for grouped bars. Check which one your course or style guide means, and describe the chart by its layout if there is any doubt.

Can you combine a grouped and stacked bar graph?

Yes. A clustered stacked chart shows several stacks side by side in each group. It works only with few stacks and segments; otherwise split it into simpler charts or small multiples.

Sources and editorial notes

How this guide was prepared: The regional sales data and all three diagrams are fictional and were drawn for this article. AFFiNE makes a docs and whiteboard workspace, so we have a commercial interest in mentioning it; any spreadsheet or charting tool works for the steps above. AI tools assisted with drafting, and the AFFiNE team reviewed the content.