How to use this calculator
This transforms a sample Pearson correlation into the usual t statistic for testing zero population correlation.
- Enter Pearson correlation r (−1 to 1), Number of pairs n. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How t statistic from correlation calculator works
This transforms a sample Pearson correlation into the usual t statistic for testing zero population correlation.
Inputs and units
- Pearson correlation r (−1 to 1): r is the signed sample Pearson correlation and must be between −1 and 1.
- Number of pairs n: n is the whole-number count of paired observations and must be at least 3.
Formula and method
t=r√((n−2)/(1−r²)); degrees of freedom=df=n−2.
Worked example
For r=0.5 and n=10, df=8 and t=0.5√(8/0.75)≈1.632993.
Interpreting the result
The sign follows the correlation direction. For r=±1 the statistic has no finite value; the interface reports an unbounded-limit symbol rather than NaN or Infinity.
Assumptions and limits
The reference t test assumes independent paired observations and the standard bivariate-normal inference model. It is a test statistic, not a p-value or evidence of causation.
Sources and method
- Under the usual bivariate-normal null model, the correlation test statistic is t=r√(n−2)/√(1−r²), with n−2 degrees of freedom. Penn State STAT 500: correlation inference
Frequently asked questions
What happens at r=1 or r=−1?
The denominator tends to zero, so no finite t statistic exists; the output indicates an unbounded limit.
Does this prove a linear causal relationship?
No. Correlation measures association; design and confounding determine causal interpretation.
How do I use the t statistic from correlation calculator?
Enter Pearson correlation r (−1 to 1), Number of pairs n. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of t statistic from correlation?
For r=0.5 and n=10, df=8 and t=0.5√(8/0.75)≈1.632993.
What does the t statistic from correlation calculator calculate?
This transforms a sample Pearson correlation into the usual t statistic for testing zero population correlation.