Least Squares Regression Calculator
Result
Calculated result
1
Based on the values entered.
↗ Math
Least Squares Regression Calculator — free online calculator.
Formula
(n*sumxy-sumx*sumy)/(n*sumx2-sumx^2)
- Least Squares Regression Calculator calculates its result from n, Σxy, Σx, Σy, Σx². It uses the formula (n*sumxy-sumx*sumy)/(n*sumx2-sumx^2). Change any input to recalculate the result instantly.
- The main inputs are n, Σxy, Σx, Σy, Σx². Enter them in the units and format shown in the calculator.
- Keep comparable quantities in compatible units whenever the formula combines or compares them.
- Changing any input above recalculates the result with the same calculation engine used by this page.
Example: Least Squares Regression
Inputs
- n: 5
- Σxy: 100
- Σx: 15
- Σy: 30
- Σx²: 55
Using n = 5, Σxy = 100, Σx = 15, Σy = 30, Σx² = 55, the calculated result is 1.
Sample result: Calculating…
Frequently asked questions
What does the Least Squares Regression calculate?
Least Squares Regression Calculator — free online calculator.
Which values should I enter?
Enter n, Σxy, Σx, Σy, Σx² using the units and format shown beside each field.
What formula does this calculator use?
The calculator uses the following relationship: (n*sumxy-sumx*sumy)/(n*sumx2-sumx^2).
Why might my result differ from another source?
Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.
Does the result update automatically?
Yes. Changing an input updates the result using the same calculation engine shown on this page.