Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Linearized Equation Calculator

Linearized equation calculator works out Fitted equation and Slope (b) from X values (predictor), Y values (response) and Model. The default figures on this page give fitted equation of y = 2.197121 e^(0.183258x); change any entry and the result, the working and the sources update together.

Fitted equation
y = 2.197121 e^(0.183258x)
Linear Regression Calculator
Slope (b)
0.183258
Intercept (a)
2.197121
Number of observations
5
Correlation r
0.769035
R squared
0.591415
Adjusted R squared
0.45522
Standard error of the estimate
0.278098
Standard error of the slope
0.087942
Standard error of the intercept
0.291672
t statistic for the slope
2.083844
p value for the slope
0.12853
Lower confidence limit for the slope
-0.096614
Upper confidence limit for the slope
0.46313
F statistic for the model
4.342407
p value for the model
0.12853
Residual degrees of freedom
3
Total sum of squares (SST)
0.567851
Regression sum of squares (SSR)
0.335835
Residual sum of squares (SSE)
0.232016
Sxx
10
Syy
6
Sxy
6
Mean of X
3
Mean of Y
4
Predicted y
6.59754
Worked out from NIST/SEMATECH e-Handbook of Statistical Methods, 4.1 Introduction to Process Modeling and 1.3.5.11 Linear Regression and 3 other sources.
A linearised fit minimises the squared error on the transformed scale, so it is not identical to a nonlinear least-squares fit of the original curve.
x = 6 lies outside the fitted range [1, 5], so the prediction extrapolates beyond the data.

Your figures

Updates as you type
For multiple regression enter the rows one after another: x1, x2 for observation 1, then x1, x2 for observation 2, and so on.
For multiple regression, list one value per predictor in "Predictor values to predict at".

How this is worked out

7 steps
  1. n = 5 observations.
  2. Taking logs turns y = a e^(bx) into ln y = ln a + b x, a straight line fitted by ordinary least squares.
  3. Fitted parameters: a = 2.19712109, b = 0.18325815.
  4. Fitted model: y = 2.197121 e^(0.183258x)
  5. SST = 0.56785112 splits into SSR = 0.33583548 explained and SSE = 0.23201564 unexplained, so R^2 = 0.59141467.
  6. Standard error of the estimate s = sqrt(SSE / 3) = 0.27809809.
  7. Prediction at 6: 6.59753955.
All coefficientstable
2.197121, 0.183258
Fitted valuestable
2.639016, 3.169786, 3.807308, 4.573051, 5.492803
Residualstable
-0.639016, 0.830214, 1.192692, -0.573051, -0.492803
Scatter points with the fittable
xyfittedresidual
122.639016-0.639016
243.1697860.830214
353.8073081.192692
444.573051-0.573051
555.492803-0.492803

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
NIST/SEMATECH e-Handbook of Statistical Methods, 4.1 Introduction to Process Modeling and 1.3.5.11 Linear Regression
2012 · Normal equations, ANOVA decomposition and the standard errors of the estimates.
Draper, N.R. & Smith, H. (1998), Applied Regression Analysis, 3rd edition, Wiley
Weighted least squares and the inference used here.
McCullagh, P. & Nelder, J.A. (1989), Generalized Linear Models, 2nd edition, Chapman & Hall
Iteratively reweighted least squares for the logit link.
Kay, S.M. (1993), Fundamentals of Statistical Signal Processing: Estimation Theory, Prentice Hall, chapter 12
The linear minimum mean-square-error estimator and its error variance sigma_y^2 (1 - rho^2).

What the linearized equation calculator calculates

Fits a least-squares model to paired data and reports the equation, slope, intercept, correlation, R squared, adjusted R squared, standard errors, t and F tests, the ANOVA sums of squares, residuals and a prediction at any chosen x. Handles simple, multiple, weighted, exponential, power, logarithmic and binary logistic fits.

How to use this linearized equation calculator

Enter X values (predictor), Y values (response), Model and Predict y at x =. Fitted equation updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Fitted equation, Slope (b) and Intercept (a).

The method follows NIST/SEMATECH e-Handbook of Statistical Methods, 4.1 Introduction to Process Modeling and 1.3.5.11 Linear Regression, Draper, N.R. & Smith, H. (1998), Applied Regression Analysis, 3rd edition, Wiley, McCullagh, P. & Nelder, J.A. (1989), Generalized Linear Models, 2nd edition, Chapman & Hall and Kay, S.M. (1993), Fundamentals of Statistical Signal Processing: Estimation Theory, Prentice Hall, chapter 12.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

What information do I need for the linearized equation calculator?

You need X values (predictor), Y values (response), Model, Predict y at x = and Confidence level. The page opens with default figures that give fitted equation of y = 2.197121 e^(0.183258x), so you can see the scale before entering your own.

What does this linearized equation calculator show?

It shows Fitted equation, Slope (b), Intercept (a), All coefficients, Number of observations, Correlation r, R squared and Adjusted R squared, with the working and any warnings for your entries.

Can I check how the linearized equation calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators5 more