Skip to main content
v2026.11,986 entries · CC-BY 4.0

Confidence Interval in SPSS: Mean, t Test and Regression

Where SPSS reports a confidence interval for a mean, a t test difference and a regression coefficient, with menu paths and how to read each one.

Written and maintained by CASRAI Editorial Board

Published

On this page

In IBM SPSS Statistics a confidence interval is not one command: the procedure you run decides what the interval is an interval of. Analyze > Descriptive Statistics > Explore reports a 95% confidence interval for a mean, the t test procedures report an interval for a mean difference, and Analyze > Regression > Linear reports an interval for each regression coefficient once you tick Confidence intervals under Statistics.

What a confidence interval in SPSS is used for in research

A confidence interval gives a range of plausible values for a population quantity, estimated from a sample, at a stated confidence level. Researchers report it next to a point estimate (a mean, a mean difference, a slope) so a reader can see the precision of the estimate and not only whether a p value crossed a threshold. The concept itself is covered in Confidence Interval Explained and the confidence interval dictionary entry; the contrast with a single number is set out in point estimate vs confidence interval. This page covers only where to find the interval in SPSS and how to read it.

The practical difficulty in SPSS is that the interval appears in different tables with different meanings. Reading a mean-difference interval as if it were an interval for the mean of one group is a frequent misreading, so the table below maps each procedure to the quantity its interval describes, where the level is set and what the documentation says about it. The same data are available as the downloadable data table further down the page.

Which SPSS procedure gives which interval

  • Mean of one variable (or one variable by group): Analyze > Descriptive Statistics > Explore. The Descriptives output includes the confidence interval for the mean, 95% by default.
  • Difference between a sample mean and a test value: Analyze > Compare Means > One-Sample T Test. The interval is for the difference, not for the mean itself.
  • Difference between two group means: Analyze > Compare Means > Independent-Samples T Test. The interval is for the difference in means.
  • Each regression coefficient: Analyze > Regression > Linear, then Statistics, then Confidence intervals.

How to install or access SPSS

SPSS Statistics is IBM software. IBM’s product page offers a free trial through a sign-up form and lists campus editions for education institutions, which “provide campus-wide access to IBM SPSS Statistics through a single license”, and single-user student licenses for students and faculty sold through IBM-authorized vendors. It also lists subscription and perpetual licence types. Many universities provide SPSS through a campus licence, so check with your institution’s IT or library service before buying anything. Setup instructions after purchase are in IBM’s documentation, linked under Sources. This page does not quote prices because they vary by licence type and change.

Everything below uses the menu paths given in IBM’s version 28 documentation and in IBM’s regression documentation. Menu wording is stable across recent versions for these procedures, but if your menus differ, search the Help system for the procedure name.

How to get a confidence interval for a mean in SPSS

This section answers the question of how to calculate the mean in SPSS and get its interval in the same step. The Explore procedure reports the mean together with a 95% confidence interval for it.

  1. Open your data file and choose Analyze > Descriptive Statistics > Explore.
  2. Move the numeric variable you want to summarise into the Dependent List.
  3. Optionally move a categorical variable into the Factor List to get one row of results per group.
  4. Click Statistics. Descriptives is enabled by default and includes the confidence interval for the mean. Click Continue.
  5. Click OK.

In the Descriptives table, the row labelled “95% Confidence Interval for Mean” has a Lower Bound and an Upper Bound, next to the Mean row. A Kent State University library guide shows this with a height variable: a mean of 68.0318 with bounds of 67.5135 and 68.5501.

Changing the level from 95% is done in Explore’s syntax: the Kent State guide’s syntax examples include the line /CINTERVAL 95, which is where the level is carried. Edit the number there if you paste the syntax and need a different level.

Why a hand calculation can differ from the SPSS interval

If you compute the mean plus or minus 1.96 times the standard error yourself, you will get a slightly narrower interval than Explore reports. An IBM Community answer from an IBM Champion states that Explore “correctly uses the t distribution, which has a slightly larger CI” than the normal-distribution calculation. The t critical value depends on the degrees of freedom, so the gap is larger in small samples and shrinks as the sample grows.

Worked example (illustrative composite, not real data). Suppose a variable has n = 25, a mean of 50 and a standard error of 2. With the t distribution on 24 degrees of freedom the critical value is 2.0639, so the 95% interval is 50 ± 2.0639 × 2, which is 45.87 to 54.13. With 1.96 the hand interval is 50 ± 3.92, which is 46.08 to 53.92. The first is the interval SPSS Explore would report for those summary values; the second is the narrower normal-approximation interval.

How to get a confidence interval for a t test in SPSS

How to run an independent t test in SPSS

  1. Choose Analyze > Compare Means > Independent-Samples T Test.
  2. Move the outcome variable into the test variable list and the grouping variable into the grouping box, then define the two groups.
  3. Click Options to set the confidence interval level (and the treatment of missing data).
  4. Click OK.

According to IBM’s documentation, the output includes descriptives for each group (sample size, mean, standard deviation and standard error of the mean), the mean difference with its standard error and confidence interval, Levene’s test for equality of variances, and two t tests: the pooled-variance test, which assumes equal variances, and the separate-variance test, which does not. The interval is for the difference between the two group means. A fuller walk-through with reporting is in Independent-Samples T Test in SPSS.

One-sample t test

Choose Analyze > Compare Means > One-Sample T Test, move the variable into the test variable list, enter the test value, and click Options to control the level of the confidence interval and the treatment of missing data. IBM’s documentation says the output contains a confidence interval for the average difference between each data value and the hypothesised test value. That is an interval for the mean difference from the test value, not for the mean itself. To get the interval for the mean, use Explore as above.

