t-Statistic Calculator

One-sample • Two-sample • Paired • Welch/pooled

Settings

This calculator outputs the t statistic (and df/SE), without p-value or CI.
μ₀
Quick summary
Enter data to compute t.

Data

Paste lists; we ignore non-numeric tokens.

Results

t statistic
Degrees of freedom (df)
Standard error (SE)
Effect (mean diff)
n (A / B)
Min / Max (A)
Updating…

Action

Hard reset: cancels pending updates and clears everything on the first click.

Use this t-Statistic Calculator to calculate the t value, standard error, and degrees of freedom for one-sample, independent two-sample, Welch, pooled, or paired data.

Calculation Methods

One-sample:

t = (x̄ − μ₀) ÷ (s ÷ √n)

Welch two-sample:

t = (x̄₁ − x̄₂) ÷ √(s₁²/n₁ + s₂²/n₂)

Pooled two-sample:

t = (x̄₁ − x̄₂) ÷ [sₚ × √(1/n₁ + 1/n₂)]

For paired data, calculate the difference within each pair and run a one-sample t calculation on those differences.

Example

Suppose a sample has a mean of 12, hypothesized mean of 10, standard deviation of 4, and sample size of 16.

SE = 4 ÷ √16 = 1

t = (12 − 10) ÷ 1 = 2.00

df = 16 − 1 = 15

Important Note

The t statistic alone does not determine statistical significance. A full hypothesis test also requires degrees of freedom, test direction, a p-value or critical value, and appropriate assumptions.

Use paired mode only for matched observations. For independent groups, Welch’s method is generally preferable when equal population variances cannot be justified.

Sources

View Sponsored Offers →

Related Tools

Sample Size Calculator

Use our Sample Size Calculator to estimate sample size for a mean or proportion from confidence level, margin of error, and optional finite population correction.

p-value Calculator

Use our P-value Calculator to calculate one-tailed or two-tailed p-values for Z, t, chi-square, and F test statistics.

Standard Deviation Calculator

Use our Standard Deviation Calculator to find sample or population standard deviation from a data set. Get variance, mean, range, and sorted values fast.

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

Confidence Interval Calculator

Use our Confidence Interval Calculator to find confidence intervals for a mean or proportion with standard error, critical value, margin of error, and lower and upper bounds.

IQR (Interquartile Range) Calculator

Use our IQR Calculator(Interquartile Range) to find Q1, Q3, median, and interquartile range from a data set. Supports raw numbers, value:count input, and two quartile methods.

Outlier Calculator (Tukey Fences)

Use our Outlier Calculator to find low and high outliers with Tukey fences and the IQR method. Get Q1, Q3, IQR, fences, counts, and sorted data fast.

Z-test Calculator

Use our Z-Test Calculator to compute z statistic, p-value, standard error, and critical z for one-sample or two-sample mean tests when sigma is known.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.