Correlation (r) Calculator
Calculate Pearson correlation coefficient r, R², and covariance for paired (x, y) data.
Inputs
Results
| Step-by-Step Breakdown | Results |
|---|
Worked Example
Default sample calculation evaluated with standard parameters.
| Inputs | Value |
|---|---|
| Pairs (x, y per line) | 10, 21 ; 20, 39 ; 30, 62 ; 40, 77 ; 50, 102 |
| Results | Value |
|---|---|
| Correlation (r) | 0.99766 |
| R² | 0.99532 |
| Slope (m) | 2 |
| Intercept (b) | 0.2 |
Technical Reference
Formula:
r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)²Σ(y−ȳ)²]- Category
- Statistics & Probability
- Input Parameters
- Pairs (x, y per line)
- Primary Outputs
- Correlation (r), R², Slope (m), Intercept (b)
- Unit Standard
- Dimensionless / Pure Math
How to Use
- 1Inputs: Correlation (r) Calculator (r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)²Σ(y−ȳ)²]).
- 2Calculate: Formula r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)²Σ(y−ȳ)²].
- 3Results: Copy Link / Export CSV / Print.
Frequently Asked Questions
Correlation (r) Calculator — Formula?
Correlation (r) Calculator: r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)²Σ(y−ȳ)²].
Export CSV / Print?
Results: Copy Link · Export CSV · Print.
100% Private?
This calculator runs locally in your browser and requires JavaScript.