t-Test Calculator (Welch, Pooled and Paired)

Compare two sets of numbers with a t-test and see the p-value, confidence interval and effect size.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open t-Test Calculator (Welch, Pooled and Paired) and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What t-Test Calculator (Welch, Pooled and Paired) does

    Compare two sets of numbers with a t-test and see the p-value, confidence interval and effect size.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Type the two samples, choose Welch's test, the pooled (Student) test or a paired test, and a significance level. The calculator gives the means, the difference, the t statistic, degrees of freedom, two-sided p-value, a confidence interval for the difference and Cohen's d.

Tests

Welch's t-test does not assume equal variances and is the safe default. The pooled test assumes equal variances. The paired test is for before-and-after or matched data and uses the differences between pairs, so both samples need the same size and order.

Results

The p-value is the probability of a difference at least this large if the true means were equal. The confidence interval is the range of plausible differences at the chosen level. Cohen's d is the difference in standard deviation units.

Assumptions

Independent observations and roughly normal data, or a reasonable sample size. Numbers can be separated by spaces, commas or new lines.

Worked example

Two samples of six measurements with means 12.27 and 13.45 give a Welch t of −4.28 on about 9.9 degrees of freedom, p = 0.0016, a difference of −1.18 with a 95% interval from −1.80 to −0.57 and Cohen's d of −2.47.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Which test should I use?

Welch for two independent groups; paired for matched measurements.

What is the confidence interval?

The range that contains the true difference in means with the chosen confidence.

Is it one- or two-sided?

Two-sided. Halve the p-value for a one-sided test in the direction you predicted.

What is Cohen's d?

The standardized difference: 0.2 small, 0.5 medium, 0.8 large.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages