Back to tools

Least-Squares Fit

Choose a line or quadratic function, then calculate the fitted equation and coefficient uncertainties.

Data input

Enter x and y values.

No. x y

Pasting two spreadsheet columns into an x field will distribute them across rows automatically.

Use Tab or Enter to move forward. A new row is added automatically from the last field, and Backspace moves back from an empty field.

Import from file

You can import two-column CSV, TSV, or text files. Export Excel files as CSV before importing.

Results

Plot the data points and fitted curve with AwayFrom Graph.

Fitted equation Results will appear after you enter data.
The graph will appear after you enter data.
Open in AwayFrom Graph
Evaluate

Quickly check the fitted y value from an x input.

Predicted value
Uncertainty

The uncertainty is the standard error of y from the fitted equation.

Details

Uncertainties are standard errors estimated from residuals.