Quadratic Regression Calculator
Paste your data to fit the best quadratic curve by least squares, with R² and a plot of every residual.
Your Values
Visualization
Results
Step-by-Step Solution
How Quadratic Regression Calculator Works?
The quadratic regression calculator computes 7 sums from the data, solves the 3 normal equations for a, b and c by least squares, and reports the coefficient of determination (R²) with a residual plot.
- Read the (x, y) pairs
- Compute n, Σx, Σx², Σx³, Σx⁴, Σy, Σxy and Σx²y
- Build the 3 normal equations
- Solve for a, b and c
- Measure R² and the residuals
- Draw the scatter plot and the fitted curve
Least squares picks the curve with the smallest sum of squared vertical distances from the data. The calculator draws each distance as a red residual line, so outliers stand out on the chart.
Quadratic Regression Formula
The quadratic regression formula minimises S = Σ(yᵢ − axᵢ² − bxᵢ − c)², which leads to 3 normal equations in a, b and c.
- Σx⁴·a + Σx³·b + Σx²·c
- = Σx²y
- Σx³·a + Σx²·b + Σx·c
- = Σxy
- Σx²·a + Σx·b + n·c
- = Σy
- R²
- 1 − SSᵣₑₛ / SSₜₒₜ
| R² value | Meaning |
|---|---|
| 0.95 to 1 | The parabola fits the data closely |
| 0.7 to 0.95 | A useful fit with visible scatter |
| below 0.7 | A quadratic explains little of the variation |
The TI-84 Plus runs the same least-squares fit with STAT → CALC → 5: QuadReg, so both tools return the same a, b, c and R² for the same data.