How to get a confidence interval for a regression coefficient in SPSS

This answers how to find a confidence interval for a regression line’s coefficients: the slope and intercept each get their own interval.

  1. Choose Analyze > Regression > Linear and set up the dependent and independent variables.
  2. Click Statistics.
  3. Under Regression Coefficients, tick Confidence intervals. IBM describes this option as displaying confidence intervals “with the specified level of confidence for each regression coefficient”.
  4. Click Continue, then OK.

The coefficients table then gains lower and upper bound columns for each coefficient. IBM’s syntax reference for the REGRESSION command carries the level in the CI(value) keyword on the /STATISTICS subcommand. The wider workflow, including assumptions and reporting, is in Simple Regression in SPSS.

How to read the output

Each interval has a lower bound and an upper bound at the stated confidence level, so first confirm which quantity the interval belongs to using the procedure that produced it.

  • Explore: the interval brackets the population mean of that variable (or of each group).
  • One-sample t test: the interval brackets the difference between the population mean and the test value.
  • Independent-samples t test: the interval brackets the difference between the two population means. Take it from the row that matches Levene’s test: the pooled-variance row when equal variances are plausible, the separate-variance row when they are not.
  • Linear regression: the interval brackets the population value of each coefficient.

Can confidence intervals determine statistical significance?

They can show it, with a condition. For a difference or a coefficient, if the interval at a given level excludes the null value (zero for a difference or a slope), the test at the matching significance level (95% interval and p below .05) rejects the null; if the interval contains zero, it does not. This is an interpretation that follows from how both quantities are built from the same estimate and standard error, not a separate SPSS feature. An interval for a single mean is different: it is not a test against zero unless zero is a meaningful null value for that variable. The interval also shows something a p value does not, which is how large or small the effect could plausibly be.

For SPSS output more generally, see Reading SPSS Output.

Troubleshooting SPSS confidence intervals

  • The interval looks too narrow compared with a hand calculation. You may have used 1.96; Explore uses the t distribution, which is wider (see the worked example above).
  • The interval does not contain the group mean. It probably belongs to a mean difference. The t test procedures report intervals for differences, not for the means.
  • You need a level other than 95%. For the t tests, open Options in the dialog. For regression, the level is set with the confidence interval option and its CI(value) syntax. For Explore, use the /CINTERVAL line in syntax.
  • Two t test rows with different intervals. That is expected: one row assumes equal variances and one does not. Use Levene’s test to choose.
  • No interval in the regression table. The option is off by default; tick Confidence intervals under Statistics.

Free alternatives to SPSS for confidence intervals

If you do not have access to SPSS, the same intervals are available in free software. The table lists only what the cited documentation states.

Tool What the documentation states
R, t.test() The conf.level argument sets the confidence level of the interval (default 0.95) and the returned object includes conf.int.
R, confint() Computes confidence intervals for fitted model parameters; the level argument defaults to 0.95, and the lm method uses direct formulae based on t values.
jamovi Described on its site as a free statistical spreadsheet powered by the R language.

Frequently asked questions

How do I calculate the mean in SPSS?

Use Analyze > Descriptive Statistics > Explore, put the variable in the Dependent List and click OK. The Descriptives table shows the Mean and the 95% confidence interval for the mean. Descriptives is enabled by default in the Statistics dialog.

How to run an independent t test on SPSS?

Choose Analyze > Compare Means > Independent-Samples T Test, add the test variable and the grouping variable with its two groups, set the interval level under Options if needed, and click OK. The output gives Levene’s test, the pooled and separate-variance t tests, and the mean difference with its confidence interval.

Can confidence intervals determine statistical significance?

For a mean difference or a regression coefficient, an interval that excludes zero corresponds to a significant result at the matching level (a 95% interval corresponds to p below .05). An interval for a single mean is not a significance test unless zero is a meaningful null for that variable.

How to find a confidence interval for a regression line?

Run Analyze > Regression > Linear, click Statistics and tick Confidence intervals under Regression Coefficients. SPSS then reports the lower and upper bounds for each coefficient, which includes the slope of the line.

Sources

Data: Confidence interval output by SPSS procedure and free equivalent

Maps each procedure that reports a confidence interval to the quantity the interval describes, where its level is set, and the matching free R function. Compiled from IBM SPSS Statistics documentation (versions 24 and 28), a Kent State University Libraries SPSS guide and R documentation, each read on 2026-11-24.

Confidence interval output by SPSS procedure and free equivalent
ProcedureMenu path or functionWhat the interval describesWhere the level is set
ExploreAnalyze > Descriptive Statistics > Explore; Statistics > DescriptivesPopulation mean of the variable (95% by default)Syntax line /CINTERVAL 95 in the Kent State examples
One-Sample T TestAnalyze > Compare Means > One-Sample T TestMean difference from the test valueOptions button
Independent-Samples T TestAnalyze > Compare Means > Independent-Samples T TestDifference between the two group meansOptions button
Linear regressionAnalyze > Regression > Linear > Statistics > Confidence intervalsEach regression coefficientSpecified level in the Statistics option; CI(value) in syntax
R t.test()t.test(x, conf.level = 0.95)Mean or mean difference, per the callconf.level argument, default 0.95
R confint()confint(model, level = 0.95)Fitted model parameters (lm uses t values)level argument, default 0.95

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Confidence Interval in SPSS: Mean, t Test and Regression

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →