One-Sample t-Test Calculator

  • Tests whether a sample mean differs from a hypothesized value.
  • Provides test statistic, p-value and confidence interval.
  • Supports one-sided and two-sided alternatives.

Input Values

Specify input values and click Calculate. Hover over for help.

  0.05


Influence of Changing Input Values on the t-Statistic

Customize Visualisation

Customize the plot by changing input values from here.

From Min
To Max
By
1st Series
2nd Series
3rd Series

Visualisation

This visualisation plots the absolute t-statistic for three sample sizes as the sample mean varies. You may change the default values from the 'Customize Visualisation' panel.

Download Figure

Table of t-Statistics and p-Values at a range of Sample Means and Sample Sizes

Customize Table

Customize the table by changing input values from here.

From Min
To Max
By
From Min
To Max
By

t-Statistic and p-Value Table

This table shows t-statistics (and two-sided p-values) for a range of sample means and sample sizes. You may change the default input values from the panel on the left.

Download Table