Exponential Regression

Fit an exponential regression model y = a × b^x to any data. Compute coefficients, R-squared, growth rate, MSE, and residual analysis with interactive charts.

Fit an exponential regression model to your data

About This Calculator

The Exponential Regression Calculator fits an exponential curve of the form y = a × b^x to your data using the least-squares method. This statistical technique transforms the data by taking the natural logarithm of y-values, fits a linear regression line to (x, ln(y)), then exponentiates the results to obtain the exponential model coefficients. It is ideal for analyzing data that grows or decays at a constant percentage rate.

This calculator is designed for students learning regression analysis, researchers analyzing growth patterns, data scientists exploring non-linear relationships, and professionals in fields like biology (population growth), finance (compound growth), physics (radioactive decay), and economics (exponential trends). Simply enter your comma-separated y-values and the calculator immediately computes the exponential regression coefficients, R-squared goodness-of-fit measure, growth rate, mean squared error, and the full regression equation. The interactive Fit Curve chart displays your actual data points alongside the fitted exponential curve, while the Residuals chart helps you assess model quality by showing how far each prediction deviates from the actual value.

How Exponential Regression Works

The calculator uses the standard exponential regression method: it transforms y-values using the natural logarithm (ln), then applies ordinary least-squares linear regression to the transformed data (x, ln(y)). The slope of this linear fit equals ln(b) and the intercept equals ln(a), so exponentiating these gives the coefficients a and b for the original exponential model y = a × b^x. R-squared is computed on the log-transformed scale to measure how well the linear model explains variance in ln(y).

Exponential regression is appropriate when data shows constant multiplicative growth or decay — for example, a bacterial culture doubling every hour, an investment growing at a fixed compound rate, or a radioactive substance decaying at a constant percentage per year. Unlike linear regression where a constant amount is added per unit x, exponential regression multiplies by a constant factor b per unit x.

Interpreting the Results

  • Coefficient a: The predicted y-value when x = 0. This represents the baseline or initial value in the model.
  • Coefficient b: The growth factor. Each 1-unit increase in x multiplies y by b. b > 1 means growth, 0 < b < 1 means decay.
  • Growth Rate: The percentage change per unit x, calculated as (b - 1) × 100%.
  • R²: The coefficient of determination on log-transformed data, indicating model fit quality.
  • MSE: Mean squared error between actual and predicted y-values, measuring average prediction error.

Regional Notes

India (IN): Exponential regression is commonly used in Indian educational curricula for statistics and data analysis at the undergraduate level. Applications include analyzing population growth rates, agricultural yield trends, and economic indicators. The calculator uses standard mathematical notation with no region-specific adaptations needed.

United States (US): Exponential regression is widely taught in AP Statistics and college-level regression courses. Common applications include analyzing compound interest, population models, learning curves, and technology adoption rates. Results use standard international notation with decimal separators.

United Kingdom (UK): Exponential regression features prominently in A-level Mathematics and Further Mathematics statistics modules. Typical applications include modeling bacterial growth in biology, radioactive decay in physics, and depreciation curves in business studies.

Frequently Asked Questions

What is exponential regression?

Exponential regression is a statistical method that fits an exponential curve y = a × b^x to a set of data points. It uses the least-squares method after log-transforming the y-values to find the best-fitting exponential model, making it ideal for data that grows or decays at a constant percentage rate.

How is exponential regression calculated?

Exponential regression is calculated by taking the natural logarithm of y-values, fitting a linear regression line to (x, ln(y)) using the least-squares method, then exponentiating the slope and intercept to obtain coefficients b and a respectively. The model is y = a × b^x, where a is the predicted value at x = 0 and b is the growth factor.

What does R-squared mean in exponential regression?

R-squared (coefficient of determination) in exponential regression measures how well the fitted exponential curve explains the variance in the log-transformed data. It ranges from 0 to 1, where values closer to 1 indicate a better fit. An R² of 0.95 means the model explains 95% of the variability in ln(y).

What is the difference between exponential regression and linear regression?

Linear regression models data as y = mx + c where y changes by a constant addition, while exponential regression models data as y = a × b^x where y changes by a constant multiplication. Exponential regression is appropriate for growth processes like population growth, compound interest, and radioactive decay where the rate of change is proportional to the current value.

How many data points do I need for exponential regression?

You need at least 2 data points to fit an exponential regression model, though 5 or more points are recommended for reliable results. More data points generally produce more accurate coefficient estimates and a more reliable R-squared value. All y-values must be positive since the natural logarithm is undefined for zero or negative numbers.

What does the growth factor b tell me?

The growth factor b in y = a × b^x indicates how y changes when x increases by 1 unit. If b > 1, the model describes exponential growth (y increases by (b-1)×100% per unit x). If 0 < b < 1, the model describes exponential decay (y decreases by (1-b)×100% per unit x). For example, b = 1.1 means 10% growth per unit x.

Can exponential regression handle negative y-values?

No, exponential regression requires all y-values to be positive because the method uses the natural logarithm transformation, which is only defined for positive numbers. If your data contains zeros or negative values, consider adding a constant to shift the data positive, or use a different regression model like polynomial or linear regression.

What is a residual in exponential regression?

A residual in exponential regression is the difference between the actual y-value and the predicted y-value from the fitted exponential model for a given x. Positive residuals mean the actual value is above the fitted curve, while negative residuals mean it is below. Analyzing residuals helps assess model fit — randomly scattered residuals around zero indicate a good fit.