Calcupedia

Embed

Embed the Least Squares Regression Calculator

Three quick steps — customize the look, choose how it behaves, then copy the code onto your site.

Your reference only — not shown to visitors

Shown to visitors above the calculator, in every display mode. Leave blank for none.

Optional supporting text shown just below the heading.

Colors the calculator's own section bars and highlights — the whole calculator's look, not just the results panel.

#FF5C00
#FFFFFF
#0A0C0B
12px

Remove "Powered by Calcupedia"

Available on Creator plan
#FF5C00
#FFFFFF

Already have an account? Sign in

Live preview

-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000

Slope

0.6000

The slope of the best-fit line through the 5 points.

Intercept

2.2000

The y-intercept of the best-fit line, where it crosses x=0.

Share result
Reload calculator
Clear inputs

Found this calculator useful?