Correlation test statistic calculator
Use the sample r and paired sample size for the zero-correlation t statistic.
Calculator
How to use this calculator
Transform a sample Pearson correlation into a t statistic with n−2 degrees of freedom.
- Enter Pearson r (−1 to 1), Sample size 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.
Calculate the t statistic for a sample Pearson correlation
Under the null hypothesis of zero population correlation, the sample Pearson r can be transformed into a t statistic with n−2 degrees of freedom.
Inputs and units
- Pearson r (−1 to 1): Sample correlation coefficient, strictly between −1 and 1 for a finite t statistic.
- Sample size n: Whole-number count of paired observations, greater than 2.
Formula and method
t = r × √[(n − 2)/(1 − r²)]. Degrees of freedom = n − 2.
Worked example
With r = 0.5 and n = 30, t = 0.5×√(28/0.75) ≈ 3.055, with 28 degrees of freedom.
Interpreting the result
The statistic scales the observed correlation relative to the sample size under the zero-correlation test.
Assumptions and limits
This is not a p-value or confidence interval. The usual test assumes independent paired observations and conditions appropriate to inference; correlation does not establish causation.
Method references
Frequently asked questions
Why must |r| be less than 1?
At r = ±1 the denominator is zero and the finite-sample t transform is undefined.
Does a larger t prove a causal relationship?
No. It quantifies evidence under a statistical model and does not establish causality.
How do I use the Correlation test statistic calculator?
Enter Pearson r (−1 to 1), Sample size n. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Correlation test statistic?
With r = 0.5 and n = 30, t = 0.5×√(28/0.75) ≈ 3.055, with 28 degrees of freedom.
What does the Correlation test statistic calculator calculate?
Transform a sample Pearson correlation into a t statistic with n−2 degrees of freedom.
Good calculators show their work.
CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.