At a Glance
- Category
- Statistics
- Best For
- Students testing a sample mean when the standard deviation is estimated
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Divides the difference between the sample mean and the hypothesized mean by the standard error and compares it with an approximate critical value.
Statistics students, scientists and analysts.
Small samples where the population standard deviation is unknown.
The t-test accounts for the extra uncertainty of estimating the standard deviation.
Key Features & Capabilities
t statistic
The standardized difference from the hypothesized mean.
Standard error
The sample standard deviation divided by √n.
Significance check
Compared with an approximate 0.05 threshold.
How to Use This Tool
Enter the means
Type the sample mean and the hypothesized mean. Tip: Use the same units.
Enter s and n
Type the sample standard deviation and the sample size. Tip: n must be at least 2.
Read the t statistic
Larger absolute values mean stronger evidence. Tip: The sign shows direction.
Compare with the threshold
If |t| exceeds the critical value the result is significant at 0.05. Tip: Confirm with an exact table for important decisions.
Worked Real-World Example
25 observations
A sample of 25 has a mean of 104.2 and a standard deviation of 8.5. Test whether the true mean is 100.
How It Works (Math & Calculation Logic)
df = n − 1. Standard error = s ÷ √n. t = (sample mean − hypothesized mean) ÷ standard error. The two-tailed 0.05 critical value is approximated as 1.96 for df above 30 and 2.0 + 4 ÷ (df + 10) otherwise. The result is significant if |t| exceeds it.
How to Interpret Your Results
For large samples the critical value approaches 1.96.
Smaller samples need larger t values for significance.
Use the exact critical value or p-value from statistical software for formal reporting.
Frequently Asked Questions
What is a t-test?
When do I use t instead of z?
How do I find degrees of freedom?
Is the critical value exact?
What does significant mean?
Complementary QuickForma Utilities
Z-Score Calculator
Calculate standard score Z = (X - mu) / sigma and percentile rank under standard normal curve.
Confidence Interval Calculator
Calculate margin of error E = Z * (sigma / sqrt(n)) and lower/upper bounds for confidence intervals.
Hypothesis Test Calculator
Calculate test statistic Z = (xbar - mu) / (s / sqrt(n)), two-tailed p-value, and significance decision.
One-Way & Two-Way ANOVA F-Test Calculator
Computes Analysis of Variance (ANOVA) table, Sum of Squares, Mean Squares, and F-statistic.
p-Value Calculator from Z, t, F & Chi-Square Statistics
Converts test statistics (Z, t, F, chi²) into one-tailed and two-tailed p-values.
Pearson r & Spearman Rank Correlation
Computes Pearson product-moment correlation coefficient r and Spearman rank correlation.
IQR, Box Plot Quartiles & Outlier Detector
Solves Q1, Q2 (Median), Q3, Interquartile Range (IQR), and identifies mild/extreme outliers (1.5 × IQR).
Polar vs Rectangular Complex Number Calculator
Online client-side Polar vs Rectangular Complex Number Calculator tool.
Factorial n! & Permutation Formula Solver
Online client-side Factorial n! & Permutation Formula Solver tool.
Logarithm Base-b Conversion Solver
Online client-side Logarithm Base-b Conversion Solver tool.