Skip to content

Bar Graph Maker

Type your categories and numbers, or paste them from a spreadsheet, and the bar graph draws as you go. Download it as a PNG or SVG, or print it.

Free, no sign-up · Last updated

Data

LabelValueActions

Chart options

Orientation
Chart colors

Numbers

Total

30

Categories
5
Mean
6
Largest
Apples (8)
Smallest
Oranges (4)
Values and shares
LabelValue% of total
Apples826.67%
Bananas516.67%
Grapes723.33%
Oranges413.33%
Strawberries620%

Definition

What a bar graph shows

A bar graph compares values across distinct categories. Each bar starts from a shared baseline, and its length represents one category’s value on a common numerical scale. The bars can run vertically or horizontally.

Best for
Comparing distinct categories
Bar length
Read all bars against the same scale
Category order
Keep a natural order when one exists

How to make a bar graph

Start with a table of categories and counts. Each row becomes one bar. Type the rows in the table, or switch to Paste text and paste them from a spreadsheet. Commas, tabs, semicolons and colons all work as separators, so a two-column block copied from Google Sheets drops straight in. If your first row is a heading such as Fruit, Students, it is skipped.

Next, write a title that says what was counted and who was asked, such as Favorite Fruit in Our Class. Label the axis under the bars with the category name (Fruit) and the side axis with what the numbers mean, including units if there are any (Number of students). Choose one color for every bar, or a different color for each bar if you want them easy to tell apart. Turn on the values to print the number at the end of each bar.

Worked example: favorite fruit

Thirty students were asked to name their favorite fruit. 8 chose apples, 5 bananas, 7 grapes, 4 oranges and 6 strawberries. This is the example loaded in the maker. The total is 8 + 5 + 7 + 4 + 6 = 30, which matches the number of students asked. That is a quick check that nothing was missed.

The tallest bar is apples with 8 votes, and 8 out of 30 is about 26.7% of the class. The shortest is oranges with 4, which is 13.3%. Apples got twice as many votes as oranges, and you can see that at a glance because the apple bar is exactly twice as tall. Sorting from high to low puts the bars in the order apples, grapes, strawberries, bananas, oranges, which makes the ranking easy to read.

When a bar graph is the right choice

Use a bar graph when you are comparing amounts across separate groups: votes for each option, sales for each product, or the number of students in each club. The categories have no natural order of size, so you can sort them however makes the point clearest.

If you have two sets of numbers for the same categories, such as boys and girls or this year and last year, use the double bar graph maker so the bars sit side by side. If you want to show how a total is split into parts, a pie chart shows shares of the whole better. Values measured over time, such as temperature each month, read better as a line graph.

Getting the details right

Keep the gaps between bars the same width and make every bar the same thickness. The maker does both for you. Only the length of a bar should change. Avoid 3D effects and pictures inside the bars, because they make the lengths hard to compare.

Choose a scale that suits your numbers. The maker picks gridline steps such as 1, 2, 5 or 10 so that the tallest bar fits with a little room above it. For a black-and-white printout, choose the grayscale colors, so each bar still prints in a different shade of gray.

Step-by-step example

The class voted for apples, bananas, grapes, oranges or strawberries, with 8, 5, 7, 4 and 6 votes respectively.

StepResult
Total votes30
Mean votes per fruit6
Most votesApples, 8
Fewest votesOranges, 4
Share choosing apples26.7%
Share choosing oranges13.3%

Formulas used

Reading values from a bar graph

Total = sum of all bar values

Share of a category = value ÷ total × 100%

Mean bar value = total ÷ number of bars

  • The value is the height (or length) of the bar, read against the scale.

Example: Favorite fruit: total = 8 + 5 + 7 + 4 + 6 = 30. Apples = 8 ÷ 30 × 100% ≈ 26.7%. Mean = 30 ÷ 5 = 6 votes per fruit.

When the answer can mislead

  • A broken baseline can make small gaps look large.
  • Use a separate label for missing results so readers can distinguish them from zero.
  • If respondents can pick several categories, a share of votes is different from a share of people.

Questions

How do I make a bar graph?

Type each category and its number on its own line, for example Apples, 8. You can also use the table, or paste two columns copied from Excel or Google Sheets. Add a title and a label for each axis, choose your colors, and the graph updates straight away. Press Download PNG, Download SVG or Print when it looks right.

What is the difference between a bar graph and a histogram?

A bar graph compares separate categories, such as fruits, sports or months, so the bars have gaps between them and you can put them in any order. A histogram shows how a list of numbers is spread out over ranges such as 60 to 70 and 70 to 80. Its bars touch because the ranges join up. Use the histogram maker when your data is a list of measurements.

Should the bars start at zero?

Yes. The length of a bar stands for its value, so cutting off the bottom of the axis makes small differences look large. This maker always starts the value axis at zero. Negative values are drawn below the zero line.

Can I make a horizontal bar graph?

Yes. Switch the direction to horizontal. Horizontal bars are easier to read when the category names are long, such as names of countries or book titles, because the labels sit on one line beside each bar.

How do I put the graph in Google Docs, Slides or PowerPoint?

Download the PNG and insert it as an image. The PNG is drawn at twice the on-screen size so it stays sharp on a slide. If you need to resize it a lot or edit it in a drawing program, use the SVG, which is a vector file that stays crisp at any size.

Is my data uploaded anywhere?

No. The graph is drawn in your browser and the downloads are created on your device. Nothing you type is sent to a server, and you do not need an account.

Last updated How we check
Embed this calculator
Cite this calculator

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