Curve Fitting Calculator
Choose a curve type and enter the x and y values of your points.
Numbers separated by commas.
The same number of numbers as the x values.
Try
Result
You entered
R²
Show the work
Least-squares logarithmic fit
The model is a straight line in and , so a least-squares line through those values gives and .
Slope and intercept of the straight line
Here is and is ; the line is through the point of means.
Using
Coefficient of determination
compares the squared gaps between the actual values and the curve with the spread of about its mean; means a perfect fit.
Using
Result
The best logarithmic fit is .