Loading…

Confidence Interval for Mean Using the T Distribution

Statistics • Estimation of the Mean and Proportion

View all topics

Confidence Interval for μ using the t distribution

Use this when the population standard deviation σ is not known. We estimate it by the sample standard deviation s, and the interval uses a t* critical value with df = n − 1.

\[ \begin{aligned} s_{\bar{x}} &= \frac{s}{\sqrt{n}} \\ \text{CI for }\mu &:\ \bar{x}\ \pm\ t^{*}\cdot s_{\bar{x}} \\ E &= t^{*}\cdot s_{\bar{x}} \end{aligned} \]

Accepted separators: comma, semicolon, tab, space, or newline. For CSV, paste a whole column (with or without a header).

Used only if you paste multi-column rows.

Enable by selecting Custom….

Mainly matters when n < 30.

Also compute a z-based interval (comparison).
Or enter summary statistics (if you don’t have raw data)

If raw data are provided above, they take priority.

Ready

Visualization

t curve + shaded tails + CI bar (updates after you calculate)

The shaded regions show the two tails with total area α (so each tail is α/2). The bottom bar shows the confidence interval from \(\bar{x}-E\) to \(\bar{x}+E\).

Paste sample data (or enter summary statistics) and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do you compute a confidence interval for the mean using the t distribution?

Compute xbar, s, and n, then use df = n - 1 and find the t* critical value for the chosen confidence level. The interval is xbar +/- t* x (s / sqrt(n)).

Why does this calculator use the t distribution instead of the z distribution?

When sigma is unknown, the sample standard deviation s is used and adds extra uncertainty. The t distribution accounts for this, especially for small to moderate sample sizes.

What is the margin of error in a t confidence interval?

The margin of error is E = t* x (s / sqrt(n)). The confidence interval endpoints are xbar - E and xbar + E.

What does the Population normal? option affect?

It provides guidance about whether the t interval assumptions are reasonable, particularly when n < 30. If the population is clearly not normal and the sample is small, the interval may be less reliable.

What does Show normal approximation do?

It also computes a z-based interval as a comparison to the t interval. This can help you see how close the t method is to the normal method when df is large.