Enter the Pearson correlation coefficient (r) and sample size (n) to compute the t-statistic and two-tailed p-value, helping you assess the significance of the observed correlation. Note: This is an approximation; for critical analyses, use professional statistical software.

Correlation p‑Value Calculator

Correlation p‑Value Calculator

Calculate the two‑tailed p‑value for a correlation coefficient using: $$ t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}}, \quad p\text{-value}=2\Bigl[1-\text{CDF}(|t|; n-2)\Bigr]. $$

* Enter the correlation coefficient \( r \) (between -1 and 1) and the sample size \( n \) (with \( n > 2 \)).

Step 1: Enter Data

e.g., 0.3

e.g., 30 (n must be greater than 2)

The t‑value is computed as \( t=\frac{r\sqrt{n-2}}{\sqrt{1-r^2}} \) and the two‑tailed p‑value is \( 2\left[1-\text{CDF}(|t|; n-2)\right] \).