Skip to content
Statculator
Charts & Graphs

Bar Graph Maker

Free bar graph maker: make a bar chart, double bar graph or stacked bar chart from your data. Sort bars, show percentages and download PNG or SVG.

Free, no sign-up Runs in your browserBy Hira Noor, BS MathematicsUpdated

Try
Categories and values
#CategoryValueSeries 2Series 3Remove row
1
2
3
4
5
Tip: paste rows straight from a spreadsheet.

One category per row. Values can be counts, totals, averages or any other number. Fill in Series 2 or Series 3 to compare groups with a grouped, stacked or double bar graph.

Bars

Horizontal bars suit long category names or many categories.

With several series, each series gets its own colour from the legend palette.

Bar lengths become each value’s share of the total.

Shown under vertical bars.

Results

Bar chart of 5 categories010203040506070Bus: 6565BusWalk: 4242WalkCar: 3838CarBicycle: 2727BicycleTrain: 1818Train
Total, Σ
190
5 categories
Largest category
Bus: 65
34.21% of the total
Smallest category
Train: 18
9.47% of the total
Number of categories
5
Total
190
Mean value
38
Median value
38
Largest value
65
Smallest value
18
Range (largest − smallest)
47
Largest share of total
34.21%

Interpretation: Bus is the largest category (65, 34.21% of the total), 1.55 times the next largest, Walk. Train is the smallest (18). The top two categories account for 56.32% of the total.

Values and share of total

CategoryValue% of totalCumulative %
Bus6534.21%34.21%
Walk4222.11%56.32%
Car3820%76.32%
Bicycle2714.21%90.53%
Train189.47%100%
Total190100%

Rows follow the order you entered.

Step-by-step solution

  1. 1

    List the categories and their values

    Bus: 65
    Walk: 42
    Car: 38
    Bicycle: 27
    Train: 18
  2. 2

    Add the values to get the total

    Σ = 65 + 42 + 38 + 27 + 18 = 190
  3. 3

    Find each category’s share of the total

    Divide each value by the total and multiply by 100.

    Bus: 65 / 190 × 100 = 34.21%
    Walk: 42 / 190 × 100 = 22.11%
    Car: 38 / 190 × 100 = 20%
    Bicycle: 27 / 190 × 100 = 14.21%
    Train: 18 / 190 × 100 = 9.47%
  4. 4

    Order the bars

    Bars keep the order you entered.

    Bus → Walk → Car → Bicycle → Train
  5. 5

    Scale the value axis and draw the bars

    The value axis starts at zero so that bar heights are proportional to the values. Each bar is the same thickness and separated from its neighbours, because the categories are distinct groups rather than points on a number line.

What is a Bar Graph maker?

A bar graph maker turns category labels and values into a bar graph, with one bar per category whose length is proportional to its value. This free bar chart maker also draws double (grouped) bar graphs, stacked bar charts and 100% stacked (segmented) bar graphs for up to three series, adds value or percentage labels, and downloads the chart as PNG or SVG.

What the Bar Graph Maker does

Type or paste categories and values and this tool draws the bar graph, computes the total and each category’s share, and lists them in a table with cumulative percentages. Options let you flip the orientation, sort the bars, print values on them, switch to percent of total and add a title and axis labels, so the chart is ready to paste into a report or assignment. It works as a bar chart maker and a bar graph maker; the two names mean the same chart.

Fill in a Series 2 or Series 3 column and it becomes a grouped, stacked or segmented bar graph maker. Grouped bars (a double bar graph when there are two series) compare the series side by side within each category. Stacked bars show each category’s total split into parts, and 100% stacked bars show the mix as percentages, which is the segmented bar graph used for two-way tables in AP Statistics.

Bar graphs compare amounts across categories: survey answers, sales by product, population by country, or average scores by class. Each bar stands on its own, so the order can be changed to make comparisons easier. If your data are many measurements of one numeric variable, a histogram is the right chart; to count raw categorical responses first, use the Frequency Distribution Calculator.

How to use the Bar Graph Maker

  1. Enter one row per category under Categories and values: a label in Category and a number in Value. Pasting two to four columns from Excel or Google Sheets fills the rows automatically.
  2. To compare groups, fill in Series 2 (and Series 3 if needed), choose Grouped, Stacked or 100% stacked, and type the Series names for the legend, separated by commas.
  3. Choose Vertical or Horizontal bars, and pick an order under Sort bars. Tick Show values on bars to print each value. With one series, pick a Bar colour and tick Show as percent of total to display shares instead of raw values.
  4. Add a Chart title, Category axis label and Value axis label, then download the bar graph with the PNG or SVG button.

Bar graph calculations

A bar graph needs no statistical model; the only calculations are totals, shares and the axis scale.

Total
T = Σ vᵢ
Percent of total
shareᵢ = vᵢ / T × 100%
Cumulative percent (in chart order)
cumulativeⱼ = Σ shareᵢ for the first j bars
Stacked bar height for category i
Tᵢ = Σₛ vᵢₛ (sum over the series s)
100% stacked segment
segmentᵢₛ = vᵢₛ / Tᵢ × 100%
Formula symbols
SymbolMeaning
vᵢvalue of category i (one series)
vᵢₛvalue of category i in series s
T, Tᵢsum of all values; sum for category i across the series
shareᵢcategory i as a percentage of the total

Bar length is proportional to the value only when the value axis starts at zero, which is why this tool always includes zero on the axis.

Sorting descending and reading the cumulative percentage column gives the data for a Pareto chart, which shows how few categories account for most of the total.

