How to Calculate the T Test Value

A calculator with square and square root functions will save you from having to do these manually.
••• keypad image by vashistha pathak from

The T test was developed by William Sealy Gosset in 1908 as a way to tell if the difference between two sets of information was statistically significant. It is used to determine if the change in two sets of data, which may be in a graph or table form, is statistically significant. Generally one set of data is the “control,” or the data that no new treatment has been applied to. The other set of data is the “treatment,” or “experimental” data.

    Find the mean of the first set of data. To do this, add all the values together and divide by the number of values you have.

    Subtract each value by the mean. Some of the values you get will be negative. Take each value you just calculated and square it. Add all these values together. This is known as the sum of squares.

    Divide the sum of squares by the number of values minus one. This is called the variance of the first set of values.

    Repeat the above steps with the second set of data.

    Subtract the control group mean from the experimental group mean. Save this calculation.

    Divide the variance of each set of data by the number of values. Add the two resulting numbers together.

    Calculate the square root of the number you found in the above step.

    Take the number you got when you subtracted the two means and divide it by the square root you found in the above step. This is your T value.

    Things You'll Need

    • Pencil
    • Paper
    • Calculator that has a square and square root function


    • If you are given the standard deviation, the variance is simply the standard deviation squared.

Related Articles

How to Calculate Statistical Mean
How to Calculate CV Values
How to Calculate a Sigma Value
How to Calculate the Confidence Interval of the Mean
How to Calculate a Moving Range
How to Calculate Standard Error of The Mean
How to Calculate Regression Coefficient
How to Calculate the Midpoint Between Two Numbers
How to Calculate a T-Statistic
How to Calculate Average Deviation From the Mean
Define Mean for Math
How to Calculate the Distribution of the Mean
How to Calculate a P-Value
How to Calculate a Temperature Range
How to Calculate the Interquartile Range
How to Calculate the Root MSE in ANOVA
How to Calculate Dispersion
How to Calculate Variance
How to Find a Z Score
How Do I Calculate the Relative Standard Deviation...