How to make a stacked bar graph
- 1Put your groups in the first column, for example grades or years.
- 2Add one column for each part of the total, such as Walk, Bus and Car.
- 3In Customize, choose Stacked to show real totals, or 100% stacked to show percentages.
- 4Download, copy, or share your stacked bar graph.
What is a stacked bar graph?
Each bar is a total split into colored segments, one per data set. The full length of the bar shows the total, and each segment shows how much that part contributes. When value labels are on, the stacked bar graph maker prints each segment's value inside it and the total at the end of the bar.
Stacked bar graph examples
- How students in each grade get to school: walk, bus, car or bike.
- Monthly spending split into rent, food, transport and other costs.
- Survey answers (agree, neutral, disagree) for each group, as a 100% stacked bar graph.
- Electricity from coal, gas, wind and solar, year by year.
- Product sales by region, with each region as one segment.
Stacked vs. 100% stacked
A stacked bar graph keeps the real values, so the bars have different lengths. A 100% stacked bar graph, also called a segmented bar graph, makes every bar the same length and shows each part as a percentage. Use it when your groups are different sizes and you care about proportions rather than totals.
How to read a stacked bar graph
Compare whole bars to see which group has the largest total. Then look at one color across the bars to see how that part changes. The bottom segment is the easiest to compare because every bar starts from the same baseline; for segments higher up, compare their lengths rather than where they end.
Features of this stacked bar graph maker
- Stacked and 100% stacked (segmented) layouts, vertical or horizontal.
- Segment values inside the bars and totals at the end, or percentages in 100% mode.
- Positive and negative values: positive parts stack up and negative parts stack down.
- Paste data with column names from Excel or Google Sheets; the names become the legend.
- Download a PNG, a high-resolution PNG, a JPG or an SVG, copy the image, or export your data as CSV. No watermark.
Stacked bar graph vs. pie chart
A pie chart shows the parts of a single total. When you have several totals to compare, like three grades or five years, a 100% stacked bar graph does the same job for every group at once, and the parts are easier to compare because they sit on a common scale. Use a pie chart for one group with a few parts, and stacked bars for several groups.
Using stacked bar graphs in class
Stacked and segmented bar graphs are common in middle school math, statistics and science classes, especially for two-way tables and survey results. Students turn the counts in a table into a graph, then describe what share of each group falls into each part.
With the stacked bar graph maker you can paste a two-way table straight from a worksheet or spreadsheet, switch between counts and percentages with one click, and print the result or drop it into a slide.
Tips for stacked bar graphs
Keep the number of segments small, ideally 2 to 5. Put the most important part first so it sits on the baseline, where it's easiest to compare. Use clearly different colors; the Colorblind-safe palette works well. If you need to compare the middle segments precisely, a double bar graph works better.
Frequently asked questions
Is this stacked bar graph maker free?
Yes. It's free to use, with no sign-up and no watermark on your downloads.
What is a segmented bar graph?
It's another name for a 100% stacked bar graph. Add two or more data sets and choose 100% stacked under Layout.
Can a stacked bar graph include negative numbers?
Yes. Positive parts stack up from zero and negative parts stack down.
Can I make a horizontal stacked bar graph?
Yes. Choose Horizontal under Orientation in Customize.
Is my data uploaded anywhere?
No. Your graph is drawn in your browser and your numbers are never sent to a server. A share link stores the data inside the link itself.