Polynomial Curve Fit

Fit a polynomial to (x, y) data via least squares. Reports coefficients, R² and residuals.

Paste at least 3 data points (x, y).

About this tool

Paste (x, y) pairs and pick a polynomial degree 1-6. The tool solves the normal equations to find the best-fit coefficients, reports R², residual sum of squares, predicted-vs-actual rows and an inline SVG plot of the scatter plus fitted curve.

An unhandled error has occurred. Reload ×