In a 100% stacked bar graph every bar has the same length, so it shows proportions within each category but hides how big the categories are. Read the category totals in the table to keep that information.

Worked example

Worked example: how students travel to campus

Problem. A survey of 190 students records their main way of getting to campus: Bus 65, Walk 42, Car 38, Bicycle 27, Train 18 (the default data). Make a bar graph and find each mode’s share.

  1. 01Total: 65 + 42 + 38 + 27 + 18 = 190 students.
  2. 02Shares: Bus 65 / 190 = 34.21%, Walk 22.11%, Car 20%, Bicycle 14.21%, Train 9.47%.
  3. 03Sorted descending, the cumulative shares are 34.21%, 56.32%, 76.32%, 90.53% and 100%.
  4. 04Draw five separated bars on an axis from 0 to 70 (or 0% to 35% in percent mode), with Bus tallest and Train shortest.

Answer. Bus is the most common mode with 34.21% of students, about 1.55 times as many as walking (65 / 42 = 1.5476). Bus and walking together account for 56.32% of the students surveyed.

Grouped, stacked and segmented bar graphs

With two or three value columns the same data can be drawn three ways. Pick the layout that matches the question you want the chart to answer. The Double bar graph and Stacked bars examples above load ready-made data for each.

LayoutAlso calledBest forWatch out for
GroupedDouble bar graph, clustered or side-by-side bar chartComparing the series within each category, such as fall vs spring scores by subjectGets crowded with many categories; switch to horizontal bars
StackedStacked bar chart, composite bar chartShowing each category’s total and the parts that make it upOnly the bottom segment shares a baseline, so middle segments are hard to compare
100% stackedSegmented bar graph, percent stacked bar chartComparing proportions across categories, such as a conditional distribution from a two-way tableHides category sizes; quote the totals (n) alongside the chart

Tips for a clear bar graph

A few choices make the difference between a chart that is read correctly and one that misleads:

  • Start the value axis at zero. Truncating the axis exaggerates small differences between bars.
  • Sort nominal categories by value (product names, countries) so the ranking is obvious. Keep the natural order for ordinal categories such as age bands, months or rating scales.
  • Use horizontal bars when labels are long or there are more than about ten categories.
  • Label the axes with units, for example “Revenue ($ thousands)”, and say what the total represents.
  • Use percent of total or 100% stacked bars when comparing groups of different sizes, and state the total (n) in the title or a note.
  • Keep to three series or fewer. Beyond that, small multiples or a table are easier to read than a crowded grouped chart.

Common use cases

  • Survey results: show how many respondents chose each answer, or the percentage choosing each option.
  • Two-way tables: draw a segmented (100% stacked) bar graph of a conditional distribution, for example preferred transport by year group.
  • Before and after comparisons: a double bar graph of scores, sales or counts for two periods or two groups.
  • Business reporting: compare revenue, units or costs by product, region or month, stacked by channel or segment.
  • Pareto analysis: sort defect or complaint categories in descending order to find the vital few.
  • Homework and presentations: produce a free, labelled bar chart from a frequency table and download it as PNG or SVG.

Assumptions and limitations

  • Bar graphs are for categories. Do not use them for a continuous variable split into intervals; that is a histogram, whose bars touch.
  • Percent of total is meaningful only when the values are parts of one whole (counts, amounts). It is misleading for averages, rates or values that include negatives, which is why 100% stacked bars require values of zero or more.
  • A bar of an average hides the spread within each category, and this tool does not draw error bars. For comparing distributions, a box plot shows much more.
  • Up to three series can be drawn per chart. For more series, or for line-and-bar combinations, use spreadsheet or statistical software.
  • Bars compare categories against each other. To show how one whole splits into parts that add to 100%, such as a budget or survey shares, a pie chart is the usual choice.

Frequently asked questions

Is a bar graph the same as a bar chart?

Yes. Bar graph and bar chart are two names for the same chart, in which rectangular bars with lengths proportional to their values compare categories. Vertical bar graphs are sometimes called column charts. This bar graph maker draws both vertical and horizontal versions.

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

A bar chart compares separate categories, so its bars have gaps between them and can be put in any order. A histogram shows the distribution of one numeric variable divided into consecutive intervals, so its bars touch and their order is fixed by the number line.

How do I make a double bar graph?

Enter the categories and the first set of values, then put the second set in the Series 2 column. Choose Grouped and type the two series names, such as “2024, 2025”, so the legend explains the colours. Each category then gets two bars side by side.

How do I make a stacked or segmented bar graph?

Fill in two or three value columns and choose Stacked to place the series end to end, so each bar shows the category total. Choose 100% stacked for a segmented bar graph, where each bar is rescaled to 100% and the segments show the percentage of each series within that category.

How do I show percentages on a bar chart?

With one series, tick Show as percent of total. Each value is divided by the sum of all values and multiplied by 100, so the bars show shares that add up to 100%. With several series, choose 100% stacked to show percentages within each category. The table below the chart lists both the original values and the percentages.

Should I use vertical or horizontal bars?

Vertical bars (column charts) are the usual choice for a few categories with short labels or for categories with a natural order, such as years. Horizontal bars work better for long category names and for ten or more categories, because the labels can be read without rotating them.

Why should a bar chart start at zero?

Readers judge a bar chart by the length of the bars. If the axis starts above zero, a value that is 5% larger can look twice as long, which exaggerates the difference. Starting at zero keeps bar length proportional to the value it represents.

Cite this page

Statculator. (2026, November 14). Bar Graph Maker. Retrieved November 14, 2026, from https://statculator.com/charts/bar-chart-maker/