Exponential Regression Calculator

Fit an exponential curve y = a × b^x to paired data using least squares on ln(y). Predict a value at a new x.

Result
—

How to calculate

Transform y to its natural logarithm, fit a straight line against x, and exponentiate the intercept and slope to get a and b.

Worked example

Use Pairs x, y, one per line 0, 2 / 1, 6 / 2, 18. The result is y ≈ 2 × 3^x.

Input and result notes

Enter 2 to 100 observations with positive y and at least two distinct x values. R² measures fit on the log scale.

OpenStax on fitting exponential models

Related calculators