T Stat Calculator
Calculate the t-statistic for a one-sample t-test. Input sample mean, population mean, sample standard deviation, and sample size.
Was this calculator helpful?
How to use this tool?
This calculator computes the t-statistic for a one-sample t-test, comparing a sample mean to a known population mean.
How to Use
- Enter Sample Mean (x̄): The average of your sample data.
- Enter Population Mean (μ): The known or hypothesized population mean.
- Enter Sample Std Dev (s): The standard deviation of your sample (must be greater than 0).
- Enter Sample Size (n): The number of observations in your sample (must be at least 2).
- Click Calculate t-Statistic.
Understanding the Result
The result shows the t-statistic, calculated as:
t = (x̄ - μ) / (s / √n)
A larger absolute t-value indicates a greater difference between the sample and population means relative to the sample variability. Use this t-value with a t-distribution table to determine statistical significance.
Notes
- All inputs must be numeric. Standard deviation must be positive, and sample size must be at least 2.
- No units are required—use any consistent measurement (e.g., inches, kilograms, dollars).
- The result is rounded to 4 decimal places.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
A t-statistic measures how far the sample mean is from the population mean in units of standard error. It is used in hypothesis testing.
Use it to compare the mean of a single sample to a known population mean when the population standard deviation is unknown.
A large absolute t-value suggests that the sample mean is significantly different from the population mean, but you need to compare it to a critical value from the t-distribution.