← All text tools

T-Test and Z-Test Calculator

Runs one-sample, two-sample, paired and Welch t-tests, z-tests and the F-test on raw data or summary numbers, giving statistic, p-value, confidence interval and decision.

  • Free
  • No sign-up
  • Works on any device

About T-Test and Z-Test Calculator

Pick the test, enter raw data or only the sample size, mean and standard deviation, and set α and the alternative. The calculator supports the one-sample t-test, the pooled two-sample t-test, the Welch test for unequal variances, the paired t-test, one- and two-sample z-tests with known population SDs, and the F-test for two variances. You get the statistic, degrees of freedom, p-value, a confidence interval, Cohen's d and a reject or keep decision. For the data 2, 4, 4, 4, 5, 5, 7, 9 against μ₀ = 4, t = 1.3229 with 7 degrees of freedom and p = 0.2275.

How to use T-Test and Z-Test Calculator

  1. Choose the test and whether you have raw data or summary numbers.
  2. Enter the samples, the hypothesized value, the alternative and the significance level α.
  3. Read the statistic, p-value, interval and the decision, and check the assumptions listed under the result.

Why use this tool?

Also known as

Frequently asked questions

When should I use the Welch test instead of the pooled t-test?

Use Welch whenever you cannot justify equal variances, which is most real data. It loses very little power when the variances are equal, so many statisticians use it by default.

Do I use a z-test or a t-test?

Use a z-test only when the population standard deviation is genuinely known in advance. If you estimate it from the sample, which is the usual case, the t-test is the correct choice.

What does the paired t-test do with my two lists?

It subtracts the second value from the first for each pair and runs a one-sample t-test on those differences. The two lists must therefore have the same length and keep the pairs in the same order.

Is T-Test and Z-Test Calculator free?

Yes. T-Test and Z-Test Calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put T-Test and Z-Test Calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.