About Exponential Regression Calculator
This exponential regression calculator fits y = a·e^(bx) to data that grows or decays by a constant factor. It opens on a culture that multiplies each day and compares the fit with a straight line. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
The fit is found by regressing ln y on x, so every y must be above zero. The factor e^b tells you how much y is multiplied by for each step of 1 in x. A factor of 1.6 means 60% growth per step.
R² is measured on the original y values, so it is a fair comparison with the straight line and the other models in the table.
How to use Exponential Regression Calculator
- Paste two columns from a spreadsheet or type one x, y pair per line. A text first line is used as the axis names.
- Choose the model: linear, polynomial, exponential or logarithmic. For a polynomial, pick the degree.
- Read the equation and the statistics table. For the line, the slope p-value tests whether x helps predict y at all.
- Type an x value in the prediction box to get the predicted y and, for the linear model, its intervals.
- Check the residual plot. Residuals should scatter randomly around zero. A curve or a funnel means the model is wrong or the spread changes.
- Open the comparison table to see which model has the highest R², and look at adjusted R² before trusting a high degree.
Features
- Least squares line with slope, intercept, r, r², standard error of the estimate and of the slope.
- t test and p-value for the slope, with confidence intervals for slope and intercept.
- Prediction interval for one new point and confidence interval for the mean response.
- Polynomial regression of degree 2 to 6, exponential y = a·e^(bx) and logarithmic y = a + b·ln x.
- Model comparison table with R² and adjusted R².
- Equation in KaTeX, scatter plot with fitted curve and prediction band, and PNG download.
- Residual plot and a residuals table with fitted values.
- Step by step working for the least squares line, copyable as LaTeX.
Exponential model
Taking the natural log of both sides turns the curve into a straight line.
y = a·e^(b·x)
ln y = ln a + b·x
growth factor per unit of x = e^bWorked examples
Cell counts on days 0 to 7 gives y = 12.03·e^(0.4635x)
R² = 0.9999 for the exponential fit and 0.8355 for a straight line.
Privacy: how it works
- Everything is calculated by code running in your browser tab. Your data is not sent to Ulkaa or to any other server, and there is nothing to sign in to.
Tips
- A high R² does not prove a good model. Look at the residual plot as well.
- Prefer the lowest degree that fits. Adjusted R² drops when an extra term adds nothing.
- For the exponential model, R² is measured on the original y, so it can be compared fairly with the line.
- If the points form a curve that rises and levels off, try the logarithmic model.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your data are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your data are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
When is exponential regression appropriate?
When y changes by a roughly constant percentage for each step in x, such as compound interest, population growth or radioactive decay.
Why must y be positive?
The method takes the logarithm of y, which is not defined for zero or negative values.
How do I find the doubling time?
Divide ln 2, about 0.693, by b. It is the number of x steps for y to double when b is positive.
More Linear Regression Calculator pages
- Linear Regression CalculatorPaste x, y data to fit a least squares line and compare it with polynomial, exponential and logarithmic models.
- Least Squares Regression Line CalculatorPaste x, y data to get the line y = b + mx that minimises the squared errors.
- Line of Best Fit CalculatorPaste your points to see the best fit line on a scatter plot, with its equation and predictions.
- Polynomial Regression CalculatorPaste x, y data to fit a quadratic, cubic or higher degree curve, up to degree 6.