Correlation confidence interval calculator
Approximate a confidence interval for a population Pearson correlation using Fisher’s z transformation.
How to use this calculator
Approximate a confidence interval for a population Pearson correlation using Fisher’s z transformation.
- Enter Sample correlation r, Number of pairs n, Confidence level (%). 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 the Correlation confidence interval calculator works
Approximate a confidence interval for a population Pearson correlation using Fisher’s z transformation.
Inputs and units
- Sample correlation r: Sample Pearson correlation strictly between −1 and 1.
- Number of pairs n: Whole number of paired observations, greater than 3.
- Confidence level (%): Two-sided confidence level as a percentage.
Formula and method
z=atanh(r); SEz=1/√(n−3); limits=tanh[z ± normal critical × SEz]
Worked example
For r=0.5, n=30, and 95% confidence, z=0.549306 and SEz=1/√27. Transforming back gives approximately [0.1704316,0.7289584].
Interpreting the result
The interval is generally asymmetric on the correlation scale even though it is symmetric on the Fisher scale.
Assumptions and limits
Requires |r|<1, whole pair count n>3, and confidence from 80% up to but excluding 100%. Uses an approximate normal Fisher interval, commonly motivated by independent bivariate-normal observations; it is not robust to arbitrary dependence or outliers.
Sources and method
- Documents Fisher-transformed confidence intervals and statistical assumptions. SciPy: Pearson correlation
Frequently asked questions
Why are the two error-bar lengths unequal?
The inverse tanh transformation is nonlinear, so a symmetric z interval becomes asymmetric in r.
Does an interval excluding zero prove causation?
No. It addresses correlation uncertainty under the model and cannot establish a causal relationship.
How do I use the Correlation confidence interval calculator?
Enter Sample correlation r, Number of pairs n, Confidence level (%). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Correlation confidence interval?
For r=0.5, n=30, and 95% confidence, z=0.549306 and SEz=1/√27. Transforming back gives approximately [0.1704316,0.7289584].
What does the Correlation confidence interval calculator calculate?
Approximate a confidence interval for a population Pearson correlation using Fisher’s z transformation.
See the calculation methodology.