Skip to content

Advertisement

Polynomial regression calculator

Fit a second- or third-degree curve to paired X and Y observations.

R²: —

Fill in the fields above — the result is computed on this page.

Pairs
—
Degree
—
b₀
—
b₁
—
b₂
—
b₃
—
Adjusted R²
—
RMSE
—
SSE
—

Fit and residuals

Row X Y Ŷ Residual
Fill in the fields above — the result is computed on this page.
What these numbers mean
  • Compare models using residuals and out-of-sample data as well.
  • A higher degree may fit noise rather than the underlying relationship.

Extrapolation outside the X range can quickly become unrealistic. The calculator supports one predictor and degree 2 or 3; it does not establish causality.

How to use this page
  1. Paste X and Y pairs in matching order.
  2. Choose degree 2 or 3.
  3. Review coefficients, R², RMSE and residuals.

What this page does not do: Extrapolation outside the X range can quickly become unrealistic. The calculator supports one predictor and degree 2 or 3; it does not establish causality.

Further reading

Polynomial regression extends a linear model with powers of X. A quadratic model is ŷ = b₀ + b₁x + b₂x², while a cubic model adds b₃x³. Coefficients are fitted by least squares.

R² is the share of Y variation reproduced in this sample. Adjusted R² accounts for the parameter count, and RMSE reports typical residual size in Y units.

Frequently asked questions

When should I choose degree 3?

When the relationship and validation evidence support it and a quadratic model leaves systematic residuals.

Does a high R² guarantee useful predictions?

No. A high in-sample R² can coexist with overfitting and poor predictions outside the observed range.

See also

← All calculators

Advertisement
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.