Free online tool
Coefficient of Determination Calculator
Enter two lists with matching rows. Calculate r², SSE, SST and the model convention. Review the method and copy or download your results.
Enter or ↑ ↓ moves between rows. Alt + ← → moves between columns. Tab moves through fields.
| # | ||
|---|---|---|
| 1 | ||
| 2 |
Enter a grid, paste values, or choose CSV, TSV, JSON, JSON Lines, XLSX, text or a statistics project. XLSX requires a worksheet choice and imports values only. Review headers and column mapping before calculating. The workspace supports up to 2 MB, 20,000 rows and 100,000 cells.
Enter a grid, paste values, or choose CSV, TSV, JSON, JSON Lines, XLSX, text or a statistics project. XLSX requires a worksheet choice and imports values only. Review headers and column mapping before calculating. The workspace supports up to 2 MB, 20,000 rows and 100,000 cells.
Import settings
Column mapping is available after opening the data. JSON object keys become column names. Grid column names are separate from its data rows.
- Enter two lists with matching rows
- Check your values and calculation settings.
- Calculate, review the method, and save your results.
Coefficient of determination
1, 2, 3, 4, 5 paired with 2, 5, 5, 8, 11
- Paired rows
- 5
- Slope
- 2.1
- Intercept
- -0.1
- SSE
- 2.7
- SST
- 46.8
- R²
- 0.942308
Single-predictor OLS with intercept, fitted using centered, scaled coordinates. R² = 1 − SSE/SST.
From input to finished work
How it works
Calculate r², SSE, SST and the model convention from your own values. Use the fictional sample to try the calculation. The default fits a least-squares line with an intercept. Supplied-prediction mode uses R² = 1 − SSE / SST and can produce a negative result. Constant observed values have undefined R².
No account needed. Your input stays in this browser. Export your finished work to keep a portable copy.