Linear Regression
Calculate Linear Regression instantly with the exact formula and a worked example.
Linear Regression
Points to use
x₁
y₁
x₂
y₂
x₃
y₃
x₄
y₄
x₅
y₅
x₆
y₆
Slope b
2.0057
Intercept a
0.0133
Equation
y = 2.0057x + 0.0133
R²
0.999
Correlation r
0.9995
More about: Linear Regression
What it calculates
The “Linear Regression” calculator computes Slope b from 13 parameters: points to use, x₁, y₁, x₂, y₂, x₃, y₃, x₄, y₄, x₅, y₅, x₆, y₆.
A core calculation for studying, engineering tasks, and checking solutions.
Example calculation
With parameters Points to use = 6, x₁ = 1, y₁ = 2, x₂ = 2, y₂ = 4.1, x₃ = 3, y₃ = 5.9, x₄ = 4, y₄ = 8.2, x₅ = 5, y₅ = 9.9, x₆ = 6, y₆ = 12.1 the result is 2.01.
How to use
- Enter points to use, x₁, y₁, x₂, y₂, x₃, y₃, x₄, y₄, x₅, y₅, x₆ and y₆ — each field above is adjustable with a slider.
- Slope b is calculated automatically as you type.
- Check the worked example below to see the formula applied to real numbers.
- Copy the result or bookmark this calculator.
Related calculators
FAQ
How is Linear Regression calculated?
The Linear Regression calculator computes Slope b from points to use, x₁, y₁, x₂, y₂, x₃, y₃, x₄, y₄, x₅, y₅, x₆, y₆. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Linear Regression calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.
More calculators in this category
Explore related free tools