T value is a statistic used to compare whether the difference between the mean values of two samples is significant. The formula for calculating t value is (x 1-X2)/(s * √ (1/n 1+1/N2)), where x1and x2 respectively represent the average value of two samples, and s represents the combined standard deviation, n/N2.