ratio.

Find a tool

Browse all tools and categories ↗
STATISTICS

Welch Two Sample Mean Comparison Calculator

Compare independent sample means using unequal-variance standard errors, Welch degrees of freedom and a two-sided interval.

Enter your values

01 / INPUT
Calculated on your device

YOUR CALCULATION

Result

—

Calculation steps

Work through one step at a time or reveal the complete calculation. The steps use your current inputs.

    How to calculate

    Combine the two independent sample-mean variances, calculate Welch–Satterthwaite degrees of freedom and evaluate the Student t tail and confidence limits.

    SE=√(s1²/n1+s2²/n2); t=(mean1−mean2)/SE; df=(v1+v2)²/[v1²/(n1−1)+v2²/(n2−1)]

    Worked example

    Means 10 and 8, both sample SD 2 and n=20, give difference 2, SE √0.4, t √10 and df 38. The 95% interval is approximately 0.7197 to 3.2803.

    Assumptions and input details

    Independent samples with n from 2 to 40000, finite sample means and nonnegative sample SD; at least one SD positive. No paired observations, sampling weights or equal-variance assumption. The t approximation needs appropriate sampling conditions and can be poor with severe skew or small samples. Tests a zero population mean difference, two-sided only. P-values do not measure effect importance or prove causality; confidence is not a posterior probability.

    References: NIST: two-sample t test and Welch degrees of freedom

    Using this calculator

    Can I enter my own problem?

    Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.

    Are the results exact?

    Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.

    Is my input uploaded?

    The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.

    RELATED TOOL · STATISTICSMean Confidence Interval Calculator

    Calculate a two-sided confidence interval for a population mean from summary statistics. Choose Student t with sample SD or z with a known population SD.

    RELATED TOOL · MATHEMATICSStatistics Calculator

    Enter a list of numbers to calculate mean, median, modes, quartiles, population and sample standard deviation, with a frequency histogram.

    RELATED TOOL · STATISTICSProcess Capability Cp and Cpk Calculator

    Compare an entered process mean and standard deviation with two specification limits and estimate normal-model tail proportions.

    ADVERTISEMENT

    Reserved advertising space.