Visualizing results

Bar Graph with Error Bars in APA Style (SPSS, Excel, KyroStat): SD, SE or 95% CI

Error bars show 95% confidence intervals of the means. State the bar type in the figure note, then report the test. SPSS and Excel steps inside.

By , founder of KyroStat · Updated 4 Dec 2026

Every p value in this guide (2) was recomputed from its own statistic by our Results checker on 4 Dec 2026.

A bar graph with error bars shows each group's mean and how much trust to place in it. The bar is the mean; the whiskers show either the spread of the scores or the uncertainty of the mean, depending on which error bar you choose. This guide covers what each error bar means, how to draw it in SPSS, Excel and KyroStat, and how to report the figure in APA 7.

What error bars represent: SD, SE or CI

The same data look very different depending on the error bar.

Standard deviation (SD): the spread of individual scores around the mean. If the SD is 10 and the mean is 50, roughly two thirds of scores in a normal distribution lie between 40 and 60. SD describes the people, not the precision of the mean, and it does not shrink as the sample grows.

Standard error (SE): the SD divided by √n. It describes how much the mean would vary across repeated samples. With the same SD, a larger sample gives a smaller SE.

95% confidence interval (CI): the mean plus and minus a critical t value times the SE. Across many repeated studies, about 95% of intervals built this way contain the population mean. With 20 per group, the critical value is t(19) = 2.093, so the 95% CI is about twice as wide as ±1 SE.

A worked example

Students wrote an essay using one of three techniques: freewriting (writing continuously without editing), outlining (planning the structure first) or revising (drafting, then editing). Twenty students used each technique, and essays were scored from 0 to 100.

TechniquenMSDSE95% CI
Freewriting2066.206.491.45[63.16, 69.24]
Outlining2073.409.142.04[69.12, 77.68]
Revising2074.809.512.13[70.35, 79.25]

A one-way ANOVA showed that essay scores differed by technique, F(2, 57) = 5.91, p = .005, η² = .17. Tukey HSD comparisons then showed which pairs differed: outlining scored 7.20 points higher than freewriting, 95% CI [0.74, 13.66], p = .025, and revising scored 8.60 points higher than freewriting, 95% CI [2.14, 15.06], p = .006. Outlining and revising did not differ, 1.40 points, 95% CI [−5.06, 7.86], p = .861.

The same means with each error bar type give very different whiskers. For outlining (M = 73.40), ±1 SD runs from 64.26 to 82.54, ±1 SE from 71.36 to 75.44, and the 95% CI from 69.12 to 77.68.

The APA 7 format template

As shown in Figure 1, [outcome] differed by [factor], F([df between], [df within]) = X.XX, p = .XXX, η² = .XX. [Group A] (M = X.XX, SD = X.XX) scored higher than [Group B] (M = X.XX, SD = X.XX), Tukey p = .XXX.

Building the table for this? Eight APA 7 tables in Word, formatted and ready to fill, are in the Rescue Vault, $27 for guide readers (usually $47) →

Want to see it written from data? Run this test on sample data in KyroStat: free, no file needed, and it does not use your free tests.

The figure itself needs:

  • Figure number: bold, on its own line above the figure, for example Figure 1
  • Figure title: italic title case on the next line, for example Essay Scores by Writing Technique
  • X-axis label: the grouping variable (for example, "Writing technique")
  • Y-axis label: the outcome with its units or range (for example, "Essay score (0 to 100)")
  • Figure note: below the figure, starting with Note., stating what the error bars show

The figure for the worked example

Bar graph of mean essay scores for three writing techniques: freewriting 66.20, outlining 73.40, revising 74.80, with 95% confidence interval error bars.

Figure 1

Essay Scores by Writing Technique

Note. Scores range from 0 to 100; n = 20 per group. Error bars show 95% confidence intervals of the means.

Write it:

As shown in Figure 1, essay scores differed by writing technique, F(2, 57) = 5.91, p = .005, η² = .17. Tukey HSD comparisons showed that both outlining (M = 73.40, SD = 9.14), p = .025, and revising (M = 74.80, SD = 9.51), p = .006, produced higher scores than freewriting (M = 66.20, SD = 6.49). Outlining and revising did not differ, p = .861.

Look at freewriting and outlining in the figure: their 95% CIs overlap slightly (69.12 against 69.24), yet Tukey's test finds the difference significant, p = .025. Overlap between two 95% CIs is not a test of the difference. Report the comparison itself.

