# p-value in excel

#### resonance

##### New Member
the formula =TDIST(ABS(X10),18,2) gives the p-value.
How does it do this? I know there's the degrees of freedom, but i have no idea what that is all about. HELP!

#### JohnM

##### TS Contributor
The p-value is the probability of obtaining the t statistic (or larger) if the null hypothesis is true.

#### vinux

##### Dark Knight
the formula =TDIST(ABS(X10),18,2) gives the p-value.
How does it do this? I know there's the degrees of freedom, but i have no idea what that is all about. HELP!