Bar chart with error bars maker

This bar chart with error bars maker turns pasted numbers into a figure you can put in a paper. Paste each group, choose what the error bars show, and download an editable SVG or a 300 dpi PNG. It also draws box plots and scatter plots with a fitted line.

The chart is drawn in your browser and the files are made there too. Your numbers are not sent or stored.

Bar chart with error barsOr describe it in Studio →
GroupnMeanSDSEMMedian
Control64.350.2880.1184.35
Treated65.4670.4180.1715.5

Figure legend

To report

Bars show the mean; error bars show ± SD; dots are individual values (Control, n = 6; Treated, n = 6).

Check your result: the SEM bar should be the SD divided by √n. For the example Control group, 0.288 ÷ √6 = 0.118, and the 95% CI half-width is t(5) × SEM = 2.571 × 0.118 = 0.302. The n printed under each bar should match the values you pasted.
chart types: bar, box plot, scatter
3
chart types: bar, box plot, scatter
groups per chart
6
groups per chart
pixels wide PNG, 9 in at 300 dpi
2,700
pixels wide PNG, 9 in at 300 dpi
numbers uploaded
0
numbers uploaded
  • Error bars: SD, SEM or 95% CI
  • Individual values shown as dots
  • Box plot and scatter plot too
  • Editable SVG and 300 dpi PNG
  • Figure legend written for you

01

How to make a bar chart with error bars

  1. Paste the values of each group, separated by commas, spaces or line breaks. A column copied from a spreadsheet works.
  2. Name the groups and the Y axis.
  3. Choose what the error bars show, and keep the individual values visible if the groups are small.
  4. Download the SVG to edit in Illustrator, Inkscape or PowerPoint, or the PNG to drop straight into a manuscript.

02

SD, SEM or 95% CI: which error bar?

Error barShowsUse when
± SDspread of the individual valuesyou describe how variable the data are
± SEMprecision of the mean, SD ÷ √nyou compare means; always state n
95% CIrange that should contain the true meanyou want readers to judge differences by eye

The three look alike on the page and mean different things, so the legend must say which one is drawn. For five values with SD 0.466, the SEM is 0.208 and the 95% CI half-width is 0.578: the same data, bars of three different lengths.

SEM = SD ÷ √n · 95% CI = mean ± t(n − 1) × SEM

Source: Cumming, Fidler & Vaux, Error bars in experimental biology, J Cell Biol 2007;177:7–11, rule 1 (say in the legend what the bars are) and rule 2 (state n).

03

Why show the individual values

A bar hides the shape of the data: very different samples can share a mean and an SD. Many journals now ask for the individual values to be drawn over the bars when groups are small. Keep "Show individual values" on, or switch to the box plot, which shows the median, quartiles and outliers instead of a mean.

04

File formats

  • SVG is a vector file. Text stays text and every bar is a shape, so you can change fonts, colours and sizes later without loss.
  • The PNG is 2,700 pixels wide, which is 9 inches at 300 dpi, enough for a full-width figure in most journals.
  • Colours come from the Okabe-Ito palette, which stays distinguishable for readers with the common forms of colour blindness.

05

Common mistakes with error bars

  • Drawing SEM and calling it SD. With six values the SEM is the SD divided by √6, so the bar is 2.45 times shorter: 0.118 instead of 0.288 for the example Control group.
  • Reading SEM bars that just touch as “no difference”. Two groups of three whose SEM bars meet end to end give t = 1.41 and p = 0.23 (Welch): not significant, but bars that do not overlap would not prove significance either. Run the test.
  • Starting the axis above zero. The example means, 4.35 and 5.47, give one bar 26% taller than the other from zero; start the axis at 4 and the second bar looks 4.2 times taller. This tool always starts bar charts at zero.
  • Leaving out n. Error bars mean little without the group size, which is why the n of each group is printed under its bar.

Trust

How this page is checked

  • The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
  • Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.

Cite this page

Sciloom. (2026). Bar chart with error bars maker. Zebra Nine Studio Inc. https://sciloom.si/bar-chart-with-error-bars

Read the full methodology · Who makes Sciloom

Frequently asked questions

Should error bars be SD or SEM?

Use SD to show how variable the measurements are and SEM or a 95% confidence interval to show how precisely the mean is known. Whichever you choose, say so in the legend and give n.

Can I edit the chart afterwards?

Yes. Download the SVG and open it in Illustrator, Inkscape, Affinity Designer or PowerPoint. Labels are real text and each bar is a separate shape.

Is my data uploaded?

No. The chart is drawn in your browser and the numbers are not sent to a server.

When should I use a box plot instead of a bar chart?

When the data are skewed, have outliers, or you have enough values per group (roughly ten or more) for quartiles to mean something. A box plot shows the median and spread without assuming a symmetric distribution.

Need the test that goes with the chart? The t-test calculator takes the same two groups.
Free to start, no sign-up.
Back to the tool ↑

More research tools