Enter data for the fit
Separate values with commas, spaces, semicolons, or new lines. Keep x and y values in matching order.
Example data table
These values follow an approximate upward exponential pattern. Enter them to test the calculator and compare the fitted equation.
| x | Observed y | Natural log of y | Purpose |
|---|---|---|---|
| 0 | 3.00 | 1.099 | Starting observation |
| 1 | 4.41 | 1.484 | Early growth |
| 2 | 6.49 | 1.870 | Middle observation |
| 3 | 9.55 | 2.257 | Later growth |
| 4 | 14.07 | 2.644 | Trend confirmation |
Formula used
The fitted model is y = AeBx. Here, A is the estimated value when x equals zero. B controls the growth or decay rate for each one-unit change in x.
The calculator transforms the relationship into a straight line: ln(y) = ln(A) + Bx. It then finds the weighted least-squares line for x and ln(y). Finally, it converts the intercept back using A = eintercept.
Growth per x unit is calculated with (eB − 1) × 100%. A positive B indicates growth. A negative B indicates decay. The displayed residual equals observed y minus fitted y.
How to use this calculator
- Enter all x values in their original measurement order.
- Enter the matching positive y values in the next field.
- Add optional weights when certain measurements deserve greater influence.
- Enter a forecast x value to estimate one future fitted result.
- Choose precision, then select Fit Exponential Curve.
- Review the equation, fit statistics, residual table, and exports.
Reading exponential data responsibly
Exponential fitting helps when changes compound. Populations may grow this way. Radioactive material may decay this way. Investment balances and bacterial cultures can also follow this shape during limited periods. The fitted equation summarizes the pattern with two parameters. This makes comparison easier.
Start by checking the data. The y values must be positive because logarithms are used during fitting. Keep the x values in one consistent unit. Use days, weeks, meters, or another clear scale. Changing the x unit changes the numerical value of B. The model itself remains equivalent when units are converted correctly.
The amplitude A estimates y when x equals zero. It is sometimes a real starting value. It can also be an extrapolated value outside the observed range. Treat it carefully when your first x value is far from zero. The exponent B is usually the more useful rate measure. Positive B means repeated increase. Negative B means repeated decrease.
R squared compares fitted and observed variation on the original y scale. Values closer to one can indicate a closer fit. However, a high value does not prove the process is exponential. Review the residuals too. A random mixture of positive and negative residuals supports a reasonable fit. A clear pattern may show that another model is better.
RMSE gives a typical fitting error in y units. MAE gives the average absolute error. Both are easier to interpret when compared with the typical size of y. Log-scale R squared is also shown because the regression occurs after transformation. It describes how closely the log values follow a line.
Optional weights are useful when some measurements are more reliable. Higher weights give those points more influence. Use weights only when you have a defensible reason. Arbitrary weighting can hide useful variation. Equal weights are suitable for many simple datasets.
Forecasts work best near the observed x range. Exponential curves can become very large or very small quickly. A small error in B can create a large distant forecast error. Use the parameter intervals as a broad uncertainty check, not a guarantee. Gather more independent data before making important decisions.
Export the results when you need a record. The CSV file includes summary metrics and every fitted point. The PDF file creates a readable calculation snapshot. Keep the source values with your report. That makes the fitted equation easier to review, repeat, and explain.
Before accepting the curve, graph the observed points and fitted values. A chart makes changes easier to see. Look for sudden jumps, flat sections, or measurement limits. These features can signal a changing process. When the pattern bends toward a ceiling, a logistic model may be more realistic. When the rate shifts after a known event, fit separate periods. Good model choice combines mathematics, domain knowledge, and honest uncertainty. Document assumptions, data sources, and exclusions so another reader can independently reproduce your analysis.
Frequently asked questions
1. What type of curve does this calculator fit?
It fits y = AeBx. This form models repeated percentage growth or decay. The calculator estimates both A and B from matched positive observations.
2. Why must every y value be positive?
The fitting process uses ln(y). Zero and negative values do not have real natural logarithms. Consider a shifted or different model when your measurements include them.
3. How many observations should I enter?
Two points can define a curve, but three or more points are better. More independent points reveal whether the exponential pattern is actually consistent.
4. What does a positive exponent mean?
A positive B indicates exponential growth. Each one-unit increase in x multiplies y by eB. The growth percentage card translates that multiplier into a familiar rate.
5. What does a negative exponent mean?
A negative B indicates exponential decay. Each one-unit increase in x multiplies y by a value below one. The calculator reports halving time when appropriate.
6. What are weights used for?
Weights let more reliable or more important observations affect the fit more strongly. Leave the field blank when all measurements deserve equal influence.
7. Is R squared enough to judge the model?
No. Check residuals, RMSE, MAE, the data range, and scientific context. A strong numerical fit may still be unsuitable for distant forecasting.
8. What does residual mean here?
Residual equals observed y minus fitted y. Positive residuals sit above the curve. Negative residuals sit below it. Their pattern can reveal model weakness.
9. Can I forecast beyond the entered data?
Yes, but use caution. Exponential extrapolation grows uncertain quickly. Forecast close to observed x values whenever possible and collect more measurements before high-stakes decisions.
10. Does changing x units change the result?
The curve describes the same relationship, but B changes numerically. For example, a daily exponent differs from a weekly exponent. Use consistent units throughout.
11. What do the download buttons save?
CSV saves summary metrics and fitted rows for spreadsheets. PDF saves a concise report with the equation, metrics, and residual table for sharing.