Fit y equals a x raised to b. Review errors, correlation, and prediction tables instantly. Export results, inspect plots, and validate trends confidently today.
Provide one pair per line using comma, space, tab, semicolon, or vertical bar. Only positive x and y values work because the model uses logarithms.
This sample follows a power-shaped pattern and works well for testing the tool.
| Observation | x | y |
|---|---|---|
| 1 | 1.0 | 2.5 |
| 2 | 2.0 | 6.4 |
| 3 | 3.0 | 11.0 |
| 4 | 4.0 | 16.2 |
| 5 | 5.0 | 22.0 |
| 6 | 6.0 | 28.3 |
Power model: y = a × xb
Linearized form: ln(y) = ln(a) + b ln(x)
Exponent: b = [nΣ(lnx·lny) − Σlnx·Σlny] / [nΣ(lnx)2 − (Σlnx)2]
Coefficient: a = e(Σlny − bΣlnx)/n
Predicted value: ŷ = a × xb
Residual: e = y − ŷ
RMSE: √[Σ(y − ŷ)2 / n]
MAPE: [Σ|y − ŷ| / y ÷ n] × 100
It fits a power law model, y = a × xb, to positive data. The tool estimates the coefficient, exponent, predictions, residuals, and fit statistics, then plots the observed points beside the fitted curve.
The regression transforms both variables with natural logarithms. Logarithms are undefined for zero and negative values, so every pair must remain strictly positive before the model can be estimated.
The exponent measures scaling strength. If b = 1, the relationship is proportional. If b > 1, y rises faster than x. If 0 < b < 1, growth slows as x increases.
The coefficient sets the curve scale. In this model, it equals the predicted y value when x = 1. Larger values shift the fitted curve upward across the full data range.
The page reports one R² on the original y scale and another on the transformed log scale. The log version reflects the fitted linearized model, while the original version compares actual and predicted values directly.
Avoid it when the pattern changes direction, includes zeros, includes negatives, or follows an additive trend. The model also performs poorly when one exponent cannot describe the full range.
Yes, but be careful. Extrapolation assumes the same scaling rule continues outside your data. That assumption may fail quickly, especially in physical, biological, financial, or social datasets.
MAPE is mean absolute percentage error. It shows the average prediction error relative to actual values, expressed as a percentage, which makes different scales easier to compare.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.