Skip to content

Double Bar Graph Maker

Enter two sets of numbers for the same categories and their bars are drawn side by side, with a legend and totals for each group.

Free, no sign-up · Last updated

Data

MonthActions

Chart options

Orientation
Chart colors

Numbers

Series

2

Class A

Total
56
Mean
14

Class B

Total
58
Mean
14.5
Difference between the first two series
MonthClass A − Class B
Sep2
Oct-3
Nov-5
Dec4

Definition

What a double bar graph shows

A double bar graph places two bars side by side in each category. Their lengths are drawn against a shared scale, so you can compare the groups within each category and also compare how each group changes across categories.

Bars per category
Two, one for each group
Scale
Use the same units for both groups
Legend
Identifies which bar belongs to each group

How to make a double bar graph

Set the data out as a small table. The first column holds the categories and each following column holds one group’s numbers, with the group names in a heading row at the top. Each row becomes a cluster of bars. Type it into the table editor, or copy the block from Excel or Google Sheets and paste it into Paste text, where tabs, commas and semicolons all work.

Give the graph a title that names both groups, label the axis under the clusters with the category name (Month) and the side axis with what was counted (Books read). Pick a clearly different color for each group, and keep the legend on. Turn on values to print the number on each bar, or switch to horizontal bars if the category names are long.

Worked example: books read by two classes

Two classes kept a record of how many books they read each month. Class A read 12 in September, 15 in October, 9 in November and 20 in December. Class B read 10, 18, 14 and 16. This is the example in the maker. Class A read 12 + 15 + 9 + 20 = 56 books in total, an average of 56 ÷ 4 = 14 a month. Class B read 10 + 18 + 14 + 16 = 58 books, an average of 14.5.

Comparing the bars month by month, Class A was ahead by 2 books in September and by 4 in December. Class B was ahead by 3 in October and by 5 in November, the biggest gap of the four months. So although the totals are almost the same, the graph shows the two classes peaked in different months. A single bar graph of the totals would hide that.

Reading a double bar graph

Compare the two bars in each cluster first: which group is higher, and by how much? Then compare the same group across clusters, by following one color from left to right, to see where that group was highest and lowest. Keep the scale in mind. A bar that looks twice as tall should stand for twice the value, which is only true when the axis starts at zero, so this maker always starts it there.

Totals and averages for each group are shown next to the graph, together with the difference in each category. Use them to back up a written answer, such as “Class B read more in two of the four months, but Class A’s best month was the highest of all.”

Tips for a clear comparison

Keep the groups in the same order in every cluster, which the maker does, and keep the colors the same from one graph to the next if you make several. Do not stack the bars on top of each other unless you want to show a total. Stacked bars make it hard to compare the upper parts.

If you want to show what share of a total each category makes up, rather than compare two groups, a pie chart is usually the better choice. For one group only, use the bar graph maker.

Step-by-step example

Compare the monthly books read from September through December by Class A (12, 15, 9, 20) and Class B (10, 18, 14, 16).

StepResult
Class A total56 books
Class B total58 books
Class A mean14 books/month
Class B mean14.5 books/month
September leaderClass A by 2 books
November leaderClass B by 5 books
December leaderClass A by 4 books

Formulas used

Comparing two groups

Group total = sum of that group’s values

Group mean = group total ÷ number of categories

Difference in a category = first group − second group

Example: Class A total = 12 + 15 + 9 + 20 = 56, mean 14. Class B total = 58, mean 14.5. Differences: Sep +2, Oct −3, Nov −5, Dec +4 (positive means Class A read more).

When the answer can mislead

  • Equal totals can hide months when the groups move in different directions.
  • Unequal group sizes can make raw totals misleading when comparing rates.
  • Thin bars or similar colors can make the pairs difficult to distinguish on a small screen.

Questions

How do I make a double bar graph?

Start with a heading row that names the two groups, such as Month, Class A, Class B. Then add one row per category with a number for each group, such as Sep, 12, 10. Type it into the table or paste three columns from a spreadsheet. The bars for each category are drawn side by side in two colors, with a legend. Download it as a PNG or SVG, or print it.

What is a double bar graph used for?

It compares two groups across the same set of categories. Examples are boys and girls choosing favorite sports, two classes reading books each month, or sales this year and last year by month. Putting the two bars next to each other makes it easy to see which group is higher in each category and by how much.

Can I compare more than two groups?

Yes. Add a third or fourth column and each becomes another bar in every cluster, with up to four groups. Beyond that the clusters get crowded. With only one column of numbers, use the bar graph maker instead.

Why do I need a legend?

Each color stands for one group, and without a legend the reader cannot tell which is which. The legend uses the names from your heading row, so name the columns clearly, such as Class A and Class B rather than Column 1 and Column 2.

Should I use a double bar graph or a line graph?

If the categories are separate things, such as sports or school subjects, use a double bar graph. If they are points in time and you care about the trend, a line graph with two lines shows the rise and fall more clearly. With only a few time periods, such as four months, either works.

What if the two groups are different sizes?

Raw counts can mislead when one group is much bigger, because the larger group will tend to have taller bars everywhere. Convert each count to a percentage of its group’s total first, then graph the percentages. The percentage calculator can help with the conversion.

Last updated How we check
Embed this calculator
Cite this calculator

Double Bar Graph Maker. CalculatorLab. https://calculatorlab.site/calculators/double-bar-graph-maker/. Last updated .