Coefficient of Determination Calculator
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
| Statistic | Meaning |
|---|---|
| r | Direction & strength of linear association (−1 to 1) |
| R² | Share of y-variance explained by x (0 to 1) |
| Slope | Change in y per unit of x |
| Intercept | Predicted y when x = 0 |
functions Shows the working, not just the answer
For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.
calculate Accurate to the spec
Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.
school Free for classroom use
Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.
tips_and_updates Pair with the spoke articles
Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.
Interpretation guide
| R² | Interpretation (rule of thumb) |
|---|---|
| 0.81–1.00 | Very strong fit — x explains most of y |
| 0.49–0.80 | Strong fit |
| 0.25–0.48 | Moderate fit |
| Below 0.25 | Weak — x alone predicts y poorly |
Formula & methodology
Formula: R² = r² where r = Σ(x−x̄)(y−ȳ) ÷ √[Σ(x−x̄)² Σ(y−ȳ)²]
- Compute the means of x and y.
- Sum the cross-products Σ(x−x̄)(y−ȳ) and the squared deviations of each variable.
- r is the cross-product sum over the geometric mean of the two deviation sums; squaring gives R².
Worked example: x = 1…5, y = 2, 4, 5, 4, 5 → r = 6 ÷ √(10 × 6) = 0.7746, so R² = 0.60: the regression line ŷ = 0.6x + 2.2 explains 60% of the variation in y.
Frequently asked questions
Explore the full statistics toolkit
Every CalcaTools statistics calculator — descriptive measures, probability distributions, hypothesis tests, confidence intervals, and Six Sigma process metrics — with step-by-step workings on each result.