How to draw error bars in SPSS

  1. Graphs > Chart Builder, then click OK if a message about variable measurement levels appears
  2. In the Gallery tab choose Bar and drag Simple Bar to the canvas
  3. Drag the grouping variable to the X-Axis box and the outcome to the Y-Axis box (the statistic defaults to Mean)
  4. In Element Properties, tick Display error bars, then choose one:
    • Confidence intervals, with Level (%) 95
    • Standard error, with Multiplier 1
    • Standard deviation, with Multiplier 1
  5. Click Apply, then OK

The older route, Graphs > Legacy Dialogs > Bar > Simple > Define, has the same three choices under Options > Display error bars. To add a title or note, double-click the chart to open the Chart Editor, or add them in your word processor below the pasted figure, which is the easier way to match APA layout.

How to draw error bars in Excel

  1. Put the group names in one column and the means in the next, then add a column with the half-width of each error bar (the SD, the SE, or the 95% CI half-width)
  2. Select the names and means, then Insert > Insert Column or Bar Chart > Clustered Column
  3. With the chart selected, Chart Design > Add Chart Element > Error Bars > More Error Bar Options
  4. Under Error Amount choose Custom > Specify Value, and select your half-width cells for both the positive and the negative error value

Excel's built-in Standard Error option does not compute each group's SE; it uses the spread of the plotted means themselves, so every bar gets the same, wrong whisker. Always use Custom.

For a 95% CI, the half-width is t × SE. For outlining in the example: 2.093 × 2.04 gives 4.28 (computed from the unrounded SE), so the interval is 73.40 ± 4.28, which is [69.12, 77.68].

How to draw it in KyroStat

Upload your data, choose the bar chart and pick the grouping variable and outcome. KyroStat draws the group means with 95% CI error bars by default (the figure above was drawn this way), and you can switch the error bars to SE or SD. The one-way ANOVA and Tukey comparisons that go with the figure run on the same data.

Which error bar to use

Use 95% CI when the figure compares means. It shows the precision of each mean on the scale readers care about, and its width already includes the critical t value.

Use SE only if your field expects it, and say so in the note. Readers often misread ±1 SE as a 95% interval, but it is about half as wide.

Use SD when you want readers to see how much individual scores vary, for example when describing a sample rather than comparing groups.

APA 7 rules for bar graphs with error bars

  • Italicize F, p, M, SD, SE, n and t. Greek letters such as η stay upright
  • No leading zero on values that cannot exceed 1: p = .005, η² = .17
  • Exact p to three decimals; below .001 write p < .001
  • Figure number in bold, title in italic title case on the line below
  • State the error bar type in the figure note
  • If group sizes differ, error bars will differ in width; give each n in the note

Mistakes reviewers catch

  • No error bar type stated. A note that says only "error bars" leaves readers guessing whether they see SD, SE or a CI
  • SE presented as if it were a CI. ±1 SE is roughly half the width of a 95% CI with 20 per group (2.04 against 4.28 for outlining here)
  • Overlap read as a test. Overlapping CIs do not show that two means are equal, and non-overlapping SE bars do not show a significant difference. Report the pairwise test
  • Excel's default error bars. The built-in Standard Error option gives one whisker for all bars; use Custom values
  • Claiming pairwise differences from the ANOVA alone. A significant F says the means are not all equal; follow it with a post hoc test such as Tukey HSD before saying which groups differ
  • Bars for continuous predictors. For two continuous variables, use a scatter plot

Frequently asked questions

Should the error bars be SD, SE or 95% CI in APA style? APA 7 does not require one type. It requires that the figure note says which one you used. A 95% CI is the most informative choice for comparing means.

What if my groups have unequal n? Each group's SE is its own SD divided by √n, so the bars will differ in width. Give the n for each group in the note: "Error bars show 95% confidence intervals; group sizes differ."

Do I report the error bar values in the text as well? Report the means and SDs in the text or a table, and the test statistic. The figure's error bars do not replace them.

Should the y-axis start at zero? For a bar graph, yes in most cases, because the bar's length represents the value. If the interesting differences are small relative to the scale, a dot plot with error bars can show them without a truncated axis.

Can I show error bars on stacked bars? Not clearly. Error bars on stacked segments are hard to read; use a clustered bar chart or separate panels instead.

Related guides

Your data in. Your Results out.

Create a free account and run your first analysis in minutes. No install, no statistics course.