One-Sample T-Test Calculator – Compare a Mean with a Test Value, with Step-by-Step Solution in Excel
Is the mean rating really above the neutral 3.00? Is the class average different from the passing score of 75? Paste your data, type the test value, and click Start Analysis. The One-Sample T-Test Calculator checks the assumptions, runs the test for every variable, writes the six-step solution with your numbers in the formulas, and gives a report-ready table with a draft interpretation.
What it does
- One-sample t-test for up to 20 variables at once, against the test value you type. No fixed limit on the number of rows.
- Two-tailed, right-tailed or left-tailed test: pick the alternative hypothesis from a list.
- Solve from summary statistics: for textbook problems that give only n, the mean and the standard deviation, type the three numbers and get the full solution. No raw data needed.
- Assumption checks: continuous variable and independent observations (your answers), outliers (boxplot rule) and normality (Shapiro-Wilk, skewness and kurtosis).
- Assumption Summary: Met, Check or Not met for each assumption, what to do, and a draft paragraph for your paper. When an assumption is not met, it names the alternative to consider (Wilcoxon signed-rank test); it does not run that test.
- Results: one-sample statistics, t, df, p, mean difference with its confidence interval, the critical t and Cohen's d, as in SPSS.
- Solution: the six steps of hypothesis testing for each variable, with the numbers substituted into the formulas.
- Final Output: one report-ready table (n, M, SD, mean difference, t, df, p, Cohen's d, decision and interpretation) and a draft paragraph for each variable.
- Settings: decimal places, level of significance (0.01, 0.05, 0.10), confidence interval (90%, 95%, 99%), and the font and font size of the output tables.
- Missing data: blanks, N/A, NA and "-" count as missing; text in a number column is left out and listed.
- Save Report to Desktop: saves all the results as a new Excel file with the name you choose.
- Practice data and Guide: sample data (60 respondents, 3 variables) and a Guide sheet with decision rules, formulas, FAQ and APA references.
Perfect for
- Thesis students comparing mean ratings with the midpoint of a scale, or a mean score with a standard.
- Statistics students who need to check their six-step solutions, including problems given as n, mean and SD.
- Teachers who want worked examples for class in seconds.
How it works
- Put your variables on the Data sheet from column B (names in row 2, values from row 3), or type n, the mean and the SD on the Home sheet.
- Type the test value, choose the alternative hypothesis and answer the two design questions.
- Click Start Analysis.
- Read the Assumption Summary and the Solution, then copy the table and text from Final Output into your paper.
What you get
- One-Sample_T-Test_Calculator_v1.0.xlsm (macro-enabled Excel workbook)
- READ ME FIRST.pdf (how to turn on the macros, a quick start and troubleshooting)
Requirements
- Microsoft Excel desktop app for Windows or Mac (Microsoft 365 or Excel 2016 and later), with macros enabled.
- Not supported: Excel for the web, the Excel phone and tablet apps, Google Sheets and Apple Numbers (they do not run macros).
FAQ
- Can I use Likert data? Yes, when the variable is the mean of several Likert items (a composite score). For a single Likert item or ranks, the Wilcoxon signed-rank test is the usual choice, and the calculator tells you when to consider it.
- Can each variable have its own test value? One test value is used per run. For variables on a different scale, run the calculator again with another test value.
- Does it work on a Mac? Yes, in the Excel desktop app with macros enabled. Excel may ask once for permission to save the report on your Desktop.
Works great with the Independent Samples T-Test Calculator (two groups), the Paired Samples T-Test Calculator (pretest vs posttest) and the Nonparametric Tests Calculator (when the assumptions are not met), also from LearnCraft Online Store.
Digital download from LearnCraft Online Store. The calculator does the computations; choose the analysis that fits your study and check the interpretation with your adviser.