QuadraticCalc

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

At least 3 points with different x values

Try an example

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.

    1. Read the (x, y) pairs
    2. Compute n, Σx, Σx², Σx³, Σx⁴, Σy, Σxy and Σx²y
    3. Build the 3 normal equations
    4. Solve for a, b and c
    5. Measure R² and the residuals
    6. 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.

    S = Σ(yᵢ − (axᵢ² + bxᵢ + 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² valueMeaning
    0.95 to 1The parabola fits the data closely
    0.7 to 0.95A useful fit with visible scatter
    below 0.7A 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.

    Quadratic Regression Calculator FAQ

    How Many Data Points Does Quadratic Regression Need?

    Quadratic regression needs at least 3 points with different x values. 3 points give an exact fit with R² = 1, so 6 or more points give a more meaningful model.

    What Is a Good R² for Quadratic Regression?

    An R² above 0.9 is a good fit for most school and lab data. R² measures the share of the variation in y that the curve explains.

    What Is the Difference Between Quadratic Regression and Interpolation?

    Regression finds the best curve near all the points, and interpolation finds a curve through every point. Use the quadratic interpolation calculator for exact fits through 3 points.

    What Are Residuals?

    A residual is the observed y value minus the predicted y value for the same x. The chart draws each residual as a vertical red line.

    When Should I Use Quadratic Regression Instead of Linear Regression?

    Use quadratic regression when the scatter plot curves and has 1 turning point, such as projectile heights, profit against price or stopping distance against speed.