Home · Statistics · Correlation & Regression · Quadratic Regression Calculator

Quadratic Regression Calculator

Quadratic (second-degree polynomial) regression of y on x: fits a parabola ŷ = a + b·x + c·x² by least squares; the headline result is the quadratic coefficient c.

Your figures

Example result — edit the figures to make it yours

-0.0119

Coefficients (constant first)1.142857, 1.630952, -0.011905
Leading coefficient (x^2)-0.011905
R-squared0.895995
Pairs (n)7

What this calculator does

Quadratic (second-degree polynomial) regression of y on x: fits a parabola ŷ = a + b·x + c·x² by least squares; the headline result is the quadratic coefficient c. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

ŷ = a + b·x + c·x², fitted by least squares; headline = c

The fit minimises the sum of squared residuals over the three coefficients a, b and c.

The sign of c gives the parabola's direction: positive opens upward, negative opens downward.

A quadratic can capture one bend in the relationship; it should not be extrapolated beyond the data, where the x² term explodes.

Worked example

With the example inputs this page opens with, the result is -0.0119. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — the worked example in full
FigureValue
Result-0.0119
Coefficients (constant first)1.142857, 1.630952, -0.011905
Leading coefficient (x^2)-0.011905
R-squared0.895995
Pairs (n)7

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

When is a quadratic fit better than a straight line?

When the relationship bends once — growth that levels off, or a response with an optimum in the middle. If the quadratic coefficient is near zero, as here (−0.012), the data are nearly linear and the simpler line is preferable.

Why not always use a higher-degree fit?

Extra terms always raise R² on the fitting data but chase noise, and polynomial fits swing wildly outside the observed x-range. Degree should follow the shape of the underlying process, not the appetite for fit.

How does the Quadratic Regression Calculator work?

Quadratic (second-degree polynomial) regression of y on x: fits a parabola ŷ = a + b·x + c·x² by least squares; the headline result is the quadratic coefficient c. X values · y values → Quadratic coefficient c. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Quadratic Regression Calculator need?

X values · y values → Quadratic coefficient c. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.