One-sample t-test calculator

Calculate one-sample t statistic and degrees of freedom with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use one-sample t statistic and degrees of freedom to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Sample values
10,12,14,11,15
Null mean
10
One-sample t statistic
2.587987
Degrees of freedom
4
Two-sided p value
0.060813
95% sample mean interval lower
9.825231
95% sample mean interval upper
14.974769

Try another scenario

Sample values
11.0,12.0,14.0,11.0,15.0
Null mean
10
One-sample t statistic
3.200379
Degrees of freedom
4
Two-sided p value
0.032889
95% sample mean interval lower
10.344405
95% sample mean interval upper
14.855595
Calculation method

Calculation method

One-sample t statistic

t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.

Degrees of freedom

t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.

Two-sided p value

t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.

95% sample mean interval lower

t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.

95% sample mean interval upper

t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.

Symbols and units
a
Sample values
b
Null mean

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Calculation uses the entered values and stated mathematical model; quantities must use the labelled units. Supported limits: All required fields must be finite values of the exact declared type and within displayed bounds. Lists contain1–1000 finite numbers. JSON tables are numeric rectangular rows, at most100 rows and30 columns; individual tools have stricter shape/domain constraints. t=(sample mean-null)/sqrt(sample variance/n). Report two-sided95% Student interval; no one-sided mode.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.