Linear Regression Calculator

Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.

Let’s run the numbers

USD

Enter your values, then calculate.

Use a decimal point; separate list values with commas.

THE NUMBERS, MADE CLEARInstant calculation
=

Your answer starts here

Check your inputs and select Calculate.

Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.

Worked example

Inputs

Results

Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.

Use your own numbers →

Reviewed:

Common uses

Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.

BEHIND THE NUMBERS

Formula & assumptions

b=Σ(xᵢ−x̄)(yᵢ−ȳ)/Σ(xᵢ−x̄)²; a=ȳ−bx̄

Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.